Difference between revisions of "Template:Documentation"
From Shadow of the Throne Wiki
(Undid revision 171406304 by Malyctenar (talk) have reasons for all; will put on talk or doc within 48 hours; thank you) |
(copy from sandbox; hide "...trancluded from /doc." message view link) |
||
| Line 28: | Line 28: | ||
|<!-- transcluded show -->{{ | |<!-- transcluded show -->{{ | ||
#ifexist: {{{1|{{Documentation/docname}}}}} | #ifexist: {{{1|{{Documentation/docname}}}}} | ||
| − | |<!-- /doc exists -->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{1|{{Documentation/docname}}}}}]]. <small style="font-style: normal">([[{{{1|{{Documentation/docname}}}}}|view]] | [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit] | [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history])</small><br /> | + | |<!-- /doc exists -->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{1|{{Documentation/docname}}}}}]]. <small style="font-style: normal">(<!--[[{{{1|{{Documentation/docname}}}}}|view]] | -->[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit] | [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history])</small><br /> |
|<!-- no /doc --> | |<!-- no /doc --> | ||
}} | }} | ||
Revision as of 11:45, 14 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 }}
|a sandbox ([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit]) {{
#ifexist: {{ #rel2abs: /testcases }}
|and testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])
|but no [{{fullurl:{{ #rel2abs: /testcases }}|action=edit&preload=Template:Documentation/preload/testcases}} testcases]
}}
|no [{{fullurl:{{ #rel2abs: /sandbox }}|action=edit&preload=Template:Documentation/preload/sandbox}} sandbox] {{
#ifexist: {{ #rel2abs: /testcases }}
|but has testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])
|and no [{{fullurl:{{ #rel2abs: /testcases }}|action=edit&preload=Template:Documentation/preload/testcases}} testcases]
}}
}} for editors to experiment.
|
}}
}}{{ {{ #ifexist: Template:Documentation/docname | Template:Documentation/docname | ns:0 }} }}