Help:Using colours: Difference between revisions

Content deleted Content added
Undid revision 1259609087 by 83.169.224.231 (talk) unexplained
Tags: Undo Mobile edit Mobile app edit iOS app edit App undo
Line 22:
[[Template:Font color]], or its redirect [[Template:Font colour]], can also be used.
<code><nowiki>{{tlx|Font colour|fontcolour|backgroundcolour|Your text here}}</nowiki></code>
 
{{markup
{| class="wikitable" style="width:100%; text-align:left;"
|&nbsp;&nbsp;<code><nowiki>{{font color|red|yellow|This text is different}}</nowiki></code>
! style="width: 450px" | Example
|{{font color|red|yellow|This text is different}}<br /> to change text-color andonly background(Note: colordo not style text as a link)
! Result
|&nbsp;&nbsp;<code><nowiki>{{font color|red|yellow|This text is different}}</nowiki></code>
|- style="background-color: #fff; height: 80px;"
|&nbsp;&nbsp;<code><nowiki>{{font color|red|yellow|This text is different}}</nowiki></codebr>to change text and background color
|<nowiki>{{font color|red|yellow|This text is different}}<br /nowiki>to change text-color only (Note: do not style text as a link)
|{{font color||yellow|This text is different}}<br />to change background color only<br />'''note''' the two pipe-characters <code>&#124;&#124;</code>
|-style="background-color: #fff; height: 80px; padding-left: 6px;"
|}}
|&nbsp;&nbsp;<code><nowiki>{{font color|red|yellow|This text is different}}</nowiki></code>
|{{font color|red|yellow|This text is different}}<br /> to change text and background color
|-style="background-color: #fff; height: 80px; padding-left: 6px;"
|&nbsp;&nbsp;<code><nowiki>{{font color||yellow|This text is different}}</nowiki></code>
|{{font color||yellow|This text is different}}<br />to change background color only<br />'''note''' the two pipe-characters <code>&#124;&#124;</code>
|}
 
==<span id="Color generation guide">Colour generation guide</span>==