Difference between revisions of "Template:Star"

From SpiralKnights

Jump to: navigation, search
m (Switch to {{documentation}})
Line 1: Line 1:
<big>{{#switch: {{{1|3}}}|0=☆☆☆☆☆|1=★☆☆☆☆|2=★★☆☆☆|3=★★★☆☆|4=★★★★☆|5=★★★★★|☆☆☆☆☆=☆☆☆☆☆|★☆☆☆☆=★☆☆☆☆|★★☆☆☆=★★☆☆☆|★★★☆☆=★★★☆☆|★★★★☆=★★★★☆|★★★★★=★★★★★}}</big><noinclude>
+
<big>{{#switch: {{{1|3}}}|0=☆☆☆☆☆|1=★☆☆☆☆|2=★★☆☆☆|3=★★★☆☆|4=★★★★☆|5=★★★★★|☆☆☆☆☆=☆☆☆☆☆|★☆☆☆☆=★☆☆☆☆|★★☆☆☆=★★☆☆☆|★★★☆☆=★★★☆☆|★★★★☆=★★★★☆|★★★★★=★★★★★}}</big><noinclude>{{documentation}}</noinclude>
 
+
'''To use this template simply put <nowiki> {{star|#}}</nowiki> and replace # with the number of stars. For example, <nowiki>{{star|3}}</nowiki> will render as {{star|3}}'''</noinclude>
+

Revision as of 22:43, 31 December 2010

★★★☆☆
[edit] [purge] Template documentation

This template is for graphically showing the star rating of items. It has an optional variable to choose the color of the stars.

Usage

To use this template simply put {{star|#}} and replace # with the number of stars.

Example:

{{star|3}}

will render as ★★★☆☆

Optional color example:

{{star|3|color=6cb0b9}}

★★★☆☆

Personal tools