Difference between revisions of "Template:SMWDocs"
Jump to navigation
Jump to search
(Fix by adding -->{{ExampleDocuments}}<!--) |
(Add {{LanguageDocuments}}) |
||
Line 11: | Line 11: | ||
*[[Template:RelatedDocuments]] (''[[property:is about]]'', or connected through WP+ pages) | *[[Template:RelatedDocuments]] (''[[property:is about]]'', or connected through WP+ pages) | ||
*[[Template:SourcedDocuments]] (''[[property:sourced from]]'') | *[[Template:SourcedDocuments]] (''[[property:sourced from]]'') | ||
+ | *[[Template:LanguageDocuments]] (''[[property:has originalLanguage]]'') | ||
*[[Template:LocatedEvents]] (''[[property:has location]]'') | *[[Template:LocatedEvents]] (''[[property:has location]]'') | ||
*[[Template:WitnessedEvents]] (''[[property:has witness]]'') | *[[Template:WitnessedEvents]] (''[[property:has witness]]'') | ||
Line 26: | Line 27: | ||
-->{{RelatedDocuments}}<!-- | -->{{RelatedDocuments}}<!-- | ||
-->{{SourcedDocuments}}<!-- | -->{{SourcedDocuments}}<!-- | ||
+ | -->{{LanguageDocuments}}<!-- | ||
-->{{LocatedEvents}}<!-- | -->{{LocatedEvents}}<!-- | ||
-->{{WitnessedEvents}}<!-- | -->{{WitnessedEvents}}<!-- |
Revision as of 05:15, 31 July 2014
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:
- Template:SMWDefaultMarkup - adds a default set of markup for the page
- 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:ExampleDocuments (property:constitutes)
- Template:ExampleObjects (property:has objectClass)
- Template:RelatedDocuments (property:is about, or connected through WP+ pages)
- Template:SourcedDocuments (property:sourced from)
- Template:LanguageDocuments (property:has originalLanguage)
- Template:LocatedEvents (property:has location)
- Template:WitnessedEvents (property:has witness)
- Template:Witnesses (-property:has witness)
- Template:ON_ExampleDocuments (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.