Difference between revisions of "Template:tc/doc"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "=== Usage === Tiny template to set the text colour. It can take 1 extra parameter. === Example === <pre> {{tc |#fff000 |This is the text to be coloured }} </pre> ;Which will...")
 
m (→‎Example)
Line 6: Line 6:
 
<pre>
 
<pre>
 
{{tc
 
{{tc
−
|#fff000
+
|#ff0000
 
|This is the text to be coloured
 
|This is the text to be coloured
 
}}
 
}}

Revision as of 19:05, 23 March 2018

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 will get this
This is the text to be coloured