Difference between revisions of "Template:Documentation/core/sandbox"

From blackwiki
Jump to navigation Jump to search
test>Thesevenseas
(Fixed Code)
test>Thesevenseas
(Added Code)
Line 115: Line 115:
 
   <!--Check if {{documentation}} is transcluded  
 
   <!--Check if {{documentation}} is transcluded  
 
       on a /doc or /testcases page-->
 
       on a /doc or /testcases page-->
   {{#switch: {{SUBPAGENAME}}
+
   {{#switch: {{FULLPAGENAME}}
  | doc
+
  | Template:Documentation/testcases <!--except the documentation testcases page-->
  | testcases = strange
+
  | Template:Documentation subpage/testcases <!--and the documentation subpage testcases page-->
 +
  | Template:Single notice/testcases <!--and the single notice testcases page-->
 +
  | {{#switch: {{SUBPAGENAME}}
 +
    | doc
 +
    | testcases = strange
 +
    }}
 
   }}
 
   }}
 
   <!--More checks can be added here, just return anything
 
   <!--More checks can be added here, just return anything

Revision as of 14:23, 5 October 2010

[create] Template documentation