Template:UStar


Template documentation
Note: portions of the template sample may not be visible without values provided.

{{UStar}} can show an empty star, a full star, or half a star. It is meant to be used for stats or ratings. The images originate from Pokémon UNITE, but the template is intended to be used for any situation, especially where a half-star may be needed. (Unicode contains ☆ and ★, but no widespread half-star.)

Parameters

Unnamed
  • 1: the type of star to show; defaults to 1
    • 0 for
    • 0.5 (or half) for
    • 1 for

TemplateData

This templates shows an empty, half, or full star icon for stats or ratings

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Value1

Which star to use

Suggested values
0 0.5 half 1
Default
0
Numberrequired

Examples

{{UStar}}	{{UStar|1}}	{{UStar|0.5}}	{{UStar|half}}	{{UStar|0}}