Difference between revisions of "Template:tc/doc"

From WikiCorporates
Jump to navigation Jump to search
m
Line 13: Line 13:
 
</pre>
 
</pre>
  
−
;Which will give
+
;Which will give:
 
:{{tc|#ff0000|This is the text to be coloured}}
 
:{{tc|#ff0000|This is the text to be coloured}}
  
−
;Without a colour param, you will get this
+
;Without a colour param, you get this:
 
:{{tc|This is the text to be coloured}}
 
:{{tc|This is the text to be coloured}}
  
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>

Revision as of 21:37, 17 November 2019

<< Template:tc

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