Difference between revisions of "Template:Rating"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(and now for something completely different)
Line 1: Line 1:
 
<includeonly>{| style= "border-style:solid; border-width:2px; border-color:#003F87; background-color:#E6D88D; width:100%;"  
 
<includeonly>{| style= "border-style:solid; border-width:2px; border-color:#003F87; background-color:#E6D88D; width:100%;"  
|rowspan="2" width="148px" align="center"| {{#switch:{{{rating}}} |dislike=[[Image:RatedDislike.png|{{#if:{{{reason|}}} |148 |74}}px]] |like=[[Image:RatedLike.png|{{#if:{{{reason|}}} |148 |74}}px]] |neither=[[Image:RatedNeutral.png|{{#if:{{{reason|}}} |148 |74}}px]] |}}
+
|rowspan="2" width="148px" align="center"| [[Image:{{#switch:{{{rating}}} |dislike=RatedDislike |like=RatedLike |neither=RatedNeutral}}.png|{{#if:{{{reason|}}} |148 |74}}px]]
|align="center" style= "font-size: x-large; padding: 0; height: 1.1em; border-color:#E6D88D; background-color: #2=E6D88D; color:#003F87;" |'''{{{rater|Someone who didn't follow '''[[Template:Rating|directions]]'''}}} {{#ifeq: {{{rating}}}|neither|neither likes nor dislike|{{{rating}}}}}s this article{{#switch:{{{rating}}}|like=! |dislike=. |neither=. |, but needs to review the rating '''[[Template:Rating|directions]]''' :-/}}'''
+
!align="center" style= "font-size: x-large; padding: 0; height: 1.1em; border-color:#E6D88D; background-color: #2=E6D88D; color:#003F87;" |{{{rater}}} {{#switch: |dislike=dislikes this article and rated it 1 of 4. |like=likes this article and rated it 3 of 4. |neither=is neutral on this article and rated it 2 of 4. |needs to review the rating '''[[Template:Rating|directions]]'''}}
{{!}}-
+
|-
{{!}}style= "vertical-align: top; border-top: 1px solid; border-color:#003F87;" {{!}} Here's why - {{{reason|They didn't actually write anything here. They could add it by following the [[Template:Rating|directions]], but if they don't hurry the rating will be removed.}}}
+
| style= "vertical-align: top; border-top: 1px solid; border-color:#003F87;" | Here's why - {{{reason|They didn't actually write anything here. They could add it by following the [[Template:Rating|directions]], but if they don't hurry the rating will be removed.}}}{{#if: {{{OldRating|}}}|'' Note that this is a legacy rating, and may be updated.''}}
|}{{#if:{{{rater|}}}|{{#switch:{{{rating}}}|like=[[Liked::{{{rater|}}}| ]]|dislike=[[Disliked::{{{rater|}}}| ]]|neither=[[Neither::{{{rater|}}}| ]]|}}}}
+
|}{{#if: {{{OldRating|}}}|[[Category:Legacy Rating {{{rater}}}]]}}{{#if:{{{rater|}}}|{{#switch:{{{rating}}}|like=[[Liked::{{{rater|}}}| ]]|dislike=[[Disliked::{{{rater|}}}| ]]|neither=[[Neither::{{{rater|}}}| ]]|}}}}
 
</includeonly><noinclude>{{documentation}}</noinclude>
 
</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 22:20, 10 July 2012

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

Parameters

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

{{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?)