Template:SMWData

From Wikispooks
Revision as of 16:51, 31 December 2013 by Robin (talk | contribs) (Fix)
Jump to navigation Jump to search

This template is for adding SMW data where no main template is in use. 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)
It doesn't produce any visual output - it only adds semantic data to the document. As such, it can be placed anywhere in the document, however it is good practice to use it at the top. The blue parameters not be marked up at all; they should be Wikispooks page names (whether or not the page yet exists).
The green parameters should be /-separated lists.
Usage:

{{SMWData
OPTIONAL DETAILS:
|Constitutes=a pagename which this subject consitutues (e.g. "censorship", "lone nut") (Property:Constitutes)
|Constitutes2...=
|Description=Document description
|Subject=The subject of the document
|Subject2, Subject3... =Extra subjects
|KeyProperties= Slash separated list of important properties of this page
|KeyPropertyHeaders= Slash separated list of property descriptions (same length as the above)
}}