pathCast
Log in

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/>{{ColorText|Foo|teal|white}}
+
<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:

  1. text
  2. background color
  3. text color
  4. font size
  5. if present, URL encode = as %3D
  6. HTML element to use for the colored text block (default is span, use div for nested span elements)
  7. 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