Template:Documentation: Difference between revisions
(Removing "link=" added by TheDJ. That image is not public domain, it is a GFDL image and thus requires attribution and thus have to be linked. Besides, this template is never used in articles.) |
(automatically add pp-template with sysop demolevel for editnotices) |
||
Line 1: | Line 1: | ||
<div class="template-documentation"><!-- | {{#ifeq:{{NAMESPACE}}|{{ns:template}}|{{#ifeq:{{ROOTPAGENAME}}|Editnotices| | ||
{{pp-template|demolevel=sysop}}}}}}<div class="template-documentation"><!-- | |||
These are the literal class definitions in common.css: | These are the literal class definitions in common.css: |
Revision as of 19:49, 6 November 2009
{{#ifeq:Template|Template|{{#ifeq:Documentation|Editnotices|
{{#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|File:Template-info.svg 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 }} }}}}