Template:Star: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#switch:
<includeonly>{{#switch: {{{1}}}
{{{star|1}}}|1=★|2=★★|3=★★★|4=★★★★|5=★★★★★}}</includeonly><noinclude>
|1=★
|2=★★
|3=★★★
|4=★★★★
|5=★★★★★}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Text Formatting Templates]]
[[Category:Text Formatting Templates]]
</noinclude>
</noinclude>

Revision as of 20:02, 9 August 2023

Purpose

Template used to display a number of unicode black stars (★) by the value entered, used for Rarity data in tables such as Template:Dx2 Demon List. This can display between 1 to 5 stars.

Usage

Value Output
1
2 ★★
3 ★★★
4 ★★★★
5 ★★★★★

Code

{{Star|1}}