Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
(ConvictedPeople)
(Adjust order of sections - promote related quotations)
Line 10: Line 10:
 
-->{{Appointees}}<!--
 
-->{{Appointees}}<!--
 
-->{{Adherents}}<!--
 
-->{{Adherents}}<!--
 +
-->{{RelatedQuotations}}<!--
 
-->{{DatedObjects}}<!--
 
-->{{DatedObjects}}<!--
 
-->{{LocatedNationStates}}<!--
 
-->{{LocatedNationStates}}<!--
Line 22: Line 23:
 
-->{{Witnesses}}<!--
 
-->{{Witnesses}}<!--
 
-->{{RelatedDocuments}}<!--
 
-->{{RelatedDocuments}}<!--
-->{{RelatedQuotations}}<!--
 
 
-->{{SourcedDocuments}}<!--
 
-->{{SourcedDocuments}}<!--
 
-->{{SourcedQuotations}}<!--
 
-->{{SourcedQuotations}}<!--
Line 48: Line 48:
 
*[[Template:Appointees]] (''[[property:has appointer]]'')
 
*[[Template:Appointees]] (''[[property:has appointer]]'')
 
*[[Template:Adherents]] (''[[property:has religion]]'')
 
*[[Template:Adherents]] (''[[property:has religion]]'')
 +
*[[Template:RelatedQuotations]] (''[[property:is about]]'' for [[quotations]])
 
*[[Template:DatedObjects]] (''[[property:start]]'', ''[[property:end]]'' & ''[[property:occurred on]]'') for [[event]]s, [[group]]s & [[website]]s
 
*[[Template:DatedObjects]] (''[[property:start]]'', ''[[property:end]]'' & ''[[property:occurred on]]'') for [[event]]s, [[group]]s & [[website]]s
 
*[[Template:LocatedNationStates]] (''[[property:has location]]'')
 
*[[Template:LocatedNationStates]] (''[[property:has location]]'')
Line 59: Line 60:
 
*[[Template:Witnesses]] (''-[[property:has witness]]'')
 
*[[Template:Witnesses]] (''-[[property:has witness]]'')
 
*[[Template:RelatedDocuments]] (''[[property:is about]]'', ''[[property:has recipient]]'' for [[document]]s)
 
*[[Template:RelatedDocuments]] (''[[property:is about]]'', ''[[property:has recipient]]'' for [[document]]s)
*[[Template:RelatedQuotations]] (''[[property:is about]]'' for [[quotations]])
 
 
*[[Template:SourcedDocuments]] (''[[property:sourced from]]'' for [[document]]s)
 
*[[Template:SourcedDocuments]] (''[[property:sourced from]]'' for [[document]]s)
 
*[[Template:SourcedQuotations]] (''[[property:sourced from]]'' for [[quotation]]s)
 
*[[Template:SourcedQuotations]] (''[[property:sourced from]]'' for [[quotation]]s)

Revision as of 10:47, 16 April 2019

This template is the most important semantic template on the site, and unless you're interested in editing templates, it's the only one you need to know about.
To use it, just include the text {{SMWDocs}} on a single line on its own, just before the "References" section. It generates a bunch of extra sections from the other pages' SMW data.

This template's structure is very simple, it first includes:

Then the following templates from category:Semantic Templates:

It makes use of {{PAGENAME}} to search for the relevant SMW data. It currently takes no parameters.