Difference between revisions of "Template:tc/doc"
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...") |
|||
| (7 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
<pre> | <pre> | ||
{{tc | {{tc | ||
| − | |# | + | |#ff0000 |
|This is the text to be coloured | |This is the text to be coloured | ||
}} | }} | ||
</pre> | </pre> | ||
| − | ;Which will give | + | ;Which will give: |
| − | :{{tc|# | + | :{{tc|#ff0000|This is the text to be coloured}} |
| − | ;Without a colour param, you | + | ;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: | + | <includeonly>[[Category:WikiCorporates templates]]</includeonly> |
Latest revision as of 14:46, 30 May 2020
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