Template:Color/doc: Difference between revisions

From Songs of Syx Wiki
Jump to navigation Jump to search
(Created page with "{{documentation |This template makes colored text. One can use either the color name or an HTML RGB code.<br> '''''Note: This may cause unwanted line breaks.''''' |<code><nowi...")
 
No edit summary
 
Line 1: Line 1:
{{documentation
{{documentation
|This template makes colored text. One can use either the color name or an HTML RGB code.<br>
|This template makes colored text. One can use either the color name or an HTML #rgb code.<br>
'''''Note: This may cause unwanted line breaks.'''''
'''''Note: This may cause unwanted line breaks.'''''
|<code><nowiki>{{color|<text>|<color name or HTML code>}}</nowiki></code>
|<code><nowiki>{{color|<text>|<color name or HTML code>}}</nowiki></code>

Latest revision as of 00:54, 22 November 2021

Template Documentation

Description

This template makes colored text. One can use either the color name or an HTML #rgb code.
Note: This may cause unwanted line breaks.

Syntax

{{color|<text>|<color name or HTML code>}}

Examples

{{color|This very text will come out purple.|#ffaaff}}
Output: This very text will come out purple.
{{color|And this second example will come out lime green.|lime}}
Output: And this second example will come out lime green.