Difference between revisions of "Template:DisplayRatings"

From Wikispooks
Jump to navigation Jump to search
(rating)
m (Update comment)
Line 1: Line 1:
<noinclude>[[Category:Document Templates]][[category:Rating Templates]]'''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/>
+
<noinclude>[[Category:Document Templates]][[category:Rating Templates]]'''This makes a list of ratings that a page has.'''<br/>
It currently has no parameters, but this may change.<br/>
+
It currently has no parameters, althought this may possibly 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 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|
  
 
== {{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 15:13, 15 June 2019

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