Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
(Add DatedObjects back in)
Line 18: Line 18:
 
-->{{Witnesses}}<!--
 
-->{{Witnesses}}<!--
 
-->{{RelatedDocuments}}<!--
 
-->{{RelatedDocuments}}<!--
 +
-->{{RelatedQuotations}}<!--
 
-->{{SourcedDocuments}}<!--
 
-->{{SourcedDocuments}}<!--
 
-->{{LanguageDocuments}}<!--
 
-->{{LanguageDocuments}}<!--
Line 47: Line 48:
 
*[[Template:WitnessedEvents]] (''[[property:has witness]]'')
 
*[[Template:WitnessedEvents]] (''[[property:has witness]]'')
 
*[[Template:Witnesses]] (''-[[property:has witness]]'')
 
*[[Template:Witnesses]] (''-[[property:has witness]]'')
*[[Template:RelatedDocuments]] (''[[property:is about]]'', ''[[property:has recipient]]'' or connected through WP+ pages)
+
*[[Template:RelatedDocuments]] (''[[property:is about]]'', ''[[property:has recipient]]'' or <s>connected through WP+ pages</s> for [[document]]s)
 +
*[[Template:RelatedQuotations]] (''[[property:is about]]'' for [[quotations]])
 
*[[Template:SourcedDocuments]] (''[[property:sourced from]]'')
 
*[[Template:SourcedDocuments]] (''[[property:sourced from]]'')
 
*[[Template:LanguageDocuments]] (''[[property:has originalLanguage]]'')
 
*[[Template:LanguageDocuments]] (''[[property:has originalLanguage]]'')

Revision as of 18:22, 2 September 2016

This template is the most important semantuic template on the site, and unless you're interested in editing templates, it's the only one you need to know about. It should be included on all main namespace pages, just before the "References" section. It generates a bunch of extra sections from the other pages' SMW data.

This template's structure is very simple, it first includes:

Then the following templates from category:Semantic Templates:

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