Difference between revisions of "Template:Medal"

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

Revision as of 21:51, 26 November 2016

(view - edit) Documentation

Usage

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

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

Examples

  • {{Medal|1st}} [[File:Gold_icon.png|link=]]
  • {{Medal|2nd}} [[File:Silver_icon.png|link=]]
  • {{Medal|3rd}} [[File:Bronze icon.png|link=]]
  • {{Medal|4th||ESEA Season 23}} [[File:Copper icon.png|link=]]
  • {{Medal|SF|Season 25|ETF2L 6v6 Season 25}} [[File:SF icon.png|link=Season 25]]
  • {{Medal|Title|Offclasser of the Season}} [[File:Title icon.png|link=Offclasser of the Season]]