Difference between revisions of "Template:Documentation"

From Shadow of the Throne Wiki
Jump to: navigation, search
(copy from sandbox; hide "...trancluded from /doc." message view link)
(if there isn't any, nobody cares. stop spamming "NO sandbox and NO testcases" on every template page when both of these things are pointless)
Line 40: Line 40:
 
     |{{ns:template}}/show|{{ns:user}}/show=<!-- show /sandbox /testcases -->This template has {{
 
     |{{ns:template}}/show|{{ns:user}}/show=<!-- show /sandbox /testcases -->This template has {{
 
       #ifexist: {{ #rel2abs: /sandbox }}
 
       #ifexist: {{ #rel2abs: /sandbox }}
       |<!-- /sandbox -->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> {{
 
         #ifexist: {{ #rel2abs: /testcases }}
 
         #ifexist: {{ #rel2abs: /testcases }}
         |<!-- /sandbox AND /testcases -->and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small>
+
         |<!-- /sandbox AND /testcases -->and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.</small>
         |<!-- /sandbox AND no /testcases -->but '''no''' [{{fullurl:{{ #rel2abs: /testcases }}|action=edit&preload={{{preload-testcases|Template:Documentation/preload/testcases}}}}} testcases]
+
         |<!-- /sandbox AND no /testcases --> for editors to experiment.}}
      }}
+
       |<!-- no /sandbox -->{{
       |<!-- no /sandbox -->'''no''' [{{fullurl:{{ #rel2abs: /sandbox }}|action=edit&preload={{{preload-sandbox|Template:Documentation/preload/sandbox}}}}} sandbox] {{
+
 
         #ifexist: {{ #rel2abs: /testcases }}
 
         #ifexist: {{ #rel2abs: /testcases }}
         |<!-- no /sandbox AND /testcases -->but has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small>
+
         |<!-- no /sandbox AND /testcases -->This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.</small>
         |<!-- no /sandbox AND  no /testcases -->and '''no''' [{{fullurl:{{ #rel2abs: /testcases }}|action=edit&preload={{{preload-testcases|Template:Documentation/preload/testcases}}}}} testcases]
+
         |<!-- no /sandbox AND  no /testcases -->}}
        }}
+
     }}
     }} for editors to experiment.
+
 
     |<!-- hide /sandbox /testcases -->
 
     |<!-- hide /sandbox /testcases -->
 
   }}
 
   }}

Revision as of 04:50, 23 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 }} }}