Difference between revisions of "Template:Documentation"

From D&D 5e
Jump to: navigation, search
m (fix)
m (rv (doesn't work on non-empty))
Line 35: Line 35:
 
     |{{ns:user}}=
 
     |{{ns:user}}=
 
       {{#ifexist: {{FULLPAGENAME}}/sandbox
 
       {{#ifexist: {{FULLPAGENAME}}/sandbox
       |This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit], [{{fullurl:{{ #rel2abs: /sandbox }}|action=edit&preload={{FULLPAGENAMEE}}}} reset to current])</small> <!--
+
       |This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> <!--
 
         -->{{#ifexist: {{FULLPAGENAME}}/testcases
 
         -->{{#ifexist: {{FULLPAGENAME}}/testcases
 
         |and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small>}} for editors to experiment.
 
         |and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small>}} for editors to experiment.

Revision as of 16:26, 12 September 2008

{{#ifeq:μ|
 |
|
{{#ifeq:μ|μ
  |{{#ifexist: Template:Documentation/docname
   |[[{{fullurl:Template:Documentation/docname|action=edit}} edit]]
   |[[{{fullurl:Template:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]]
  }}
}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|50px Template documentation|Documentation}}}}
}}

{{#if:|{{{content}}}|{{#ifexist:Template:Documentation/docname | {{ Template:Documentation/docname }} }}}}

Template:Pp-template