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> | ||
< | <div class="prize-row"> | ||
< | <div class="col-rank"> | ||
{{#if:{{{award_name|}}} | {{#if:{{{award_name|}}} | ||
| <span class="award-badge"> | | <span class="award-badge">Award</span> | ||
| {{#switch:{{{place}}} | | {{#switch:{{{place}}} | ||
|1=<i class="fas fa-trophy" style="color:#FFD700;"></i> |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=#{{{place}}} | |||
}} | }} | ||
}} | }} | ||
</ | </div> | ||
< | <div class="col-money"> | ||
₹ {{formatnum:{{{money|0}}}}} | ₹ {{formatnum:{{{money|0}}}}} | ||
</ | </div> | ||
< | <div class="col-team"> | ||
{{#if:{{{award_name|}}} | |||
| <span style="margin-right:10px; color:var(--text-muted); font-size:0.9em;">{{{award_name}}}:</span> | |||
}} | |||
{{#if:{{{recipient|}}}| | {{#if:{{{recipient|}}}| | ||
{{#ifexist:File:{{{recipient}}}.png | |||
|[[File:{{{recipient}}}.png|class=prize-logo|link={{{recipient}}}]] | |||
|[[File:Shield_team.png|class=prize-logo|link={{{recipient}}}]] | |||
}} | |||
[[{{{recipient}}}]] | |||
|<span style="color:#888;">TBD</span>}} | |||
</div> | |||
</div> | |||
</ | |||
</ | |||
</includeonly> | </includeonly> | ||