Difference between revisions of "Template:SMWDocs"
Jump to navigation
Jump to search
(Expand on use and how it works) |
|||
Line 1: | Line 1: | ||
− | <noinclude>[[category:Semantic Templates| ]]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. | + | <noinclude>[[category:Semantic Templates| ]]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.<br/> |
This template is actually very simple, it just includes 5 more from [[:category:Semantic Templates]]: | This template is actually very simple, it just includes 5 more from [[:category:Semantic Templates]]: | ||
− | *[[Template:SMWDefaultMarkup]] | + | *[[Template:SMWDefaultMarkup]] - adds a default set of markup for the page |
− | *[[Template:AuthorDocuments]] | + | *[[Template:AuthorDocuments]] (''[[property:has author]]'') |
− | *[[Template:RelatedDocuments]] | + | *[[Template:RelatedDocuments]] (''[[property:is about]]'', or connected through WP+ pages) |
− | *[[Template:SourcedDocuments]] | + | *[[Template:SourcedDocuments]] (''[[property:sourced from]]'') |
− | *[[Template:ExampleDocuments]] | + | *[[Template:ExampleDocuments]] (''[[property:constitues]]'') |
− | It | + | 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}} | ||
{{SourcedDocuments}} | {{SourcedDocuments}} | ||
{{ExampleDocuments}}<includeonly> | {{ExampleDocuments}}<includeonly> |
Revision as of 11:55, 1 January 2014
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 5 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:constitues)
It makes use of {{PAGENAME}} to search for the relevant SMW data. It currently takes no parameters.