Template:Documentation: Difference between revisions

    m>ConradPino
    (copy from sandbox; hide "...trancluded from /doc." message view link)
    m>Gurch
    (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 -->
       }}
       }}