Difference between revisions of "Template:MyRatings"

From Wikispooks
Jump to navigation Jump to search
m (t)
Line 6: Line 6:
 
'''Example:'''<br/>
 
'''Example:'''<br/>
 
{{t|<nowiki>==Ratings==</nowiki>}}<br/>
 
{{t|<nowiki>==Ratings==</nowiki>}}<br/>
{{t|<nowiki>{{ratings}}</nowiki> }}
+
{{t|<nowiki>{{myratings}}</nowiki> }}
 
</noinclude><includeonly><div style="border-color:black; border-width:3px; border-style:groove;">{{#ask: [[Constitutes::Rating]][[-Has subobject::{{FULLPAGENAME}}]]
 
</noinclude><includeonly><div style="border-color:black; border-width:3px; border-style:groove;">{{#ask: [[Constitutes::Rating]][[-Has subobject::{{FULLPAGENAME}}]]
 
|?Has target#NOWIKI
 
|?Has target#NOWIKI

Revision as of 03:39, 10 April 2016

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 currently has no parameters, but this may change.
Targets of ratings (i.e. SMWObjects) should use Template:DisplayRatings.

Example:
==Ratings==
{{myratings}}