Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
(Try to fix ==Ratings== section)
Line 19: Line 19:
 
-->{{-ON_causeDocuments}}<!--
 
-->{{-ON_causeDocuments}}<!--
 
-->{{AlmaMaterAttendees}}<!--
 
-->{{AlmaMaterAttendees}}<!--
-->{{ListRatings}}</includeonly>
+
-->{{DisplayRatings}}</includeonly>
  
 
<noinclude><!-- Now fixed?
 
<noinclude><!-- Now fixed?
Line 45: Line 45:
 
*[[Template:-ON_causeDocuments]] (''-[[property:ON_has_cause]]'')
 
*[[Template:-ON_causeDocuments]] (''-[[property:ON_has_cause]]'')
 
*[[Template:AlmaMaterAttendees]] (''[[property:has almaMater]]'')
 
*[[Template:AlmaMaterAttendees]] (''[[property:has almaMater]]'')
*[[Template:ListRatings]] (''rating subobjects'')
+
*[[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 10:08, 1 July 2016

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.