Difference between revisions of "Template:Documentation"

From D&D 5e
Jump to: navigation, search
m
m
Line 38: Line 38:
 
   |#default={{
 
   |#default={{
 
     #switch: {{SUBJECTSPACE}}/{{{sandbox-testcases|show}}}
 
     #switch: {{SUBJECTSPACE}}/{{{sandbox-testcases|show}}}
     |{{ns:template}}/show|{{ns:user}}/show=<!-- show /sandbox /testcases -->This template has {{
+
     |{{ns:template}}/show|{{ns:user}}/show=<!-- show /sandbox /testcases -->{{
 
       #ifexist: {{ #rel2abs: /sandbox }}
 
       #ifexist: {{ #rel2abs: /sandbox }}
 
       |<!-- /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> {{

Revision as of 20:53, 22 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
 |
}}

{{ {{ #ifexist: Template:Documentation/docname | Template:Documentation/docname | ns:0 }} }}