Template:ThemeFont
From Dragon Mania Legends (DML) Wiki
Template documentation |
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this template's documentation. (About template documentation) |
Example(s)
{{div|{{ThemeFont|Example text}}|style=background:#ed9714}}
gives:
Example text
{{div|{{ThemeFont|Example text|25}}|style=background:#0078a0}}
gives:
Example text
{{ThemeFont|dark=yes|This is some content}}
gives:
This is some content
Styles text as the current theme font, with multiple backup fonts (white text, black drop-shadow). For use in specific places, not for use randomly in pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
(Content) 1 | 1 | Enter the text to style. | String | required |
(Override size) 2 | 2 | To override size, specify a size and a valid CSS unit of measure. | String | optional |
(Override) case | case | To override the default (uppercase), specify a valid CSS value for "text-transform".
| String | optional |