Template:RaidStars: Difference between revisions
Jump to navigation
Jump to search
(Create Template:RaidStars) |
m (Update Template:RaidStars) |
||
| Line 1: | Line 1: | ||
<includeonly><span class="raid-stars">{{#switch:{{{1|}}}|1= | <includeonly><span class="raid-stars" style="display:inline-block;min-width:6.5em;text-align:center;vertical-align:middle;line-height:1;white-space:nowrap;">{{#switch:{{{1|}}}|1=★☆☆☆☆|2=★★☆☆☆|3=★★★☆☆|4=★★★★☆|5=★★★★★|#default={{{1|}}}}}{{#if:{{{2|}}}|-{{#switch:{{{2|}}}|1=★☆☆☆☆|2=★★☆☆☆|3=★★★☆☆|4=★★★★☆|5=★★★★★|#default={{{2}}}}}}}</span></includeonly><noinclude> | ||
Displays raid stars | Displays raid stars with filled and empty star glyphs. | ||
Usage: | Usage: | ||
* <code>{{RaidStars|3}}</code> renders three | * <code>{{RaidStars|3}}</code> renders a three-star value. | ||
* <code>{{RaidStars|3|5}}</code> renders a three-to-five-star range. | * <code>{{RaidStars|3|5}}</code> renders a three-to-five-star range. | ||
</noinclude> | </noinclude> | ||
[[Category:Auto-generated]] | [[Category:Auto-generated]] | ||
Latest revision as of 06:23, 27 May 2026
Displays raid stars with filled and empty star glyphs.
Usage:
★★★☆☆renders a three-star value.★★★☆☆-★★★★★renders a three-to-five-star range.