Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
(t)
(Perpetrated events at the top)
Line 1: Line 1:
 
<includeonly>{{SMWDefaultMarkup}}<!--
 
<includeonly>{{SMWDefaultMarkup}}<!--
 +
-->{{PerpetratedEvents}}<!--
 
-->{{LegalCases}}<!--
 
-->{{LegalCases}}<!--
 
-->{{AuthorDocuments}}<!--
 
-->{{AuthorDocuments}}<!--
Line 11: Line 12:
 
-->{{LocatedGroups}}<!--
 
-->{{LocatedGroups}}<!--
 
-->{{LocatedJobs}}<!--
 
-->{{LocatedJobs}}<!--
-->{{PerpetratedEvents}}<!--
 
 
-->{{WitnessedEvents}}<!--
 
-->{{WitnessedEvents}}<!--
 
-->{{Witnesses}}<!--
 
-->{{Witnesses}}<!--
Line 27: Line 27:
 
In the following order:
 
In the following order:
 
*[[Template:SMWDefaultMarkup]] - adds a default set of markup for the page, ''allows the page to be picked up by [[Template:SubPages]]''
 
*[[Template:SMWDefaultMarkup]] - adds a default set of markup for the page, ''allows the page to be picked up by [[Template:SubPages]]''
 +
*[[Template:PerpetratedEvents]] (''[[property:has perpetrator]]'')
 
*[[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]]'')
 
*[[Template:AuthorDocuments]] (''[[property:has author]]'')
Line 38: Line 39:
 
*[[Template:LocatedGroups]] (''[[property:has headquarters]]'') for [[group]]s
 
*[[Template:LocatedGroups]] (''[[property:has headquarters]]'') for [[group]]s
 
*[[Template:LocatedJobs]] (''[[property:has location]]'') for [[job]]s
 
*[[Template:LocatedJobs]] (''[[property:has location]]'') for [[job]]s
*[[Template:PerpetratedEvents]] (''[[property:has perpetrator]]'')
 
 
*[[Template:WitnessedEvents]] (''[[property:has witness]]'')
 
*[[Template:WitnessedEvents]] (''[[property:has witness]]'')
 
*[[Template:Witnesses]] (''-[[property:has witness]]'')
 
*[[Template:Witnesses]] (''-[[property:has witness]]'')

Revision as of 11:00, 16 July 2016

This template is suitable for inclusion on most if not all main namespace pages which do not already have it, just before the "References" section. It is a catch all for including documents which SMW data shows are of relevance to the page on which it is included.
This template is actually very simple, it just includes a bunch more from category:Semantic Templates.
In the following order:

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