Documentation:User Templates: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
(New page: This page contains a list of templates available for use in wiki pages. -- Template Types -- --- Transclusion templates --- Allow use of single-source 'boilerplate text' to be replicate...)
 
mNo edit summary
 
(49 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page contains a list of templates available for use in wiki pages.
{{:Ambox-Wiki-Editors}}
{{:Ambox-Content-WIP}}
This page contains a list of templates available on this site for use in wiki pages.


Page requires expanding to include Page & Section framework templates.


-- Template Types --
== Page templates ==
Placeholder text for 'Page templates'.


--- Transclusion templates ---
== Section templates ==
Allow use of single-source 'boilerplate text' to be replicated across multiple pages.
Placeholder text for 'Section templates'.


These are standalone, uncategorised, pages, containing just the core text.
== Transclusion templates ==
Transclusion code is a special link which inserts the entire contents of a page into the calling page.


Editing a transclusion page will cause text on every calling page to display the applied changes.
See - [[Templates-Transclusion/doc]]


NB
== Ambox templates ==
The comment section should be left in place in the transclusion page.
Placeholder text for 'Ambox templates'.
<br>
This allows users to easily copy & paste the wikicode directly into their required content page.


-- :Category:Missions --
See - [[Templates-Ambox/doc]]
Transclusion templates for use in the Missions category.


--- Oneline ---
== Infobox templates ==
Oneline, a single-line explanation of the topic.  
Placeholder text for 'Ambox templates'.


--- Useage ----
See - [[Templates-Infobox/doc]]
Used in the following page types or sections -
* Function Reference (Listing)
* FunctionType (Detail)
* FunctionName (Detail)
* Related Internal


---- Code ----
== Navbox templates ==
<nowiki><pre>
Transclusion code is a special link which inserts the entire contents of a page into the calling page.
<!-- Paste the following line to required location -
{{:Transclusion-Missions-Oneline-TopicPageName}}
-->
'''[[TopicPageName]]''' oneline, a single-line explanation of the topic. Used in -
</pre></nowiki>


See - [[Templates-Navbox/doc]]


--- Overview ---
== Sandbox Testing ==
Overview, a multi-line explanation of the topic.
A sandbox area for wiki code testing.
Includes a 'More about TopicPageName...' link to the full-detail page.


Intended for placement in section above the 'Contents' box.
See - [[Wiki-Sandbox_Test_Area]]
Should also be preceeded by the 'Oneline' transclusion.


--- Useage ----
[[Category:Wiki-Documentation]]
Used in the following page types or sections -
* FunctionType (Detail)
* FunctionName (Detail)
 
---- Code ----
<nowiki><pre>
<!-- Paste the following line to required location -
{{:Transclusion-Missions-Overview-TopicPageName}}
-->
'''[[TopicPageName]]''' overview, a multi-line explanation of the topic.
 
More blurb here.
<div style="text-align:right;margin-right:10px;margin-bottom:4px;">'''[[TopicPageName|More about TopicPageName...]]'''</div>
</pre></nowiki>
 
--- Related ---
Pre-assembled lists of related page 'oneline' transclusions.
 
For replication across all related pages in a detail 'level'.
 
See examples at -
 
--- Useage ----
Used in the following page sections -
* Related Internal
 
---- Code ----
<nowiki><pre>
<!-- Paste the following line to required location -
{{:Transclusion-Missions-Related-TopicPageName}}
-->
'''[[TopicPageName]]''' related, a list of single-line explanations of the topic.
</pre></nowiki>

Latest revision as of 09:23, 6 February 2010

This page contains a list of templates available on this site for use in wiki pages.

Page requires expanding to include Page & Section framework templates.

Page templates

Placeholder text for 'Page templates'.

Section templates

Placeholder text for 'Section templates'.

Transclusion templates

Transclusion code is a special link which inserts the entire contents of a page into the calling page.

See - Templates-Transclusion/doc

Ambox templates

Placeholder text for 'Ambox templates'.

See - Templates-Ambox/doc

Infobox templates

Placeholder text for 'Ambox templates'.

See - Templates-Infobox/doc

Navbox templates

Transclusion code is a special link which inserts the entire contents of a page into the calling page.

See - Templates-Navbox/doc

Sandbox Testing

A sandbox area for wiki code testing.

See - Wiki-Sandbox_Test_Area