Difference between revisions of "Template:Template sandbox notice"

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{
+
{{#ifexpr:0<noinclude>1</noinclude>+{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{subpage-name|sandbox}}}}}
#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{subpage-name|sandbox}}}}}
+
  |1
| </includeonly>{{ombox
+
  |0
   | image = [[Image:Sandbox.png|50px|alt=|link=]]
+
}}
   | text = This is the [[Wikipedia:Template test cases|template sandbox]] page for [[{{NAMESPACE}}:{{BASEPAGENAME}}]]{{
+
|{{ombox
    #if:{{REVISIONID}}
+
   |image = [[Image:Sandbox.png|50px|alt=|link=]]
    |&#32;([{{fullurl:Wikipedia:pagediff | withJS=MediaWiki:Common.js/pagediff.js&oldpage={{NAMESPACEE}}:{{BASEPAGENAMEE}}&newpage={{FULLPAGENAMEE}}}} diff])
+
   |text = This is the [[Wikipedia:Template test cases|template sandbox]] page for [[{{NAMESPACE}}:{{BASEPAGENAME}}]]{{#if:{{REVISIONID}}
    | <!-- hide when previewing -->
+
  |&#32;([{{fullurl:Wikipedia:pagediff | withJS=MediaWiki:Common.js/pagediff.js&oldpage={{NAMESPACEE}}:{{BASEPAGENAMEE}}&newpage={{FULLPAGENAMEE}}}} diff])
    }}.{{
+
  |<!-- hide when previewing -->
    #ifexist:{{#rel2abs: ../{{{testcases-name|testcases}}}}}
+
  }}.{{#ifexist:{{#rel2abs: ../{{{testcases-name|testcases}}}}}
    | <br> See also the companion subpage for [[../{{{testcases-name|testcases}}}|test cases]].
+
  | <br> See also the companion subpage for [[../{{{testcases-name|testcases}}}|test cases]].
    }}  
+
  }}  
  }}{{{notice-for-sandbox|}}}{{
+
}}{{{notice-for-sandbox|}}}{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{testcases-name|testcases}}}}}
  #ifeq:{{lc:{{SUBPAGENAME}}}} | {{lc:{{{testcases-name|testcases}}}}}
+
   | <!-- testcases -->
   |
+
   | <!-- not testcases -->{{{category|[[Category:Template sandboxes]]}}}
   | <!-- not testcases -->{{{category|[[Category:Template sandboxes|{{PAGENAME}}]]}}}
+
}}
  }}<includeonly>
+
| <!-- not sandbox -->{{{notice-not-sandbox|}}}
| <!-- not sandbox -->{{{notice-not-sandbox|}}}
+
}}<noinclude>
}}</includeonly><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>

Latest revision as of 17:57, 25 December 2010

[create] Template documentation