Difference between revisions of "Template:Documentation"
From WikiTemp, the GBAtemp wiki
Line 1: | Line 1: | ||
{|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;padding-left:5px;text-align:left;"|↑ {{NAMESPACE}} Documentation ↓ <span style="float:right;font-size:12px;">[{{#ifexist:{{{1|{{FULLPAGENAME}}/doc}}}|[{{fullurl:{{{1|{{FULLPAGENAME}}/doc}}}|action=edit}} <span title="Edit Documentation">Edit</span>]|[{{fullurl:{{{1|{{FULLPAGENAME}}/doc}}}|action=edit&preload=Template:NewDoc&summary=Added%20Documentation}} <span title="Add New Documentation"> | + | !style="font-size:20px;background:#DBEBE3;height:40px;padding-left:5px;text-align:left;"|↑ {{NAMESPACE}} Documentation ↓ <span style="float:right;font-size:12px;">[{{#ifexist:{{{1|{{FULLPAGENAME}}/doc}}}|[{{fullurl:{{{1|{{FULLPAGENAME}}/doc}}}|action=edit}} <span title="Edit Documentation">Edit</span>]|[{{fullurl:{{{1|{{FULLPAGENAME}}/doc}}}|action=edit&preload=Template:NewDoc&summary=Added%20Documentation}} <span title="Add New Documentation">Create</span>]}} • [{{fullurl:{{FULLPAGENAME}}|action=purge}} <span title="Purge Documentation">Reload</span>]]</span> |
|- | |- | ||
|style="padding-left:5px;"|<br />{{#ifexist:{{{1|{{FULLPAGENAMEE}}/doc}}}| | |style="padding-left:5px;"|<br />{{#ifexist:{{{1|{{FULLPAGENAMEE}}/doc}}}| |
Revision as of 13:24, 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 |