Difference between revisions of "Template:SMWDocs"
Jump to navigation
Jump to search
m (test) |
m (test) |
||
Line 10: | Line 10: | ||
*[[Template:ON_ExampleDocuments]] (''[[property:ON_constitutes]]'') | *[[Template:ON_ExampleDocuments]] (''[[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><includeonly>{{SMWDefaultMarkup}} | + | It makes use of <nowiki>{{PAGENAME}}</nowiki> to search for the relevant SMW data. It currently takes no parameters.</noinclude> |
+ | <includeonly>{{SMWDefaultMarkup}} | ||
{{AuthorDocuments}} | {{AuthorDocuments}} | ||
{{RelatedDocuments}} | {{RelatedDocuments}} |
Revision as of 08:55, 3 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.