Difference between revisions of "Template:Star/doc"
From SpiralKnights
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 is a documentation subpage for Template:Star (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
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}}
★★★☆☆