Difference between revisions of "Template:Star/doc"
From SpiralKnights
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 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}}
★★★☆☆