Template:Documentation: Difference between revisions

From Danno's Rocket Wiki
(complete rewrite, removing most optional parameters (I've checked every transclusion: they're all unused) and incorporating code from Template:Documentation, template, which can now be redirected)
(fix)
Line 22: Line 22:
     |{{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])</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.
       |{{#ifexist: {{FULLPAGENAME}}/testcases
       |{{#ifexist: {{FULLPAGENAME}}/testcases

Revision as of 15:14, 15 April 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|File:Template-info.svg Template documentation|Documentation}}}}
}}

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