Template:Set category list

From SNIC Documentation
Revision as of 10:27, 8 July 2011 by Joel Hedlund (NSC) (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template takes a property name and a semicolon separated list of category names (without the Category: namespace prefix), and will generate an equal number of [[Category:name]] category assignments and [[property name::Category:value| ]] style assignments to that property. Line breaks in value lists are ignored, and can be safely used to break apart overly long lists. No code will be generated if {{{2}}} is empty/unassigned.

Example:

 {{set category list|field|bioinformatics;
 computational chemistry}}