Difference between revisions of "Template:Star"
(Classes) |
(fix) |
||
Line 1: | Line 1: | ||
− | {{ #if:{{{rank|}}} | + | {{ #if:{{{rank|x}}} |
− | | <span class="rankstars">{{ #iferror: +{{{rank}}} | + | | <span class="rankstars">{{ #iferror: {{ #expr: +{{{rank}}} }} |
| [[File:QuestionRankStar.svg|alt=]] | | [[File:QuestionRankStar.svg|alt=]] | ||
| {{ #switch: {{{medium}}} | | {{ #switch: {{{medium}}} | ||
Line 7: | Line 7: | ||
}} | }} | ||
}}</span> | }}</span> | ||
− | | <span class="stars">{{ #iferror: +{{{level}}} | + | | <span class="stars">{{ #iferror: {{ #expr: +{{{level}}} }} |
| [[File:QuestionStar.svg|alt=]] | | [[File:QuestionStar.svg|alt=]] | ||
| {{ #switch: {{{game|}}} | | {{ #switch: {{{game|}}} |