Difference between revisions of "Template:Template sandbox notice"

From blackwiki
Jump to navigation Jump to search
test>WOSlinker
(add alt= to image)
test>MSGJ
(tidy code)
Line 1: Line 1:
<includeonly>{{
+
<includeonly>{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{subpage-name|sandbox}}}}}
#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{subpage-name|sandbox}}}}}
+
|</includeonly>{{ombox
| </includeonly>{{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}}]]{{
+
  |&#32;([{{fullurl:Wikipedia:pagediff | withJS=MediaWiki:Common.js/pagediff.js&oldpage={{NAMESPACEE}}:{{BASEPAGENAMEE}}&newpage={{FULLPAGENAMEE}}}} diff])
    #if:{{REVISIONID}}
+
  |<!-- hide when previewing -->
    |&#32;([{{fullurl:Wikipedia:pagediff | withJS=MediaWiki:Common.js/pagediff.js&oldpage={{NAMESPACEE}}:{{BASEPAGENAMEE}}&newpage={{FULLPAGENAMEE}}}} diff])
+
  }}.{{#ifexist:{{#rel2abs: ../{{{testcases-name|testcases}}}}}
    | <!-- hide when previewing -->
+
  | <br> See also the companion subpage for [[../{{{testcases-name|testcases}}}|test cases]].
    }}.{{
+
  }}  
    #ifexist:{{#rel2abs: ../{{{testcases-name|testcases}}}}}
+
}}{{{notice-for-sandbox|}}}{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{testcases-name|testcases}}}}}
    | <br> See also the companion subpage for [[../{{{testcases-name|testcases}}}|test cases]].
+
   | <!-- testcases -->
    }}  
+
   | <!-- not testcases -->{{{category|[[Category:Template sandboxes]]}}}
  }}{{{notice-for-sandbox|}}}{{
+
}}<includeonly>
  #ifeq:{{lc:{{SUBPAGENAME}}}} | {{lc:{{{testcases-name|testcases}}}}}
+
| <!-- not sandbox -->{{{notice-not-sandbox|}}}
   |
 
   | <!-- not testcases -->{{{category|[[Category:Template sandboxes|{{PAGENAME}}]]}}}
 
  }}<includeonly>
 
| <!-- not sandbox -->{{{notice-not-sandbox|}}}
 
 
}}</includeonly><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>

Revision as of 16:55, 25 November 2010

Template documentation[create]