Difference between revisions of "Template:Rating"
From Dungeons and Dragons Wiki
Tarkisflux (talk | contribs) (grayed out blocked ratings are going live. parameter was changed as well, will be visible in doc shortly.) |
Tarkisflux (talk | contribs) m (this wasn't working as an if, so switch it is) |
||
Line 6: | Line 6: | ||
|border-color:#003F87; background-color:#E6D88D; | |border-color:#003F87; background-color:#E6D88D; | ||
}} width:100%;" | }} width:100%;" | ||
− | |rowspan="2" width="148px" align="center"| {{# | + | |rowspan="2" width="148px" align="center"| {{#switch:{{{block|}}} |
+ | |InsufficientExplanation | ||
+ | |NewVersion | ||
+ | |RC | ||
+ | |True=<big>'''Blocked</big><br /> }}[[Image:{{#switch:{{lc:{{{rating}}}}} |dislike=RatedDislike |hate |oppose=RatedOppose |like=RatedLike |love |favor=RatedFavor |neither=RatedNeutral |neutral=RatedNeutral}}.png|74px|link=Project:Rating Articles]]{{#if:{{{block|}}} |<br /><big>Rating</big> | ||
+ | |[[Image:{{#switch:{{lc:{{{rating}}}}} |dislike=RatedDislike |hate |oppose=RatedOppose |like=RatedLike |love |favor=RatedFavor |neither=RatedNeutral |neutral=RatedNeutral}}.png|148px|link=Project:Rating Articles]] | ||
+ | }} | ||
!align="center" style= "font-size: x-large; padding: 0; height: 1.1em; {{#switch:{{{block|}}} | !align="center" style= "font-size: x-large; padding: 0; height: 1.1em; {{#switch:{{{block|}}} | ||
|InsufficientExplanation | |InsufficientExplanation | ||
Line 32: | Line 38: | ||
|True=[[Category:Legacy Rating {{{rater}}}]] | |True=[[Category:Legacy Rating {{{rater}}}]] | ||
| | | | ||
− | }}{{# | + | }}{{#switch:{{{block|}}} |
+ | |InsufficientExplanation | ||
+ | |NewVersion | ||
+ | |RC | ||
+ | |True=[[UncountedRating::{{{rater}}}| ]] | ||
+ | |{{#switch:{{lc:{{{rating}}}}}|dislike=[[Disliked::{{{rater}}}| ]]|hate |oppose=[[Opposed::{{{rater}}}| ]]|like=[[Liked::{{{rater}}}| ]]|love |favor=[[Favored::{{{rater}}}| ]]|neither=[[Neutral::{{{rater}}}| ]]|neutral=[[Neutral::{{{rater}}}| ]]|}} | ||
+ | }} | ||
</includeonly><noinclude>{{documentation}}</noinclude> | </includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 05:43, 17 August 2013
Template documentation (for the above template, sometimes hidden or invisible)
Contents
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).}}
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.}}
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.}}
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 Rating |
RandomUser opposes this article and rated it 0 of 4. |
---|---|
|
Visit Template:Rating/doc to edit this text! (How does this work?)