Difference between revisions of "Template:Star"
(If the fuzzy background on the SummonCrestIcons was deliberate and should not be removed, tell me.) |
|||
Line 1: | Line 1: | ||
<span class="{{ #if: {{{xyz|}}} | rank }}stars" title="{{{1|?}}}">{{ | <span class="{{ #if: {{{xyz|}}} | rank }}stars" title="{{{1|?}}}">{{ | ||
#iferror: {{ #expr: {{{1}}} }} | #iferror: {{ #expr: {{{1}}} }} | ||
− | | [[File: | + | | [[File:{{ #if: {{{xyz|}}} | Rank | CG }}_Star Unknown.svg|18px|alt=]] |
| {{ | | {{ | ||
#switch: {{{medium}}} | #switch: {{{medium}}} | ||
Line 29: | Line 29: | ||
}} | }} | ||
| Labyrinth Game = {{Repeat|★|{{{1}}}}} | | Labyrinth Game = {{Repeat|★|{{{1}}}}} | ||
− | | #default = {{Repeat|[[File:{{ #ifexpr: {{{1}}} < 0 | | + | | #default = {{Repeat|[[File:{{ #ifexpr: {{{1}}} > 0 | CG }}{{ #ifexpr: {{{1}}} < 0 | Negative }}{{ #if: {{{xyz|}}} | Rank }}_Star.svg|18px|alt=]]|{{{1}}}}} |
}} | }} | ||
}} | }} |