Difference between revisions of "Template:DisplayRatings"

From Wikispooks
Jump to navigation Jump to search
(Link to output template)
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>[[Category:Document Templates]][[category:Rating Templates]]'''This makes a list of ratings that a page has.''' It uses [[Template:DisplayRatings/Output]]<br/>
 
<noinclude>[[Category:Document Templates]][[category:Rating Templates]]'''This makes a list of ratings that a page has.''' It uses [[Template:DisplayRatings/Output]]<br/>
 
It currently has no parameters, althought this may possibly change.<br/>
 
It currently has no parameters, althought this may possibly change.<br/>
''If you wish to display a list of the pages you have rated on your userpage, you should use [[Template:MyRatings]].''</noinclude><includeonly>{{#ifexpr: {{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}} >0|
+
''To display a list of the pages you have rated on your userpage, you should use [[Template:MyRatings]].''</noinclude><includeonly>{{#ifexpr: {{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}} >0|
 +
<br/>
  
 
== {{spz|{{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}}|Rating|Ratings|ERROR}} ==
 
== {{spz|{{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}}|Rating|Ratings|ERROR}} ==

Latest revision as of 18:46, 6 October 2021

This makes a list of ratings that a page has. It uses Template:DisplayRatings/Output
It currently has no parameters, althought this may possibly change.
To display a list of the pages you have rated on your userpage, you should use Template:MyRatings.