Template:Documentation: Difference between revisions
⧼vector-jumptonavigation⧽
⧼vector-jumptosearch⧽
No edit summary |
mNo edit summary |
||
| Line 3: | Line 3: | ||
!style="font-size:20px;background:#DBEBE3;height:40px;padding-left:5px;"|Template Documentation <span class="plainlinks">({{#ifexist:{{{1|{{FULLPAGENAMEE}}/doc}}}|[http://wiki.gbatemp.net/w/index.php?title={{{1|{{FULLPAGENAMEE}}/doc}}}&action=edit Edit]|[http://wiki.gbatemp.net/w/index.php?title={{FULLPAGENAMEE}}/doc&action=edit&preload=Template:NewDoc&summary=Added%20Documentation Add]}})</span> | !style="font-size:20px;background:#DBEBE3;height:40px;padding-left:5px;"|Template Documentation <span class="plainlinks">({{#ifexist:{{{1|{{FULLPAGENAMEE}}/doc}}}|[http://wiki.gbatemp.net/w/index.php?title={{{1|{{FULLPAGENAMEE}}/doc}}}&action=edit Edit]|[http://wiki.gbatemp.net/w/index.php?title={{FULLPAGENAMEE}}/doc&action=edit&preload=Template:NewDoc&summary=Added%20Documentation Add]}})</span> | ||
|- | |- | ||
|style="padding-left:5px;"|<br />{{#ifexist:{{{1|{{FULLPAGENAMEE}}/doc}}}|{{:{{{1|{{FULLPAGENAMEE}}/doc}}}}}| '''No documentation available.<br />[http://wiki.gbatemp.net/w/index.php?title={{FULLPAGENAMEE}}/doc&action=edit&preload=Template:NewDoc Add new documentation].'''}} | |style="padding-left:5px;"|<br />{{#ifexist:{{{1|{{FULLPAGENAMEE}}/doc}}}|{{:{{{1|{{FULLPAGENAMEE}}/doc}}}}}| '''No documentation available.<br /><span class="plainlinks">[http://wiki.gbatemp.net/w/index.php?title={{FULLPAGENAMEE}}/doc&action=edit&preload=Template:NewDoc Add new documentation]</span>.'''}} | ||
<br /> | <br /> | ||
|- | |- | ||
|style="background:#DBEBE3;border:2px solid #DBEBE3"|<span style="float:right">{{#ifexist:{{{1|{{FULLPAGENAMEE}}/doc}}}|The above documentation page was [[Help:Transclusion and Substitution#Transclusion|Transcluded]] from {{#ifeq:{{{1|{{FULLPAGENAMEE}}/doc}}}|{{FULLPAGENAMEE}}/doc|the [[{{FULLPAGENAME}}/doc|/doc subpage]]|[[{{{1}}}]]}}|This Template | |style="background:#DBEBE3;border:2px solid #DBEBE3"|<span style="float:right">{{#ifexist:{{{1|{{FULLPAGENAMEE}}/doc}}}|The above documentation page was [[Help:Transclusion and Substitution#Transclusion|Transcluded]] from {{#ifeq:{{{1|{{FULLPAGENAMEE}}/doc}}}|{{FULLPAGENAMEE}}/doc|the [[{{FULLPAGENAME}}/doc|/doc subpage]]|[[{{{1}}}]]}}|This Template documentation will automatically appear in this box after the documentation page was created.}}</span> | ||
|} | |} | ||
<noinclude>[[Category:Documentation Templates|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Documentation Templates|{{PAGENAME}}]]</noinclude> | ||
Revision as of 19:58, 5 December 2010
| Template Documentation (Edit) |
|---|
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 page was Transcluded from the /doc subpage |