Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
(Correct description)
(promote exampledocuments section)
Line 6: Line 6:
 
*[[Template:AuthorDocuments]] (''[[property:has author]]'')
 
*[[Template:AuthorDocuments]] (''[[property:has author]]'')
 
*[[Template:JobHolders]] (''[[property:Has jobTitle]]'')
 
*[[Template:JobHolders]] (''[[property:Has jobTitle]]'')
 +
*[[Template:ExampleDocuments]] (''[[property:constitutes]]'')
 
*[[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:ExampleDocuments]] (''[[property:constitutes]]'')
 
 
*[[Template:LocatedEvents]] (''[[property:has location]]'')
 
*[[Template:LocatedEvents]] (''[[property:has location]]'')
 
*[[Template:WitnessedEvents]] (''[[property:has witness]]'')
 
*[[Template:WitnessedEvents]] (''[[property:has witness]]'')
Line 19: Line 19:
 
-->{{AuthorDocuments}}<!--
 
-->{{AuthorDocuments}}<!--
 
-->{{JobHolders}}<!--
 
-->{{JobHolders}}<!--
 +
-->{{ExampleDocuments}}<!--
 
-->{{RelatedDocuments}}<!--
 
-->{{RelatedDocuments}}<!--
 
-->{{SourcedDocuments}}<!--
 
-->{{SourcedDocuments}}<!--
Line 24: Line 25:
 
-->{{WitnessedEvents}}<!--
 
-->{{WitnessedEvents}}<!--
 
-->{{Witnesses}}<!--
 
-->{{Witnesses}}<!--
-->{{ExampleDocuments}}<!--
 
 
-->{{ON_ExampleDocuments}}<!--
 
-->{{ON_ExampleDocuments}}<!--
 
-->{{-ON_causeDocuments}}</includeonly>
 
-->{{-ON_causeDocuments}}</includeonly>

Revision as of 08:50, 4 June 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:

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