Template:Documentation/doc: Difference between revisions
⧼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 | This template has to be placed on all template pages, in between <noinclude></noinclude> tags.<br/> | ||
eg: | eg: | ||
:<pre><noinclude>{{documentation}}</noinclude></pre> | :<pre><noinclude>{{documentation}}</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><noinclude>{{documentation|Template:Whatever/doc}}</noinclude></pre> | :<pre><noinclude>{{documentation|Template:Whatever/doc}}</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)