Changes
whee simplification!
<span class="{{ #if:{{{rankxyz|}}}| <span class="rankstarsrank }}stars">{{ #iferror: {{ #expr: {{{rank1}}} }} | [[File:QuestionRankStarQuestion{{ #if: {{{xyz|}}} | Rank }}Star.svg|alt=]] | {{ #switch: {{{medium}}} | Manga | First series anime = {{Repeat|{{ #if: {{{xyz|}}} |☆| ★ }}|{{{rank1}}} }} | #default = {{ #switch: {{{game}}} | Bandai = {{Repeat|[[File:BandaiStar.svg|alt=]]|{{{1}}}}} | Dungeon Dice Monsters = [[File:SummonCrestIconLV{{{1}}}.png|25px|alt=]] | Capsule Monster Chess = [[File:CapMonLV{{{1}}}.png|25px|alt=]] | Early Duel Monsters = {{Repeat|<span>★</span>|{{{1}}} }} | #default = {{Repeat|[[File:RankStar{{ #ifexpr: {{{1}}} < 0 | Neg }}{{ #if: {{{xyz|}}} | Rank }}Star.svg|alt=]]|{{{rank1}}}}}
}}
[[Category:Templates|{{PAGENAME}}]]</noinclude>