Difference between revisions of "Template:text"
From pathCast
Line 7: | Line 7: | ||
# HTML element to use for the colored text block (default is span, use div for nested span elements) | # HTML element to use for the colored text block (default is span, use div for nested span elements) | ||
# if present, add an invisible blank line at the top (this helps with certain formatting errors) | # if present, add an invisible blank line at the top (this helps with certain formatting errors) | ||
− | <br/>{{ | + | <br/>{{text|Foo|teal|white}} |
{{text|Foo|red|blue|2}} | {{text|Foo|red|blue|2}} |
Latest revision as of 06:48, 6 September 2020
Template:CTRADMINColor text template function:
- text
- background color
- text color
- font size
- if present, URL encode = as %3D
- HTML element to use for the colored text block (default is span, use div for nested span elements)
- if present, add an invisible blank line at the top (this helps with certain formatting errors)
Foo
Foo
Bolded example: Foo
=== General ===
- A
- B
- A
- B
- A
- B