Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
(Add {{LanguageDocuments}})
(Add PerpetratedEvents)
Line 1: Line 1:
 
<noinclude><!-- Now fixed?
 
<noinclude><!-- Now fixed?
 
{{TemplateProblem|Only the first set of documents gets its own header. Subsequent sets are poorly displayed.}}-->[[category:Semantic Templates| ]]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.<br/>
 
{{TemplateProblem|Only the first set of documents gets its own header. Subsequent sets are poorly displayed.}}-->[[category:Semantic Templates| ]]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.<br/>
This template is actually very simple, it just includes a bunch more from [[:category:Semantic Templates]]:
+
This template is actually very simple, it just includes a bunch more from [[:category:Semantic Templates]].<br/>
 +
In the following order:
 
*[[Template:SMWDefaultMarkup]] - adds a default set of markup for the page
 
*[[Template:SMWDefaultMarkup]] - adds a default set of markup for the page
 
*[[Template:LegalCases]] (''[[property:has authority]]'', ''[[property:has defendant]]'', ''[[property:has plaintiff]]'')
 
*[[Template:LegalCases]] (''[[property:has authority]]'', ''[[property:has defendant]]'', ''[[property:has plaintiff]]'')
Line 13: Line 14:
 
*[[Template:LanguageDocuments]] (''[[property:has originalLanguage]]'')
 
*[[Template:LanguageDocuments]] (''[[property:has originalLanguage]]'')
 
*[[Template:LocatedEvents]] (''[[property:has location]]'')
 
*[[Template:LocatedEvents]] (''[[property:has location]]'')
 +
*[[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]]'')
Line 29: Line 31:
 
-->{{LanguageDocuments}}<!--
 
-->{{LanguageDocuments}}<!--
 
-->{{LocatedEvents}}<!--
 
-->{{LocatedEvents}}<!--
 +
-->{{PerpetratedEvents}}<!--
 
-->{{WitnessedEvents}}<!--
 
-->{{WitnessedEvents}}<!--
 
-->{{Witnesses}}<!--
 
-->{{Witnesses}}<!--
 
-->{{ON_ExampleDocuments}}<!--
 
-->{{ON_ExampleDocuments}}<!--
 
-->{{-ON_causeDocuments}}</includeonly>
 
-->{{-ON_causeDocuments}}</includeonly>

Revision as of 12:20, 11 August 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.
In the following order:

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