Difference between revisions of "Template:Star/doc"

From SpiralKnights

Jump to: navigation, search
m (Fix)
(Update instructions)
 
Line 1: Line 1:
 
<noinclude>{{documentation subpage}}</noinclude>
 
<noinclude>{{documentation subpage}}</noinclude>
This template is for graphically showing the star rating of items.
+
This template is for graphically showing the star rating of items.  It has an optional variable to choose the color of the stars.
  
 
== Usage ==
 
== Usage ==
Line 11: Line 11:
  
 
will render as {{star|3}}
 
will render as {{star|3}}
 +
 +
Optional color example:
 +
 +
<pre>{{star|3|color=6cb0b9}}</pre>
 +
 +
{{star|3|color=6cb0b9}}

Latest revision as of 13:58, 15 January 2011

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