Difference between revisions of "Template:Star"
(don't need these pipes) |
(whee simplification!) |
||
Line 1: | Line 1: | ||
− | {{ #if:{{{ | + | <span class="{{ #if: {{{xyz|}}} | rank }}stars">{{ |
− | | | + | #iferror: {{ #expr: {{{1}}} }} |
− | | [[File: | + | | [[File:Question{{ #if: {{{xyz|}}} | Rank }}Star.svg|alt=]] |
− | | {{ #switch: {{{medium}}} | + | | {{ |
− | | Manga | + | #switch: {{{medium}}} |
− | | #default = {{Repeat|[[File: | + | | Manga |
+ | | First series anime = {{Repeat|{{ #if: {{{xyz|}}} | ☆ | ★ }}|{{{1}}}}} | ||
+ | | #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:{{ #ifexpr: {{{1}}} < 0 | Neg }}{{ #if: {{{xyz|}}} | Rank }}Star.svg|alt=]]|{{{1}}}}} | ||
}} | }} | ||
− | + | }} | |
− | + | }}</span><noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Templates|{{PAGENAME}}]]</noinclude> | [[Category:Templates|{{PAGENAME}}]]</noinclude> |