From Iron Chariots Wiki
Revision as of 04:04, 22 July 2008 by Dcljr (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
The documentation for this template is transcluded from Template:Doc/doc. Please edit that page if you want to change something in the documentation. Do not edit this page unless you know what you're doing.
Because it is desirable to keep template pages as short and simple as possible, the documentation for a high-use template (explaining what it's for and how to use it) may be kept on a "subpage" of the template page and "transcluded" into it with a short bit of wikicode (see examples below). This template is used to inform readers that the documentation they're looking at is not from the template page itself but from another page (whose title is formed by appending "/doc" onto the end of the template page title).
To prevent the template documentation from appearing on pages other than the template page itself, use <noinclude> tags, as shown below.
In the template located at Template:If, at the point where the documentation should appear:
In the template located at Template:If/doc, at the very top:
<noinclude>{{back to|Template:If}}</noinclude>
followed immediately by the text of the documentation.
Personal tools
wiki navigation