Difference between revisions of "Template:Documentation"
From WikiTemp, the GBAtemp wiki
Line 7: | Line 7: | ||
<br /> | <br /> | ||
|- | |- | ||
− | |style="background:#DBEBE3;border:2px solid #DBEBE3"|<span style="float:right">{{#ifexist:{{{1|{{FULLPAGENAME}}/doc}}}|The above documentation was [[Help:Transclusion and Substitution#Transclusion|Transcluded]] from {{#ifeq:{{{1|{{FULLPAGENAME}}/doc}}}|{{FULLPAGENAME}}/doc|the [[{{FULLPAGENAME}}/doc|/doc subpage]]|[[{{{1}}}]]}}|The {{NAMESPACE}} documentation will automatically appear in this box after the documentation page | + | |style="background:#DBEBE3;border:2px solid #DBEBE3"|<span style="float:right">{{#ifexist:{{{1|{{FULLPAGENAME}}/doc}}}|The above documentation was [[Help:Transclusion and Substitution#Transclusion|Transcluded]] from {{#ifeq:{{{1|{{FULLPAGENAME}}/doc}}}|{{FULLPAGENAME}}/doc|the [[{{FULLPAGENAME}}/doc|/doc subpage]]|[[{{{1}}}]]}}|The {{NAMESPACE}} documentation will automatically appear in this box after the documentation page is created.}}</span> |
|}__NOEDITSECTION__ | |}__NOEDITSECTION__ | ||
<noinclude>[[Category:Documentation Templates|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Documentation Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 13:27, 7 February 2015
↑ Template Documentation ↓ [Edit • Reload] |
---|
This template has to be placed on all template pages, in between <noinclude></noinclude> tags. eg:
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:
This can also be used to put the doc on a different page. Parameters
|
The above documentation was Transcluded from the /doc subpage |