Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
(Rename 'Alumni' template)
Line 9: Line 9:
 
-->{{LocatedNationStates}}<!--
 
-->{{LocatedNationStates}}<!--
 
-->{{LocatedEvents}}<!--
 
-->{{LocatedEvents}}<!--
 +
-->{{LocatedGoups}}<!--
 
-->{{LocatedJobs}}<!--
 
-->{{LocatedJobs}}<!--
 
-->{{PerpetratedEvents}}<!--
 
-->{{PerpetratedEvents}}<!--
Line 35: Line 36:
 
*[[Template:LocatedNationStates]] (''[[property:has location]]'')
 
*[[Template:LocatedNationStates]] (''[[property:has location]]'')
 
*[[Template:LocatedEvents]] (''[[property:has location]]'') for [[event]]s
 
*[[Template:LocatedEvents]] (''[[property:has location]]'') for [[event]]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:PerpetratedEvents]] (''[[property:has perpetrator]]'')

Revision as of 08:43, 13 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.