Difference between revisions of "Template:SMWDocs"
Jump to navigation
Jump to search
(Adherents - for "Has religion") |
(Add "Nationals") |
||
Line 11: | Line 11: | ||
-->{{LocatedNationStates}}<!-- | -->{{LocatedNationStates}}<!-- | ||
-->{{LocatedEvents}}<!-- | -->{{LocatedEvents}}<!-- | ||
+ | -->{{Nationals}}<!-- | ||
-->{{LocatedGroups}}<!-- | -->{{LocatedGroups}}<!-- | ||
-->{{LocatedJobs}}<!-- | -->{{LocatedJobs}}<!-- | ||
Line 39: | Line 40: | ||
*[[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:Nationals]] (''[[property:has nationality]]'') for [[people]] | ||
*[[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 |
Revision as of 09:13, 18 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:
- 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:AuthorDocuments (property:has author)
- Template:JobHolders (property:has jobTitle)
- Template:Examples (property:constitutes)
- Template:ExampleObjects (property:has objectClass)
- Template:Victims (property:victim of)
- Template:Appointees (property:has appointer)
- Template:Adherents (property:has religion)
- Template:LocatedNationStates (property:has location)
- Template:LocatedEvents (property:has location) for events
- Template:Nationals (property:has nationality) for people
- Template:LocatedGroups (property:has headquarters) for groups
- Template:LocatedJobs (property:has location) for jobs
- Template:WitnessedEvents (property:has witness)
- Template:Witnesses (-property:has witness)
- Template:RelatedDocuments (property:is about, property:has recipient or connected through WP+ pages)
- Template:SourcedDocuments (property:sourced from)
- Template:LanguageDocuments (property:has originalLanguage)
- Template:ON_Examples (property:ON_constitutes)
- Template:-ON_causeDocuments (-property:ON_has_cause)
- Template:Alumni (property:has almaMater)
- Template:DisplayRatings (show the rating subobjects contributed by users)
It makes use of {{PAGENAME}} to search for the relevant SMW data. It currently takes no parameters.