Difference between revisions of "Template:TF2B"

From Team Fortress Wiki
Jump to: navigation, search
(no period)
m (Not every language has a custom font.)
Line 1: Line 1:
 
<span style="font-size:{{{size|18px}}}; line-height:{{{line-height|16px}}};<!--  
 
<span style="font-size:{{{size|18px}}}; line-height:{{{line-height|16px}}};<!--  
 
       -->{{#if:{{{quality|}}}||color:{{{color|#000}}};}}<!--  
 
       -->{{#if:{{{quality|}}}||color:{{{color|#000}}};}}<!--  
       -->font-family: {{lang | plain = yes | {{#if:{{{override|}}}|force|null}} = {{{override|}}}<!--  
+
       -->font-family: {{lang incomplete | plain = yes | {{#if:{{{override|}}}|force|null}} = {{{override|}}}<!--  
 
       // Specific fonts for some languages that aren't supported by the standard TF2 Build font. -->
 
       // Specific fonts for some languages that aren't supported by the standard TF2 Build font. -->
 
       | en = TF2 Build, Verdana, Geneva, sans-serif;
 
       | en = TF2 Build, Verdana, Geneva, sans-serif;

Revision as of 10:56, 13 February 2022

Sample text

Documentation for TF2B

{{TF2B}} can display text in the TF2 Build font.

Parameters

{{TF2B|text = Sample text|color = #000|quality = none|size = 18px|line-height = 16px|style = optional}}

Example usages

  • {{TF2B|Lorem ipsum}} generates: Lorem ipsum
  • {{TF2B|Vintage Lorem Ipsum|quality=vintage}} generates: Vintage Lorem Ipsum
  • {{TF2B|Lorem ipsum|color=red}} generates: Lorem ipsum
  • {{TF2B|Lorem ipsum|size=2em}} generates: Lorem ipsum