Difference between revisions of "Template:Rating"
From Dungeons and Dragons Wiki
Tarkisflux (talk | contribs) m |
Tarkisflux (talk | contribs) m |
||
Line 3: | Line 3: | ||
!align="center" style= "font-size: x-large; padding: 0; height: 1.1em; border-color:#E6D88D; background-color: #2=E6D88D; color:#003F87;" |[[User:{{{rater}}}|{{{rater}}}]] {{#switch: {{{rating}}} |dislike=dislikes this article and rated it 1 of 4. | hate=hates this article and rated it 0 of 4. | like=likes this article and rated it 3 of 4. |love=loves this article and rated it 4 of 4! |neither=is neutral on this article and rated it 2 of 4. |neutral=is neutral on this article and rated it 2 of 4. |needs to review the rating '''[[Template:Rating|directions]]'''[[Category:Malformed Ratings]].}} | !align="center" style= "font-size: x-large; padding: 0; height: 1.1em; border-color:#E6D88D; background-color: #2=E6D88D; color:#003F87;" |[[User:{{{rater}}}|{{{rater}}}]] {{#switch: {{{rating}}} |dislike=dislikes this article and rated it 1 of 4. | hate=hates this article and rated it 0 of 4. | like=likes this article and rated it 3 of 4. |love=loves this article and rated it 4 of 4! |neither=is neutral on this article and rated it 2 of 4. |neutral=is neutral on this article and rated it 2 of 4. |needs to review the rating '''[[Template:Rating|directions]]'''[[Category:Malformed Ratings]].}} | ||
|- | |- | ||
− | | style= "vertical-align: top; border-top: 1px solid; border-color:#003F87;" | | + | | style= "vertical-align: top; border-top: 1px solid; border-color:#003F87;" | {{#switch: {{{OldRating|}}}|True='''''Note that this is a legacy rating from before our current ratings scale, and may be updated. It is counted in the ratings on the article page.'''''<br />|NewVersion='''''This rating refers to a substantially different version of the article, and is not counted in the ratings on the article page.'''''<br />|}}Here's why - {{{reason|They didn't actually write anything here. They could add it by adding |reason=<stuff> to their rating (per the [[Template:Rating|directions]]) before the rating is removed.}}} |
|}{{#ifeq: {{{OldRating|}}}|True|[[Category:Legacy Rating {{{rater}}}]]}}{{#ifeq: {{{OldRating|}}}|NewVersion|[[UncountedRating::{{{rater}}}| ]]|{{#if:{{{rater|}}}|{{#switch:{{{rating}}}|dislike=[[Disliked::{{{rater}}}| ]]|hate=[[Hated::{{{rater}}}| ]]|like=[[Liked::{{{rater}}}| ]]|love=[[Loved::{{{rater}}}| ]]|neither=[[Neutral::{{{rater}}}| ]]|neutral=[[Neutral::{{{rater}}}| ]]|}}}}}} | |}{{#ifeq: {{{OldRating|}}}|True|[[Category:Legacy Rating {{{rater}}}]]}}{{#ifeq: {{{OldRating|}}}|NewVersion|[[UncountedRating::{{{rater}}}| ]]|{{#if:{{{rater|}}}|{{#switch:{{{rating}}}|dislike=[[Disliked::{{{rater}}}| ]]|hate=[[Hated::{{{rater}}}| ]]|like=[[Liked::{{{rater}}}| ]]|love=[[Loved::{{{rater}}}| ]]|neither=[[Neutral::{{{rater}}}| ]]|neutral=[[Neutral::{{{rater}}}| ]]|}}}}}} | ||
</includeonly><noinclude>{{documentation}}</noinclude> | </includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 01:59, 1 August 2012
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?)