Difference between revisions of "Template:TF2B"
m |
(Increased multilanguage compatibility.) |
||
Line 1: | Line 1: | ||
− | <includeonly><span style="font-size:{{{size}}}; color: {{{color}}} !important; font-family: TF2 Build, Verdana, Geneva, sans-serif;">{{{text}}}</span></includeonly> | + | <includeonly><span style="font-size:{{{size|18px}}}; line-height:{{{line-height|16px}}}; color: {{{color|black}}} !important; font-family: {{lang<!-- |
+ | |||
+ | // Specific fonts for some languages that aren't supported by the standard TF2 Build font. --> | ||
+ | | en = TF2 Build, Verdana, Geneva, sans-serif; | ||
+ | | hu = Verdana, Genva, sans-serif; font-weight: bold; | ||
+ | | ja = Shin Go, Heisei Kaku Gothic W5; font-weight: bold; | ||
+ | | ko = Pathang, sans-serif, Totum, Kodig, serif; font-weight: bold; | ||
+ | | zh-hans = SimSum-18030, SimHei, serif; font-weight: bold; | ||
+ | | zh-hant = PMingLiU, MingLiU, serif; font-weight: bold; | ||
+ | }}">{{{text}}}</span></includeonly> | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== |
Revision as of 02:49, 9 October 2010
Usage
{{TF2B|text=Lorem ipsum dolor sit amet.|size=20px|color=red}}
- produces:
Lorem ipsum dolor sit amet.