Template:SMWData

From Wikispooks
Jump to navigation Jump to search

This template is for adding SMW data where no main template is in use. It should be used at the top of the page. It should not be used when a template is already in use that adds SMW data.
(So, not for {{website}}s, {{document}}s, {{event}}s, files or {{person}}s)

Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameters were formerly available, but have been upgraded. Some may still work, but do not use these.

Usage:

{{SMWData
OPTIONAL DETAILS:
|constitutes=pagename(s) which this subject constitutes (e.g. "genocide, war crime") (Property:Constitutes)
|perpetrators=pagename(s) of the peopel or groups responsible according to the official narrative (Property:ON_has_perpetrator)
|ON_constitutes=pagename(s) which this subject constitutes according to the official narrative (Property:ON_constitutes)
|ON_perpetrators=pagename(s) of the peopel or groups responsible according to the official narrative (Property:ON_has_cause)
|description=Document description
|wikipedia=Wikipedia URL
|subjects=The subject(s) of the document
|key_properties= Slash separated list of important properties of this page (Property:Has keyProperties)
|key_property_headers= Slash separated list of property descriptions (same length as the above) (Property:Has keyPropertyHeaders)
|key_sort=Name of the key to sort on
|key_order={ascending,descending}
}}