Difference between revisions of "Template:Star/doc"

From SpiralKnights

Jump to: navigation, search
m (Create)
 
(Update instructions)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template is for graphically showing the star rating of items.
+
<noinclude>{{documentation subpage}}</noinclude>
 +
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 10: 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