Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
(Make JobHolders nearly top)
Line 1: Line 1:
 
<includeonly>{{SMWDefaultMarkup}}<!--
 
<includeonly>{{SMWDefaultMarkup}}<!--
 
-->{{PerpetratedEvents}}<!--
 
-->{{PerpetratedEvents}}<!--
 +
-->{{JobHolders}}<!--
 
-->{{LegalCases}}<!--
 
-->{{LegalCases}}<!--
 
-->{{AuthorDocuments}}<!--
 
-->{{AuthorDocuments}}<!--
 
-->{{AuthorQuotations}}<!--
 
-->{{AuthorQuotations}}<!--
-->{{JobHolders}}<!--
 
 
-->{{Examples}}<!--
 
-->{{Examples}}<!--
 
-->{{ExampleObjects}}<!--
 
-->{{ExampleObjects}}<!--
Line 33: Line 33:
 
''Then the following templates from [[:category:Semantic Templates]]:''
 
''Then the following templates from [[:category:Semantic Templates]]:''
 
*[[Template:PerpetratedEvents]] (''[[property:has perpetrator]]'')
 
*[[Template:PerpetratedEvents]] (''[[property:has perpetrator]]'')
 +
*[[Template:JobHolders]] (''[[property:has jobTitle]]'')
 
*[[Template:LegalCases]] (''[[property:has authority]]'', ''[[property:has defendant]]'', ''[[property:has plaintiff]]'')
 
*[[Template:LegalCases]] (''[[property:has authority]]'', ''[[property:has defendant]]'', ''[[property:has plaintiff]]'')
 
*[[Template:AuthorDocuments]] (''[[property:has author]]'' for [[document]]s)
 
*[[Template:AuthorDocuments]] (''[[property:has author]]'' for [[document]]s)
 
*[[Template:AuthorQuotations]] (''[[property:has author]]'' for [[quotations]])
 
*[[Template:AuthorQuotations]] (''[[property:has author]]'' for [[quotations]])
*[[Template:JobHolders]] (''[[property:has jobTitle]]'')
 
 
*[[Template:Examples]] (''[[property:constitutes]]'')
 
*[[Template:Examples]] (''[[property:constitutes]]'')
 
*[[Template:ExampleObjects]] (''[[property:has objectClass]]'')
 
*[[Template:ExampleObjects]] (''[[property:has objectClass]]'')

Revision as of 08:57, 15 September 2016

This template is the most important semantuic template on the site, and unless you're interested in editing templates, it's the only one you need to know about. It should be included on all main namespace pages, 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.