Template:Documentation
From D&D 5e
Revision as of 09:17, 14 March 2008 by Davidgothberg (talk) (Moved {{pp-semi-template|small=yes}} and {{intricate template}} to the doc subpage instead, since they are not part of the template code and it looks better too.)
{{
- ifeq: Documentation | sandbox
| Template:Template sandbox notice
}}
{{
#if: Documentation|
{{
#ifexist: Template:Documentation/docname |[[{{fullurl:Template:Documentation/docname|action=edit}} edit]] |{{ #if: | |[[{{fullurl:Template:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]] }}}} 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 ={{ #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. |{{ #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 }} }}