Template:PrizeMoneyRow: Difference between revisions
Template page
More actions
Esportsamaze (talk | contribs) No edit summary |
Esportsamaze (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<tr class="prize-row"> | <tr class="prize-row"> | ||
<td class="prize-rank-cell"> | <td class="prize-rank-cell"> | ||
{{#if:{{{ | {{#if:{{{award_name|}}} | ||
|<span class="award-badge">{{{ | | <span class="award-badge">{{{award_name}}}</span> | ||
|1=<i class="fas fa-trophy" style="color:#FFD700;"></i> | | {{#switch:{{{place}}} | ||
|2=<i class="fas fa-medal" style="color:#C0C0C0;"></i> | |1=<i class="fas fa-trophy" style="color:#FFD700;"></i> |2=<i class="fas fa-medal" style="color:#C0C0C0;"></i> |3=<i class="fas fa-medal" style="color:#CD7F32;"></i> |#default=<b>#{{{place}}}</b> | ||
|3=<i class="fas fa-medal" style="color:#CD7F32;"></i> | }} | ||
|#default=<b>#{{{place}}}</b> | }} | ||
}} | </td> | ||
}} | |||
</td> | |||
<td class="prize-money-cell"> | <td class="prize-money-cell"> | ||
₹ {{formatnum:{{{money|0}}}}} | |||
</td> | </td> | ||
<td class="prize-team-cell"> | <td class="prize-team-cell"> | ||
{{#if:{{{recipient|}}}| | {{#if:{{{recipient|}}}| | ||
<div class="recipient-flex"> | <div class="recipient-flex"> | ||
{{#ifexist:File:{{{recipient}}}.png | {{#ifexist:File:{{{recipient}}}.png | ||
|[[File:{{{recipient}}}.png|24px|link={{{recipient}}}|class=prize-logo]] | |[[File:{{{recipient}}}.png|24px|link={{{recipient}}}|class=prize-logo]] | ||
|[[File:Shield_team.png|24px|link={{{recipient}}}|class=prize-logo]] | |[[File:Shield_team.png|24px|link={{{recipient}}}|class=prize-logo]] | ||
}} | }} | ||
<span class="recipient-name">[[{{{recipient}}}]]</span> | <span class="recipient-name">[[{{{recipient}}}]]</span> | ||
</div> | </div> | ||
|<span class="tbd-text">TBD</span> | |<span class="tbd-text">TBD</span> | ||
}} | }} | ||
</td> | </td> | ||
</tr> | </tr> | ||
</includeonly> | </includeonly> | ||