Difference between revisions of "Template:DisplayRatings"

From Wikispooks
Jump to navigation Jump to search
m (Robin moved page Template:DisplayRating to Template:DisplayRatings without leaving a redirect)
(better explanation)
Line 1: Line 1:
<noinclude>'''This template displays ratings. It is current used only by [[Template:Document]].'''</noinclude><includeonly>{{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}}
+
<noinclude>'''This is intended for use on pages in the {{NS|document}} (or later, the main namespace). It makes a list of ratings of that page.'''<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:Ratings]].''</noinclude><includeonly>{{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}}
 
{{#switch: {{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}}
 
{{#switch: {{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}}
 
  | 0 =
 
  | 0 =

Revision as of 15:05, 30 January 2015

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:Ratings.