Difference between revisions of "Template:DisplayRatings"

From Wikispooks
Jump to navigation Jump to search
(fix name of templates)
m (whitespace issue)
Line 2: Line 2:
 
It currently has no parameters, but this may change.<br/>
 
It currently has no parameters, but this may change.<br/>
 
''If you wish to display a list of ratings on your userpage, you should use [[Template:MyRatings]].''</noinclude><includeonly>{{#ifexpr: {{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}} >0|
 
''If you wish to display a list of ratings on your userpage, you should use [[Template:MyRatings]].''</noinclude><includeonly>{{#ifexpr: {{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}} >0|
 +
 
== {{spz|{{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}}|Rating|Ratings|ERROR}} ==
 
== {{spz|{{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}}|Rating|Ratings|ERROR}} ==
  

Revision as of 10:20, 1 July 2016

This is intended for use on pages in the document: namespace (or later, the main namespace). It makes a list of ratings of that page.
It currently has no parameters, but this may change.
If you wish to display a list of ratings on your userpage, you should use Template:MyRatings.