Template:Rating/testcases

{{Rating|4|5}}
{{Rating|4|5}}
4/5 stars
Expanded code
<span role="img" style="white-space:nowrap" title="4/5&#32;stars">[[File:Star full.svg|11px|link=|4/5&#32;stars|alt=]][[File:Star full.svg|11px|link=|alt=]][[File:Star full.svg|11px|link=|alt=]][[File:Star full.svg|11px|link=|alt=]][[File:Star empty.svg|11px|link=|alt=]]</span>
<span role="img" style="white-space:nowrap" title="4/5&#32;stars">[[File:Star full.svg|11px|link=|4/5&#32;stars]][[File:Star full.svg|11px|link=|alt=]][[File:Star full.svg|11px|link=|alt=]][[File:Star full.svg|11px|link=|alt=]][[File:Star empty.svg|11px|link=|alt=]]</span>
{{Rating|4|5|full=Gold medal icon blank.svg|empty=Silver medal icon blank.svg|rating=medal}}
{{Rating|4|5|full=Gold medal icon blank.svg|empty=Silver medal icon blank.svg|rating=medal}}
4/5 medals
Expanded code
<span role="img" style="white-space:nowrap" title="4/5&#32;medals">[[File:Gold medal icon blank.svg|11px|link=|4/5&#32;medals|alt=]][[File:Gold medal icon blank.svg|11px|link=|alt=]][[File:Gold medal icon blank.svg|11px|link=|alt=]][[File:Gold medal icon blank.svg|11px|link=|alt=]][[File:Silver medal icon blank.svg|11px|link=|alt=]]</span>
<span role="img" style="white-space:nowrap" title="4/5&#32;medals">[[File:Gold medal icon blank.svg|11px|link=|4/5&#32;medals]][[File:Gold medal icon blank.svg|11px|link=|alt=]][[File:Gold medal icon blank.svg|11px|link=|alt=]][[File:Gold medal icon blank.svg|11px|link=|alt=]][[File:Silver medal icon blank.svg|11px|link=|alt=]]</span>
{{Rating|3.5|5|full=U+25CF.svg|half=U+25D0.svg|empty=Symbol wind speed 00.svg|rating=mark}}
{{Rating|3.5|5|full=U+25CF.svg|half=U+25D0.svg|empty=Symbol wind speed 00.svg|rating=mark}}
3.5/5 marks
Expanded code
<span role="img" style="white-space:nowrap" title="3.5/5&#32;marks">[[File:U+25CF.svg|11px|link=|3.5/5&#32;marks|alt=]][[File:U+25CF.svg|11px|link=|alt=]][[File:U+25CF.svg|11px|link=|alt=]][[File:U+25D0.svg|11px|link=|alt=]][[File:Symbol wind speed 00.svg|11px|link=|alt=]]</span>
<span role="img" style="white-space:nowrap" title="3.5/5&#32;marks">[[File:U+25CF.svg|11px|link=|3.5/5&#32;marks]][[File:U+25CF.svg|11px|link=|alt=]][[File:U+25CF.svg|11px|link=|alt=]][[File:U+25D0.svg|11px|link=|alt=]][[File:Symbol wind speed 00.svg|11px|link=|alt=]]</span>
{{Rating|2.5|5|full=Disc Plain red.svg|half=Cercle rouge 100%.svg|empty=Plain Disc 40% grey or 20% black.svg|rating=mark}}
{{Rating|2.5|5|full=Disc Plain red.svg|half=Cercle rouge 100%.svg|empty=Plain Disc 40% grey or 20% black.svg|rating=mark}}
2.5/5 marks
Expanded code
<span role="img" style="white-space:nowrap" title="2.5/5&#32;marks">[[File:Disc Plain red.svg|11px|link=|2.5/5&#32;marks|alt=]][[File:Disc Plain red.svg|11px|link=|alt=]][[File:Cercle rouge 100%.svg|11px|link=|alt=]][[File:Plain Disc 40% grey or 20% black.svg|11px|link=|alt=]][[File:Plain Disc 40% grey or 20% black.svg|11px|link=|alt=]]</span>
<span role="img" style="white-space:nowrap" title="2.5/5&#32;marks">[[File:Disc Plain red.svg|11px|link=|2.5/5&#32;marks]][[File:Disc Plain red.svg|11px|link=|alt=]][[File:Cercle rouge 100%.svg|11px|link=|alt=]][[File:Plain Disc 40% grey or 20% black.svg|11px|link=|alt=]][[File:Plain Disc 40% grey or 20% black.svg|11px|link=|alt=]]</span>
{{Rating|2|full=Symbol thumbs up.svg|rating=thumb up|rating-plural=thumbs up}}
{{Rating|2|full=Symbol thumbs up.svg|rating=thumb up|rating-plural=thumbs up}}
2 thumbs up
Expanded code
<span role="img" style="white-space:nowrap" title="2&#32;thumbs up">[[File:Symbol thumbs up.svg|11px|link=|2&#32;thumbs up|alt=]][[File:Symbol thumbs up.svg|11px|link=|alt=]]</span>
<span role="img" style="white-space:nowrap" title="2&#32;thumbs up">[[File:Symbol thumbs up.svg|11px|link=|2&#32;thumbs up]][[File:Symbol thumbs up.svg|11px|link=|alt=]]</span>
{{Rating|1|full=Symbol thumbs up.svg|rating=thumb up|rating-plural=thumbs up|size=20px}}
{{Rating|1|full=Symbol thumbs up.svg|rating=thumb up|rating-plural=thumbs up|size=20px}}
1 thumb up
Expanded code
<span role="img" style="white-space:nowrap" title="1&#32;thumb up">[[File:Symbol thumbs up.svg|20px|link=|1&#32;thumb up|alt=]]</span>
<span role="img" style="white-space:nowrap" title="1&#32;thumb up">[[File:Symbol thumbs up.svg|20px|link=|1&#32;thumb up]]</span>
{{Rating}}
{{Rating}}
Please specify a rating.
Please specify a rating.
Expanded code
<span class="error">Please specify a '''rating'''.</span>
<span class="error">Please specify a '''rating'''.</span>