Template:MyRatings

From Wikispooks
Revision as of 10:16, 26 August 2016 by Robin (talk | contribs)
Jump to navigation Jump to search

This is intended for use on pages in the user: namespace. It makes a list of all that users' ratings.
If the user has no ratings, it draws a thin stripey black line. It calls Template:MyRatings/Output to format output.
It currently has one optional parameter, the sort key:
{{MyRatings |sort=Has value (defaults to 'Has publicationDate') |order=ascending (defaults to 'random') }} }} Targets of ratings (i.e. SMWObjects) should use Template:DisplayRatings.

Example:
==Ratings==
{{MyRatings|sort=Has value}}