Difference between revisions of "Template:Documentation"
From WikiTemp, the GBAtemp wiki
m |
m |
||
Line 1: | Line 1: | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
{|style="background:#ECFCF4;width:100%;border:1px gray solid;" | {|style="background:#ECFCF4;width:100%;border:1px gray solid;" | ||
− | !style="font-size:20px;background:#DBEBE3;height:40px;"| Template Documentation <span class="plainlinks">({{#ifexist:{{FULLPAGENAMEE}}/doc|[http://wiki.gbatemp.net/w/index.php?title={{FULLPAGENAMEE}}/doc&action=edit edit]|[http://wiki.gbatemp.net/w/index.php?title={{FULLPAGENAMEE}}/doc&action=edit&preload=Template:NewDoc create]}})</span> | + | !style="font-size:20px;background:#DBEBE3;height:40px;"| 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 create]}})</span> |
|- | |- | ||
− | |<br />{{#ifexist:{{FULLPAGENAMEE}}/doc|{{:{{FULLPAGENAMEE}}/doc}}| '''No documentation available.'''}} | + | |<br />{{#ifexist:{{{1|{{FULLPAGENAMEE}}/doc}}}|{{:{{{1|{{FULLPAGENAMEE}}/doc}}}}}| '''No documentation available.'''}} |
<br /> | <br /> | ||
|- | |- | ||
− | |style="background:#DBEBE3;border:2px solid #DBEBE3"|<span style="float:right">{{#ifexist:{{FULLPAGENAMEE}}/doc|The above documentation page was [[Help:Transclusion and Substitution#Transclusion|Transcluded]] from the [[{{FULLPAGENAME}}/doc|/doc subpage]]|Click create above to add documentation for this template.}}</span> | + | |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 the [[{{FULLPAGENAME}}/doc|/doc subpage]]|Click create above to add documentation for this template.}}</span> |
|} | |} | ||
<noinclude>[[Category:Documentation Templates|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Documentation Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 14:23, 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 |