Difference between revisions of "Template:Documentation"
From Shadow of the Throne Wiki
(hive off links to /sandbox and /testcases to subtemplate, so that same code can be used in Template:Category interwiki) |
(Adding automatic adding of {{template sandbox notice}} when on a /sandbox page. See talkpage section "Request".) |
||
Line 1: | Line 1: | ||
− | <!--Automatically add {{pp-template}} to protected templates. | + | <!-- |
+ | Automatically add {{template sandbox notice}} when on a /sandbox page. | ||
+ | -->{{#ifeq: {{SUBPAGENAME}} | sandbox | ||
+ | | <div style="clear: both;"></div>{{template sandbox notice}} | ||
+ | }}<!-- | ||
+ | Automatically add {{pp-template}} to protected templates. | ||
-->{{template other | -->{{template other | ||
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop | | {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop |
Revision as of 14:10, 19 January 2010
{{#ifeq: Documentation | sandbox
| Template:Template sandbox notice }}Template:Template other{{#ifeq:μ|
||
{{#ifeq:μ|μ
}} |{{#ifexist: Template:Documentation/docname
|[[{{fullurl:Template:Documentation/docname|action=edit}} edit]] [ ]
|[[{{fullurl:Template:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]]
}}
}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|50px Template documentation|Documentation}}}}{{#ifexist: Template:Documentation/docname
|This documentation is transcluded from [[Template:Documentation/docname]]. ([{{fullurl:Template:Documentation/docname|action=edit}} edit] | [{{fullurl:Template:Documentation/docname|action=history}} history])
}}Template:Documentation/links
{{#if:|{{{content}}}|{{#ifexist:Template:Documentation/docname | {{ Template:Documentation/docname }} }}}}