Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
m (close includeonly tag)
(LocatedEvents template)
Line 1: Line 1:
<noinclude>{{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 WikiSpooks pages which do not already have it, either directly or through a template. If inserted by hand, it should usually be placed 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/>
+
<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 WikiSpooks pages which do not already have it, either directly or through a template. If inserted by hand, it should usually be placed 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]]:
 
*[[Template:SMWDefaultMarkup]] - adds a default set of markup for the page
 
*[[Template:SMWDefaultMarkup]] - adds a default set of markup for the page
Line 6: Line 7:
 
*[[Template:SourcedDocuments]] (''[[property:sourced from]]'')
 
*[[Template:SourcedDocuments]] (''[[property:sourced from]]'')
 
*[[Template:ExampleDocuments]] (''[[property:constitutes]]'')
 
*[[Template:ExampleDocuments]] (''[[property:constitutes]]'')
 +
*[[Template:LocatedEvents]] (''[[property:has location]]'')
 
*[[Template:WitnessedEvents]] (''[[property:has witness]]'')
 
*[[Template:WitnessedEvents]] (''[[property:has witness]]'')
 
*[[Template:Witnesses]] (''-[[property:has witness]]'')
 
*[[Template:Witnesses]] (''-[[property:has witness]]'')
Line 15: Line 17:
 
-->{{RelatedDocuments}}<!--
 
-->{{RelatedDocuments}}<!--
 
-->{{SourcedDocuments}}<!--
 
-->{{SourcedDocuments}}<!--
--><nowiki/>{{WitnessedEvents}}<!--
+
-->{{LocatedEvents}}<!--
--><nowiki/>{{Witnesses}}<!--
+
-->{{WitnessedEvents}}<!--
 +
-->{{Witnesses}}<!--
 
-->{{ExampleDocuments}}<!--
 
-->{{ExampleDocuments}}<!--
 
-->{{ON_ExampleDocuments}}<!--
 
-->{{ON_ExampleDocuments}}<!--
 
-->{{-ON_causeDocuments}}</includeonly>
 
-->{{-ON_causeDocuments}}</includeonly>

Revision as of 14:48, 22 May 2014

This template is suitable for inclusion on most if not all WikiSpooks pages which do not already have it, either directly or through a template. If inserted by hand, it should usually be placed 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:

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