Difference between revisions of "Template:Rating"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
m
 
Line 28: Line 28:
 
|RC=<center>'''''Block Reason: This is a legacy rating from before our current ratings scale. While the reasons should be valid, it is not counted in the ratings on the article page because of the inaccurate scale.'''''</center>
 
|RC=<center>'''''Block Reason: This is a legacy rating from before our current ratings scale. While the reasons should be valid, it is not counted in the ratings on the article page because of the inaccurate scale.'''''</center>
 
|
 
|
}}{{#ifeq: {{{reason|}}}| |{{{reason}}} |''They didn't actually write a reason for their rating here. They could add it by adding |reason=<stuff> to their rating (per the [[Template:Rating|directions]]), and should do so soon or the rating will be removed.''[[Category:Malformed Ratings]]}}
+
}}{{#ifeq: {{{reason|}}}| |''They didn't actually write a reason for their rating here. They could add it by adding {{!}}reason=<stuff> to their rating (per the [[Template:Rating{{!}}directions]]), and should do so soon or the rating will be removed.''[[Category:Malformed Ratings]]|{{{reason}}} }}
 
|}{{#switch:{{{block|}}}
 
|}{{#switch:{{{block|}}}
 
|InsufficientExplanation
 
|InsufficientExplanation

Latest revision as of 08:03, 30 January 2015

Template documentation (for the above template, sometimes hidden or invisible)

Parameters[edit]

Parameters
Name Required Description Example
rater Yes Name of user rating article "Tarkisflux", "Havvy", "Ghostwheel"
rating Yes Must be a value of "favor", "like", "neutral", "dislike", or "oppose" only.
reason Yes Justification for rating. This has great flavor and is mechanically sound!
block No A specific value in this field will block the rating from being included. See Dungeons and Dragons Wiki:Rating Articles#Blocking a Rating for more information on the associated policy. "NewVersion", "InsufficientExplanation"

Failure to fill in any of the three required parameters properly will result in the template mocking you.

Examples[edit]

{{Rating |rater=Tarkisflux |rating=like |reason=This is a more open and inclusive process that should result in more rated articles (and can't really result in less).}}
RatedLike.png Tarkisflux likes this article and rated it 3 of 4.
This is a more open and inclusive process that should result in more rated articles (and can't really result in less).


{{Rating |rater=Ghostwheel |rating=dislike |reason=This isn't sufficiently granular.}}
RatedDislike.png Ghostwheel dislikes this article and rated it 1 of 4.
This isn't sufficiently granular.


{{Rating |rater=Aarnott |rating=neutral |reason=I use this for feedback as much as for rating.}}
RatedNeutral.png Aarnott is neutral on this article and rated it 2 of 4.
I use this for feedback as much as for rating.


{{Rating |rater=RandomUser |rating=oppose |reason=This feature is stupid. |block=InsufficientExplanation}}
Blocked
RatedOppose.png
Rating
RandomUser opposes this article and rated it 0 of 4.
The reason listed does not sufficiently justify the rating, and the rater has not responded to a request for additional information.
This feature is stupid.

Visit Template:Rating/doc to edit this text! (How does this work?)