Difference between revisions of "Template:DisplayRatings"

From Wikispooks
Jump to navigation Jump to search
m (Update comment)
(Link to output template)
(One intermediate revision 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.'''<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|
 
''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|
Line 10: Line 10:
 
|?Has publicationDate
 
|?Has publicationDate
 
|?Has summary
 
|?Has summary
|?Description2
+
|?Description
 
|format=template
 
|format=template
 
|sort=Has publicationDate
 
|sort=Has publicationDate
 
|template=DisplayRatings/Output
 
|template=DisplayRatings/Output
 
|userparam={{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}}}}}}</includeonly>
 
|userparam={{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}}}}}}</includeonly>

Revision as of 15:41, 15 June 2019

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.
If you wish to display a list of the pages you have rated on your userpage, you should use Template:MyRatings.