Documentation:User Templates

From FSDeveloper Wiki
Revision as of 09:21, 13 January 2008 by BASys (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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 replicated across multiple pages.

These are standalone, uncategorised, pages, containing just the core text.

Editing a transclusion page will cause text on every calling page to display the applied changes.

NB The comment section should be left in place in the transclusion page.
This allows users to easily copy & paste the wikicode directly into their required content page.

-- :Category:Missions -- Transclusion templates for use in the Missions category.

--- Oneline --- Oneline, a single-line explanation of the topic.

--- Useage ---- Used in the following page types or sections -

  • Function Reference (Listing)
  • FunctionType (Detail)
  • FunctionName (Detail)
  • Related Internal

Code ----

<pre> <!-- Paste the following line to required location - {{:Transclusion-Missions-Oneline-TopicPageName}} --> '''[[TopicPageName]]''' oneline, a single-line explanation of the topic. Used in - </pre>


--- Overview --- Overview, a multi-line explanation of the topic. Includes a 'More about TopicPageName...' link to the full-detail page.

Intended for placement in section above the 'Contents' box. Should also be preceeded by the 'Oneline' transclusion.

--- Useage ---- Used in the following page types or sections -

  • FunctionType (Detail)
  • FunctionName (Detail)

Code ----

<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>

--- 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 ----

<pre> <!-- Paste the following line to required location - {{:Transclusion-Missions-Related-TopicPageName}} --> '''[[TopicPageName]]''' related, a list of single-line explanations of the topic. </pre>