Template:Icon/Stars: Difference between revisions

From Honkai: Nexus Anima Wiki
Jump to navigation Jump to search
Created page with "<includeonly>{{#switch:{{{1|1}}} |1 = 1 Star|x12px|link= |2|3|4|5 = [[File:Icon {{{1}}} Stars.png|{{{1}}} Stars|x12px|link=]] }}</includeonly><noinclude>{{Documentation|type=Infoicon}}</noinclude>"
 
mNo edit summary
 
Line 1: Line 1:
<includeonly>{{#switch:{{{1|1}}}
<includeonly>{{#switch:{{{1|1}}}
|1      = [[File:Icon 1 Stars.png|1 Star|x12px|link=]]
|1      = [[File:Icon 1 Stars.png|1 Star|x16px|link=]]
|2|3|4|5 = [[File:Icon {{{1}}} Stars.png|{{{1}}} Stars|x12px|link=]]
|2|3|4|5 = [[File:Icon {{{1}}} Stars.png|{{{1}}} Stars|x16px|link=]]
}}</includeonly><noinclude>{{Documentation|type=Infoicon}}</noinclude>
}}</includeonly><noinclude>{{Documentation|type=Infoicon}}</noinclude>

Latest revision as of 05:43, 17 September 2025

Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

This template is used to display 1-5 stars inline with article text.

Syntax

{{Icon/Stars|1/2/3/4/5}}

Examples

{{Icon/Stars}} yields: 1 Star
{{Icon/Stars|4}} yields: 4 Stars

Template Data

This template is used to display 1-5 stars inline with article text.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Star Count1

The number of stars to display.

Suggested values
1 2 3 4 5
Default
1
Numbersuggested