Template:Documentation/doc: Difference between revisions

From WikiTemp, the GBAtemp wiki
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<noinclude>{{Docpage}}</noinclude>
<noinclude>{{Docpage}}</noinclude>


This template has to be placed on all template pages, in between <noin<b></b>clude></noin<b></b>clude> tags.<br/>
This template has to be placed on all template pages, in between &lt;noinclude>&lt;/noinclude> tags.<br/>
eg:
eg:
:<pre>&lt;noinclude>{{documentation}}&lt;/noinclude></pre>
:<pre>&lt;noinclude>{{documentation}}&lt;/noinclude></pre>


For troublesome pages (pages where the doc exists, but it doesn't show), add an extra parameter with the correct doc page.
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>
:<pre>&lt;noinclude>{{documentation|Template:Whatever/doc}}&lt;/noinclude></pre>
This can also be used to put the doc on a different page.
This can also be used to put the doc on a different page.

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)