Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
(Add LocatedNationStates)
m (Move includeonly's to top)
Line 1: Line 1:
 +
<includeonly>{{SMWDefaultMarkup}}<!--
 +
-->{{LegalCases}}<!--
 +
-->{{AuthorDocuments}}<!--
 +
-->{{Victims}}<!--
 +
-->{{JobHolders}}<!--
 +
-->{{Examples}}<!--
 +
-->{{ExampleObjects}}<!--
 +
-->{{RelatedDocuments}}<!--
 +
-->{{SourcedDocuments}}<!--
 +
-->{{LanguageDocuments}}<!--
 +
-->{{LocatedNationStates}}<!--
 +
-->{{LocatedEvents}}<!--
 +
-->{{PerpetratedEvents}}<!--
 +
-->{{WitnessedEvents}}<!--
 +
-->{{Witnesses}}<!--
 +
-->{{ON_Examples}}<!--
 +
-->{{-ON_causeDocuments}}</includeonly>
 +
 
<noinclude><!-- Now fixed?
 
<noinclude><!-- Now fixed?
 
{{TemplateProblem|Only the first set of documents gets its own header. Subsequent sets are poorly displayed.}}-->[[category:Semantic Templates| ]]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.<br/>
 
{{TemplateProblem|Only the first set of documents gets its own header. Subsequent sets are poorly displayed.}}-->[[category:Semantic Templates| ]]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.<br/>
Line 21: Line 39:
 
*[[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>
<includeonly>{{SMWDefaultMarkup}}<!--
 
-->{{LegalCases}}<!--
 
-->{{AuthorDocuments}}<!--
 
-->{{Victims}}<!--
 
-->{{JobHolders}}<!--
 
-->{{Examples}}<!--
 
-->{{ExampleObjects}}<!--
 
-->{{RelatedDocuments}}<!--
 
-->{{SourcedDocuments}}<!--
 
-->{{LanguageDocuments}}<!--
 
-->{{LocatedNationStates}}<!--
 
-->{{LocatedEvents}}<!--
 
-->{{PerpetratedEvents}}<!--
 
-->{{WitnessedEvents}}<!--
 
-->{{Witnesses}}<!--
 
-->{{ON_Examples}}<!--
 
-->{{-ON_causeDocuments}}</includeonly>
 

Revision as of 06:46, 10 May 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.