Difference between revisions of "Template:tc"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "<span style="color:{{#if:{{{2|}}}|{{{1}}};">{{{2}}}|{{#if:{{{1|}}} |#008080;">{{{1}}}| }}}}</span><noinclude>{{doc2}}</noinclude>")
 
m (GrayanOne moved page Template:Tc to Template:tc without leaving a redirect)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<span style="color:{{#if:{{{2|}}}|{{{1}}};">{{{2}}}|{{#if:{{{1|}}} |#008080;">{{{1}}}| }}}}</span><noinclude>{{doc2}}</noinclude>
+
<span style="color:{{#if:{{{2|}}}|{{{1}}};">{{{2}}}|{{#if:{{{1|}}} |#ff00ff;">{{{1}}}| }}}}</span><noinclude>{{doc2}}</noinclude>

Latest revision as of 17:58, 11 June 2018

<span style="color:

[edit] Documentation

Usage

Tiny template to set the text colour.

It can take 1 extra parameter.

Example

{{tc
|#ff0000
|This is the text to be coloured
}}
Which will give
This is the text to be coloured
Without a colour param, you get this
This is the text to be coloured