Difference between revisions of "Template:Colored Text"

From Krafties
Jump to navigation Jump to search
(Created page with "<onlyinclude>{{Span |property=color:#{{{color}}}; |text={{{text}}} }}</onlyinclude> {{Documentation}}")
 
m (Protected "Template:Colored Text" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>{{Span
+
<onlyinclude><span style="font-color:{{{color|}}};">{{{text|}}}</span></onlyinclude>
|property=color:#{{{color}}};
 
|text={{{text}}}
 
}}</onlyinclude>
 
 
{{Documentation}}
 
{{Documentation}}

Latest revision as of 05:40, 5 May 2017

Documentation icon Template documentation ( view · talk · edit)


Just a template that lets you easily apply a <span>...</span> to apply color to text.

Usage

  • color= It would defeat the point of using this template if you didn't fill in color value
  • text=
The above documentation is transcluded from Template:Colored Text/doc.
Editors can experiment in this template's sandbox
Please add categories to the /doc subpage within <includeonly>...</includeonly>