Template:Star: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#switch: {{{star|1}}}|1=★|2=★★|3=★★★|4=★★★★|5=★★★★★}}</includeonly><noinclude> {{Documentation}} Category:Text Formatting Templates </noinclude>") |
m (Protected "Template:Star" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{ | <includeonly>{{#switch: {{{1}}} | ||
|1=★ | |||
|2=★★ | |||
|3=★★★ | |||
|4=★★★★ | |||
|5=★★★★★}}</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
[[Category:Text Formatting Templates]] | [[Category:Text Formatting Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 20:19, 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}}