Difference between revisions of "Template:Medal"

From comp.tf
Jump to navigation Jump to search
m
m
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span name="{{#switch:{{lc: {{{1|}}} }}
+
<includeonly>[[File:{{#switch:{{lc: {{{1|}}} }}
 
   |1
 
   |1
 
   |1st
 
   |1st
 
   |g
 
   |g
 
   |gold
 
   |gold
   |first = First Place
+
   |first = Gold_icon.png
 
   |2
 
   |2
 
   |2nd
 
   |2nd
Line 10: Line 10:
 
   |silver  
 
   |silver  
 
   |second
 
   |second
   |runner-up = Second Place
+
   |runner-up = Silver_icon.png
 
   |3
 
   |3
 
   |3rd
 
   |3rd
 
   |b
 
   |b
 
   |bronze
 
   |bronze
   |third = Third Place
+
   |third = Bronze icon.png
 
   |4
 
   |4
 
   |4th
 
   |4th
 
   |c
 
   |c
 
   |copper
 
   |copper
   |fourth = Fourth Place
+
   |fourth = Copper icon.png
 
   |sf
 
   |sf
 
   |3/4
 
   |3/4
Line 26: Line 26:
 
   |semifinal
 
   |semifinal
 
   |semifinalist
 
   |semifinalist
   |semifinalists = Semifinalist(s)
+
   |semifinalists = SF icon.png
 
   |award
 
   |award
 
   |title
 
   |title
   |titled = Title(s)
+
  |best
  |#default = {{{2|}}}
+
   |titled = Title icon.png
}}">[[File:{{#switch:{{lc: {{{1|}}} }}
+
}}|{{{4|16px}}}|{{#switch:{{lc: {{{1|}}} }}
 
   |1
 
   |1
 
   |1st
 
   |1st
 
   |g
 
   |g
 
   |gold
 
   |gold
   |first = Gold_icon.png
+
   |first = First Place
 
   |2
 
   |2
 
   |2nd
 
   |2nd
Line 42: Line 42:
 
   |silver  
 
   |silver  
 
   |second
 
   |second
   |runner-up = Silver_icon.png
+
   |runner-up = Second Place
 
   |3
 
   |3
 
   |3rd
 
   |3rd
 
   |b
 
   |b
 
   |bronze
 
   |bronze
   |third = Bronze icon.png
+
   |third = Third Place
 
   |4
 
   |4
 
   |4th
 
   |4th
 
   |c
 
   |c
 
   |copper
 
   |copper
   |fourth = Copper icon.png
+
   |fourth = Fourth Place
 
   |sf
 
   |sf
 
   |3/4
 
   |3/4
Line 58: Line 58:
 
   |semifinal
 
   |semifinal
 
   |semifinalist
 
   |semifinalist
   |semifinalists = SF icon.png
+
   |semifinalists = Semifinalist(s)
   |award
+
   <!-- |award
 
   |title
 
   |title
   |best
+
   |titled = Title(s) -->
   |titled = Title icon.png
+
   |#default = {{{2|}}}
}}|link={{{3|}}}]]</span></includeonly><noinclude>{{Documentation}}[[Category:Source Liquipedia]]</noinclude>
+
}}|link={{{3|}}}]]</includeonly><noinclude>{{Documentation}}[[Category:Source Liquipedia]]</noinclude>

Latest revision as of 07:54, 11 December 2019

(view - edit) Documentation

Usage

{{Medal|___|name|link|size}}

  • All parameters are unnamed
  • Name and link parameters are optional

Examples

  • {{Medal|1st}} First Place
  • {{Medal|2nd}} Second Place
  • {{Medal|3rd}} Third Place
  • {{Medal|4th||ESEA Season 23}} Fourth Place
  • {{Medal|SF|Season 25|ETF2L 6v6 Season 25}} Semifinalist(s)
  • {{Medal|Title|Offclasser of the Season}} Offclasser of the Season