Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
(clarify about subpages)
(Update for more logical template names)
Line 8: Line 8:
 
*[[Template:Victims]] (''[[property:victim of]]'')
 
*[[Template:Victims]] (''[[property:victim of]]'')
 
*[[Template:JobHolders]] (''[[property:has jobTitle]]'')
 
*[[Template:JobHolders]] (''[[property:has jobTitle]]'')
*[[Template:ExampleDocuments]] (''[[property:constitutes]]'')
+
*[[Template:Examples]] (''[[property:constitutes]]'')
 
*[[Template:ExampleObjects]] (''[[property:has objectClass]]'')
 
*[[Template:ExampleObjects]] (''[[property:has objectClass]]'')
 
*[[Template:RelatedDocuments]] (''[[property:is about]]'', or connected through WP+ pages)
 
*[[Template:RelatedDocuments]] (''[[property:is about]]'', or connected through WP+ pages)
Line 17: Line 17:
 
*[[Template:WitnessedEvents]] (''[[property:has witness]]'')
 
*[[Template:WitnessedEvents]] (''[[property:has witness]]'')
 
*[[Template:Witnesses]] (''-[[property:has witness]]'')
 
*[[Template:Witnesses]] (''-[[property:has witness]]'')
*[[Template:ON_ExampleDocuments]] (''[[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>
Line 25: Line 25:
 
-->{{Victims}}<!--
 
-->{{Victims}}<!--
 
-->{{JobHolders}}<!--
 
-->{{JobHolders}}<!--
-->{{ExampleDocuments}}<!--
+
-->{{Examples}}<!--
 
-->{{ExampleObjects}}<!--
 
-->{{ExampleObjects}}<!--
 
-->{{RelatedDocuments}}<!--
 
-->{{RelatedDocuments}}<!--
Line 34: Line 34:
 
-->{{WitnessedEvents}}<!--
 
-->{{WitnessedEvents}}<!--
 
-->{{Witnesses}}<!--
 
-->{{Witnesses}}<!--
-->{{ON_ExampleDocuments}}<!--
+
-->{{ON_Examples}}<!--
 
-->{{-ON_causeDocuments}}</includeonly>
 
-->{{-ON_causeDocuments}}</includeonly>

Revision as of 17:42, 9 March 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:

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