Difference between revisions of "Template:Chembox Legal status/doc"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(Created page with '{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> All but first country block must start the '{{#ifeq'...')
 
imported>DePiep
m (all catsorts in chembox are by pagename)
Line 8: Line 8:
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
[[Category:Chembox templates|Legal status]]
+
[[Category:Chembox templates|{{PAGENAME}}]]
  
 
}}</includeonly>
 
}}</includeonly>

Revision as of 15:44, 17 February 2014

All but first country block must start the '{{#ifeq' on same line as preceeding block's closing '}}'. Test for upper & lower case, use wikilinked two-letter ISO country codes (ISO 3166-1) within the framework of WP:MOS. Note space after country code as separator & allows line wrapping. Previous legal-status kept both for backwards compatibility - most articles current use this and for furture appends free-text to country-specified categorisations.

Usage