Difference between revisions of "Template:Documentation"
From D&D 5e
(Adding automatic adding of {{pp-template}} to protected templates. See talk page.) |
m (remove extra line break) |
||
Line 1: | Line 1: | ||
− | <!--Automatically add {{pp-template}} to protected templates--> | + | <!--Automatically add {{pp-template}} to protected templates-->{{template other |
− | {{template other | ||
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop | | {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop | ||
| {{pp-template}} | | {{pp-template}} |
Revision as of 00:04, 3 January 2010
Template:Template other{{#ifeq:μ|
||
{{#ifeq:μ|μ
}} |{{#ifexist: Template:Documentation/docname
|[[{{fullurl:Template:Documentation/docname|action=edit}} edit]] [[[:Template:Purge]]]
|[[{{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])
}}{{#switch: Documentation |sandbox|testcases= |#default= {{#switch: Template |Template |User= {{#ifexist: Template:Documentation/sandbox |This template has a sandbox ([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit]) {{#ifexist: Template:Documentation/testcases |and testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])}} for editors to experiment. |{{#ifexist: Template:Documentation/testcases |This template has testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.}} }}}}}}
{{#if:|{{{content}}}|{{#ifexist:Template:Documentation/docname | {{ Template:Documentation/docname }} }}}}