Difference between revisions of "Template:Template sandbox notice"

From blackwiki
Jump to navigation Jump to search
test>MSGJ
(tidy code)
test>MSGJ
(neater way?)
Line 1: Line 1:
<includeonly>{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{subpage-name|sandbox}}}}}
+
{{#ifexpr:0<noinclude>1</noinclude>+{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{subpage-name|sandbox}}}}}
  |</includeonly>{{ombox
+
  |1
 +
  |0
 +
}}
 +
  |{{ombox
 
   |image = [[Image:Sandbox.png|50px|alt=|link=]]
 
   |image = [[Image:Sandbox.png|50px|alt=|link=]]
 
   |text = This is the [[Wikipedia:Template test cases|template sandbox]] page for [[{{NAMESPACE}}:{{BASEPAGENAME}}]]{{#if:{{REVISIONID}}
 
   |text = This is the [[Wikipedia:Template test cases|template sandbox]] page for [[{{NAMESPACE}}:{{BASEPAGENAME}}]]{{#if:{{REVISIONID}}
Line 11: Line 14:
 
   | <!-- testcases -->
 
   | <!-- testcases -->
 
   | <!-- not testcases -->{{{category|[[Category:Template sandboxes]]}}}
 
   | <!-- not testcases -->{{{category|[[Category:Template sandboxes]]}}}
  }}<includeonly>
+
  }}
 
  | <!-- not sandbox -->{{{notice-not-sandbox|}}}
 
  | <!-- not sandbox -->{{{notice-not-sandbox|}}}
}}</includeonly><noinclude>
+
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 16:58, 25 November 2010

Template documentation[create]