Template:TColor: Difference between revisions

From [N8]
Jump to navigation Jump to search
Created page with "<includeonly>{{#switch:{{{2|}}} |#default = #000000 |silver = #C0C0C0 |gray = #808080 |red = #FF0000 |maroon = #800000 |yellow = #FFFF00 |olive = #808000 |lime = #00FF00 |gree..."
 
mNo edit summary
Line 15: Line 15:
|fuchsia = #FF00FF
|fuchsia = #FF00FF
|purple = #800080
|purple = #800080
}}">'''{{{1}}}'''</includeonly><noinclude>
}}'''{{{1}}}'''</includeonly><noinclude>
{{/doc}}
{{/doc}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 18:46, 4 June 2020

Template documentation
This documentation is transcluded from Template:TColor/doc. [edit] [purge]

This makes text any color of the following color parameters.

Syntax

{{{TColor|<Text Color>|<Text>|<Background Color>(Optional)}}

Usage

Without background:

{{TColor|fuchsia|example text}}


  1. 000000fuchsia

With background

{{TColor|white|example text|green}}


  1. 000000white

More Examples:

  1. 000000white
  1. 000000white
  1. 000000gold

With Formatting

{{TColor|fuchsia|'''example text'''}}


  1. 000000fuchsia

Parameters

  • black -
  1. 000000black
  • silver -
  1. 000000silver
  • gray -
  1. 000000gray
  • red -
  1. 000000red
  • maroon -
  1. 000000maroon
  • yellow -
  1. 000000yellow
  • olive -
  1. 000000olive
  • lime -
  1. 000000lime
  • green -
  1. 000000green
  • aqua -
  1. 000000aqua
  • teal -
  1. 000000teal
  • blue -
  1. 000000blue
  • navy -
  1. 000000navy
  • fuchsia -
  1. 000000fuchsia
  • purple -
  1. 000000purple
  • gold -
  1. 000000gold
  • gemini -
  1. 000000gemini
  • orange -
  1. 000000orange