Difference between revisions of "Template:Documentation"
From Shadow of the Throne Wiki
(if there isn't any, nobody cares. stop spamming "NO sandbox and NO testcases" on every template page when both of these things are pointless) |
m |
||
Line 42: | Line 42: | ||
|<!-- /sandbox -->This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> {{ | |<!-- /sandbox -->This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> {{ | ||
#ifexist: {{ #rel2abs: /testcases }} | #ifexist: {{ #rel2abs: /testcases }} | ||
− | |<!-- /sandbox AND /testcases -->and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment. | + | |<!-- /sandbox AND /testcases -->and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment. |
|<!-- /sandbox AND no /testcases --> for editors to experiment.}} | |<!-- /sandbox AND no /testcases --> for editors to experiment.}} | ||
|<!-- no /sandbox -->{{ | |<!-- no /sandbox -->{{ | ||
#ifexist: {{ #rel2abs: /testcases }} | #ifexist: {{ #rel2abs: /testcases }} | ||
− | |<!-- no /sandbox AND /testcases -->This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment. | + | |<!-- no /sandbox AND /testcases -->This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment. |
|<!-- no /sandbox AND no /testcases -->}} | |<!-- no /sandbox AND no /testcases -->}} | ||
}} | }} |
Revision as of 04:51, 23 November 2007
{{ #ifeq: Documentation | sandbox
| Template:Template sandbox notice | Template:Pp-semi-template
}} Template:Intricate {{
#ifeq: Template:Documentation | Template:Documentation |
}}
{{
#if: Documentation|
{{
#ifexist: Template:Documentation/docname |[[{{fullurl:Template:Documentation/docname}} view]] [[{{fullurl:Template:Documentation/docname|action=edit}} edit]] |{{ #if: | |[[{{fullurl:Template:Documentation/docname|action=edit&preload=Template:Documentation/preload}} edit]] }}}} Documentation
|}}
{{
#ifeq: show | show |{{ #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/show |Template/show|User/show=This template has {{ #ifexist: {{ #rel2abs: /sandbox }} |This template has a sandbox ([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit]) {{ #ifexist: {{ #rel2abs: /testcases }} |and testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment. | for editors to experiment.}} |{{ #ifexist: {{ #rel2abs: /testcases }} |This template has testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment. |}} }} | }}}}
{{ {{ #ifexist: Template:Documentation/docname | Template:Documentation/docname | ns:0 }} }}