From WikiTemp, the GBAtemp wiki
(Documentation about the documentation template :P)
 
m
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Usage==
+
<noinclude>{{Docpage}}</noinclude>
This template has to be placed on all template pages, in between <nowiki><noinclude></noinclude></nowiki> tags.<br/>
+
 
eg: <nowiki><noinclude>{{documentation}}</noinclude></nowiki>
+
This template has to be placed on all template pages, in between &lt;noinclude>&lt;/noinclude> tags.<br/>
 +
eg:
 +
:<pre>&lt;noinclude>{{documentation}}&lt;/noinclude></pre>
 +
 
 +
For troublesome pages (pages where the doc exists, but it doesn't show '''after Purging the page'''), add an extra parameter with the correct doc page:
 +
:<pre>&lt;noinclude>{{documentation|Template:Whatever/doc}}&lt;/noinclude></pre>
 +
This can also be used to put the doc on a different page.
  
 
==Parameters==
 
==Parameters==
None
+
:1: Alternate Documentation page (if the documentation is not on /doc)

Latest revision as of 19:54, 27 December 2010

This is the documentation page of Template:Documentation. Please add the documentation for this Template below.

This template has to be placed on all template pages, in between <noinclude></noinclude> tags.
eg:

<noinclude>{{documentation}}</noinclude>

For troublesome pages (pages where the doc exists, but it doesn't show after Purging the page), add an extra parameter with the correct doc page:

<noinclude>{{documentation|Template:Whatever/doc}}</noinclude>

This can also be used to put the doc on a different page.

Parameters

1: Alternate Documentation page (if the documentation is not on /doc)