Template:Font-Family

From UO Endurance
Revision as of 20:12, 15 November 2025 by EnduranceWiki (talk | contribs) (Created page with "<noinclude>{{Template Overview |usedon=all |purpose=change the font family of a span of text |template=<nowiki>{{Font-Family |fontfamily= |text= }}</nowiki> |category=Utility }} {{Template Parameter |name=fontfamily |usage=mandatory |takes=a string or strings |denotes=the font family to be used to render the text |generates=the value for the "font-family" CSS property in the span |validvalues=Any string or strings that correspond to valid CSS "font-family" values. }} {{T...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Font-Family is designed for use on all pages to change the font family of a span of text.

Template

{{Font-Family
|fontfamily=
|text=
}}

Parameters

{{#fornumargs: key | value | [[Category:{{#var: value}}|Font-Family]] }}

fontfamily

  • Usage: Mandatory
  • Description: The fontfamily parameter takes a string or strings denoting the font family to be used to render the text. This is used to generate the value for the "font-family" CSS property in the span.
  • Valid Value(s): Any string or strings that correspond to valid CSS "font-family" values.

text

  • Usage: Mandatory
  • Description: The text parameter takes a string or strings denoting the text to be rendered using the supplied "font-family" value. This is used to generate the actual displayed text.
  • Valid Value(s): Any string or strings.