Template:format
From Homestar Runner Wiki
(Difference between revisions)
(add support for "top" relative positioning) |
It's dot com (Talk | contribs) (tbd) |
||
Line 1: | Line 1: | ||
- | <span style="<!-- | + | <noinclude>{{tbd}}</noinclude><span style="<!-- |
-->{{#if:{{{2|}}}|background: {{{2}}};|}} <!-- | -->{{#if:{{{2|}}}|background: {{{2}}};|}} <!-- | ||
-->{{#if:{{{1|}}}|color: {{{1}}};|}} <!-- | -->{{#if:{{{1|}}}|color: {{{1}}};|}} <!-- |
Current revision as of 03:59, 3 February 2023
{{{3}}}
[edit] Usage
Gives text a foreground and background color. Both are CSS values.
- Original Use:
{{colors|foreground|background|text}}
- Alternate use:
{{format|foreground|background|t=text|size=font size|shadow=shadow settings|padding=padding|float=float value|top=relative top position}}
- Note: All parameters except the text are optional