Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
(PlannedEvents)
(ConvictedPeople)
Line 28: Line 28:
 
-->{{ON_Examples}}<!--
 
-->{{ON_Examples}}<!--
 
-->{{-ON_causeDocuments}}<!--
 
-->{{-ON_causeDocuments}}<!--
 +
-->{{ConvictedPeople}}<!--
 
-->{{Alumni}}<!--
 
-->{{Alumni}}<!--
 
-->{{DisplayRatings}}</includeonly>
 
-->{{DisplayRatings}}</includeonly>
Line 64: Line 65:
 
*[[Template:ON_Examples]] (''[[property:ON_constitutes]]'')
 
*[[Template:ON_Examples]] (''[[property:ON_constitutes]]'')
 
*[[Template:-ON_causeDocuments]] (''-[[property:ON_has_cause]]'')
 
*[[Template:-ON_causeDocuments]] (''-[[property:ON_has_cause]]'')
 +
*[[Template:ConvictedPeople]] (''[[property:has criminalConviction]]'')
 
*[[Template:Alumni]] (''[[property:has almaMater]]'')
 
*[[Template:Alumni]] (''[[property:has almaMater]]'')
 
*[[Template:DisplayRatings]] (show the ''rating subobjects'' contributed by users)
 
*[[Template:DisplayRatings]] (show the ''rating subobjects'' contributed by users)
 
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>

Revision as of 02:44, 16 April 2019

This template is the most important semantic template on the site, and unless you're interested in editing templates, it's the only one you need to know about.
To use it, just include the text {{SMWDocs}} on a single line on its own, 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.