Difference between revisions of "Template:Documentation"
From WikiTemp, the GBAtemp wiki
m |
m |
||
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 <span title="Edit Documentation">Edit</span>]|[http://wiki.gbatemp.net/w/index.php?title={{FULLPAGENAMEE}}/doc&action=edit&preload=Template:NewDoc&summary=Added%20Documentation <span title="Add New Documentation">Add</span>]}}) <span style="float:right;">[[http://wiki.gbatemp.net/w/index.php?title={{FULLPAGENAMEE}}&action=purge <span title="Purge Documentation">Purge</span>]]</span></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 <span title="Edit Documentation">Edit</span>]|[http://wiki.gbatemp.net/w/index.php?title={{FULLPAGENAMEE}}/doc&action=edit&preload=Template:NewDoc&summary=Added%20Documentation <span title="Add New Documentation">Add</span>]}}) <span style="float:right;">[[http://wiki.gbatemp.net/w/index.php?title={{FULLPAGENAMEE}}&action=purge <span title="Purge Documentation">Purge</span>]]</span></span> | ||
|- | |- | ||
− | |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 <span title="Add New Documentation">Add new documentation</span>]</span>.'''}} | + | |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 <span title="Add New Documentation">Add new documentation</span>]</span>.'''}} | ||
<br /> | <br /> | ||
|- | |- |
Revision as of 19:43, 5 December 2014
Template Documentation (Edit) [Purge] |
---|
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 |