Difference between revisions of "Template:SMWDocs"
Jump to navigation
Jump to search
m (white space remove - Bingo!!) |
(test) |
||
Line 15: | Line 15: | ||
-->{{RelatedDocuments}}<!-- | -->{{RelatedDocuments}}<!-- | ||
-->{{SourcedDocuments}}<!-- | -->{{SourcedDocuments}}<!-- | ||
− | -->{{WitnessedEvents}}<!-- | + | --><nowiki/>{{WitnessedEvents}}<!-- |
− | -->{{Witnesses}}<!-- | + | --><nowiki/>{{Witnesses}}<!-- |
-->{{ExampleDocuments}}<!-- | -->{{ExampleDocuments}}<!-- | ||
-->{{ON_ExampleDocuments}}<!-- | -->{{ON_ExampleDocuments}}<!-- | ||
-->{{-ON_causeDocuments}}<includeonly> | -->{{-ON_causeDocuments}}<includeonly> |
Revision as of 13:35, 19 February 2014
This template has problems: Only the first set of documents gets its own header. Subsequent sets are poorly displayed. Use the discussion page to see the debate about this. |
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:
- Template:SMWDefaultMarkup - adds a default set of markup for the page
- Template:AuthorDocuments (property:has author)
- Template:RelatedDocuments (property:is about, or connected through WP+ pages)
- Template:SourcedDocuments (property:sourced from)
- Template:ExampleDocuments (property:constitutes)
- Template:WitnessedEvents (property:has witness)
- Template:Witnesses (-property:has witness)
- Template:ON_ExampleDocuments (property:ON_constitutes)
- Template:-ON_causeDocuments (-property:ON_has_cause)
It makes use of {{PAGENAME}} to search for the relevant SMW data. It currently takes no parameters.