Difference between revisions of "Template:Documentation/link box"

From blackwiki
Jump to navigation Jump to search
(Undid revision 551290150 by 90.217.24.187 (talk))
Line 33: Line 33:
 
   -->{{#switch: {{SUBJECTSPACE}}
 
   -->{{#switch: {{SUBJECTSPACE}}
 
       | {{ns:User}}
 
       | {{ns:User}}
       | {{ns:Module}}
+
       | {{ns:Module}} =
 +
        Editors can experiment in this module {{
 +
        #ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}}
 +
        | [[{{{sandbox| {{FULLPAGENAME}}/sandbox }}}|sandbox]] <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }} edit] <nowiki>|</nowiki> [{{fullurl:Special:ComparePages | page1={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&page2={{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} diff])</small>
 +
        | sandbox <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-module-sandbox }} create] <nowiki>|</nowiki> [{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&summary={{urlencode:Create sandbox version of [[{{{template page|{{FULLPAGENAME}}}}}]]}} }} mirror])</small>
 +
        }} and {{
 +
        #ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}}
 +
        | [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|testcases]] <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} edit])</small>
 +
        | testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-module-testcases }} create])</small>
 +
        }} pages. <br />
 +
      }}<!--
 +
        Show the cats text, but not
 +
        if "content" fed or "docname fed" since then it is
 +
        unclear where to add the cats.
 +
  -->{{#if: {{{content|}}} {{{docname fed|}}}
 +
      |
 +
      | Please add categories to the [[{{{docpage|{{FULLPAGENAME}}/doc}}}|/doc]] subpage.
 +
    <!--
 +
        Show the "Subpages" link:
 +
  -->
 
       | {{ns:Template}} =  
 
       | {{ns:Template}} =  
 
         Editors can experiment in this module {{
 
         Editors can experiment in this module {{

Revision as of 14:29, 20 April 2013