Difference between revisions of "Template:Color"

From Game Detectives Wiki
Jump to: navigation, search
(Created page with "<includeonly><span style="color: {{#if:{{{1|}}}|{{{1}}}|red}};">{{{2}}}</span></includeonly><noinclude> <!-- Add categories and interwikis to the /doc subpage, not here! --> {...")
 
(No difference)

Latest revision as of 01:00, 31 May 2018

<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation[view] [edit] [history] [purge]

Usage

{{color|orange|Let's be careful}}

Let's be careful

{{color|#229944|Looks good}}

Looks good

<templatedata> { "params": { "1": { "description": "CSS color for text", "example": "#eee8aa", "type": "string", "default": "red" }, "2": { "description": "text to color", "example": "this appears colored", "required": true } }, "description": "Colors text" } </templatedata>

See also