Difference between revisions of "Template:Medal/doc"

From comp.tf
Jump to navigation Jump to search
(Documentation)
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Usage ==
 
== Usage ==
;{{Medal
+
<code><nowiki>{{Medal|</nowiki>'''<nowiki>___</nowiki>'''<nowiki>|</nowiki>''<nowiki>name</nowiki>''<nowiki>|</nowiki>''<nowiki>link</nowiki>''<nowiki>|</nowiki>''<nowiki>size</nowiki>''<nowiki>}}</nowiki></code>
:To summon the template
+
* All parameters are unnamed
;|<value>
+
* Name and link parameters are optional
:To insert your desired value. Values include '''1st''', '''2nd''', '''3rd''', '''4th''', '''sf''' and '''title'''
+
== Examples ==
;}}
+
* <code><nowiki>{{Medal|1st}}</nowiki></code> {{Medal|1st}}
:To end the template.
+
* <code><nowiki>{{Medal|2nd}}</nowiki></code> {{Medal|2nd}}
 
+
* <code><nowiki>{{Medal|3rd}}</nowiki></code> {{Medal|3rd}}
== Example ==
+
* <code><nowiki>{{Medal|4th||ESEA Season 23}}</nowiki></code> {{Medal|4th||ESEA Season 23}}
<pre>{{Medal|1st}} {{Medal|2nd}} {{Medal|3rd}} {{Medal|4th}} {{Medal|sf}} {{Medal|title}}</pre>
+
* <code><nowiki>{{Medal|SF|Season 25|ETF2L 6v6 Season 25}}</nowiki></code> {{Medal|SF|Season 25|ETF2L 6v6 Season 25}}
 
+
* <code><nowiki>{{Medal|Title|Offclasser of the Season}}</nowiki></code> {{Medal|Title|Offclasser of the Season}}
Produces:
 
{{Medal|1st}} {{Medal|2nd}} {{Medal|3rd}} {{Medal|4th}} {{Medal|sf}} {{Medal|title}}
 

Latest revision as of 07:30, 11 December 2019

Usage[edit]

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

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

Examples[edit]

  • {{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