Difference between revisions of "Template:SMWDocs"
Jump to navigation
Jump to search
m (Move includeonly's to top) |
(Reorder sections so more important is at the top) |
||
Line 6: | Line 6: | ||
-->{{Examples}}<!-- | -->{{Examples}}<!-- | ||
-->{{ExampleObjects}}<!-- | -->{{ExampleObjects}}<!-- | ||
− | |||
− | |||
− | |||
-->{{LocatedNationStates}}<!-- | -->{{LocatedNationStates}}<!-- | ||
-->{{LocatedEvents}}<!-- | -->{{LocatedEvents}}<!-- | ||
Line 14: | Line 11: | ||
-->{{WitnessedEvents}}<!-- | -->{{WitnessedEvents}}<!-- | ||
-->{{Witnesses}}<!-- | -->{{Witnesses}}<!-- | ||
+ | -->{{RelatedDocuments}}<!-- | ||
+ | -->{{SourcedDocuments}}<!-- | ||
+ | -->{{LanguageDocuments}}<!-- | ||
-->{{ON_Examples}}<!-- | -->{{ON_Examples}}<!-- | ||
-->{{-ON_causeDocuments}}</includeonly> | -->{{-ON_causeDocuments}}</includeonly> | ||
Line 28: | Line 28: | ||
*[[Template:Examples]] (''[[property:constitutes]]'') | *[[Template:Examples]] (''[[property:constitutes]]'') | ||
*[[Template:ExampleObjects]] (''[[property:has objectClass]]'') | *[[Template:ExampleObjects]] (''[[property:has objectClass]]'') | ||
− | |||
− | |||
*[[Template:LocatedNationStates]] (''[[property:has location]]'') | *[[Template:LocatedNationStates]] (''[[property:has location]]'') | ||
*[[Template:LocatedEvents]] (''[[property:has location]]'') | *[[Template:LocatedEvents]] (''[[property:has location]]'') | ||
− | |||
*[[Template:PerpetratedEvents]] (''[[property:has perpetrator]]'') | *[[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]]'') | ||
+ | *[[Template:RelatedDocuments]] (''[[property:is about]]'', or connected through WP+ pages) | ||
+ | *[[Template:SourcedDocuments]] (''[[property:sourced from]]'') | ||
+ | *[[Template:LanguageDocuments]] (''[[property:has originalLanguage]]'') | ||
*[[Template:ON_Examples]] (''[[property:ON_constitutes]]'') | *[[Template:ON_Examples]] (''[[property:ON_constitutes]]'') | ||
*[[Template:-ON_causeDocuments]] (''-[[property:ON_has_cause]]'') | *[[Template:-ON_causeDocuments]] (''-[[property:ON_has_cause]]'') | ||
It makes use of <nowiki>{{PAGENAME}}</nowiki> to search for the relevant SMW data. It currently takes no parameters.</noinclude> | It makes use of <nowiki>{{PAGENAME}}</nowiki> to search for the relevant SMW data. It currently takes no parameters.</noinclude> |
Revision as of 01:13, 26 July 2015
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:LegalCases (property:has authority, property:has defendant, property:has plaintiff)
- Template:AuthorDocuments (property:has author)
- Template:Victims (property:victim of)
- Template:JobHolders (property:has jobTitle)
- Template:Examples (property:constitutes)
- Template:ExampleObjects (property:has objectClass)
- Template:LocatedNationStates (property:has location)
- Template:LocatedEvents (property:has location)
- Template:PerpetratedEvents (property:has perpetrator)
- Template:WitnessedEvents (property:has witness)
- Template:Witnesses (-property:has witness)
- Template:RelatedDocuments (property:is about, 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)
It makes use of {{PAGENAME}} to search for the relevant SMW data. It currently takes no parameters.