Template:TColor/doc: Difference between revisions

From [N8]
Jump to navigation Jump to search
Created page with "{{documentation}} This makes text bold and uses any of the following color parameters. ===Usage=== <pre> *<code>silver</code> *<code>gray</code> *<code>red</code> *<code>mar..."
 
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation}}
{{documentation}}


This makes text bold and uses any of the following color parameters.
This makes text any color of the following color parameters.
 
===Syntax===
<pre>{{{TColor|<Text Color>|<Text>|<Background Color>(Optional)}}</pre>


===Usage===
===Usage===
<pre>
'''Without background''':
*<code>silver</code>
<pre>{{TColor|fuchsia|example text}}</pre>
*<code>gray</code>
 
*<code>red</code>
{{TColor|fuchsia|example text}}
*<code>maroon</code>
 
*<code>yellow</code>
'''With background'''
*<code>olive</code>
<pre>{{TColor|white|example text|green}}</pre>
*<code>lime</code>
 
*<code>green</code>
{{TColor|white|example text|green}}<br>
*<code>aqua</code>
 
*<code>teal</code>
'''More Examples:'''<br>
*<code>blue</code>
{{TColor|white|example text|black}}<br>
*<code>navy</code>
{{TColor|white|example text|blue}}<br>
*<code>fuchsia</code>
{{TColor|gold|example text|maroon}}
*<code>purple</code>
 
</pre>
'''With Formatting'''
<pre>{{TColor|fuchsia|'''example text'''}}</pre>
 
{{TColor|fuchsia|'''example text'''}}
 
===Parameters===
*<code>black</code> - {{TColor|black|text}}
*<code>silver</code> - {{TColor|silver|text}}
*<code>gray</code> - {{TColor|gray|text}}
*<code>red</code> - {{TColor|red|text}}
*<code>maroon</code> - {{TColor|maroon|text}}
*<code>yellow</code> - {{TColor|yellow|text}}
*<code>olive</code> - {{TColor|olive|text}}
*<code>lime</code> - {{TColor|lime|text}}
*<code>green</code> - {{TColor|green|text}}
*<code>aqua</code> - {{TColor|aqua|text}}
*<code>teal</code> - {{TColor|teal|text}}
*<code>blue</code> - {{TColor|blue|text}}
*<code>navy</code> - {{TColor|navy|text}}
*<code>fuchsia</code> - {{TColor|fuchsia|text}}
*<code>purple</code> - {{TColor|purple|text}}
*<code>gold</code> - {{TColor|gold|text}}
*<code>gemini</code> - {{TColor|gemini|text}}
*<code>orange</code> - {{TColor|orange|text}}

Latest revision as of 20:49, 4 June 2020

This is a documentation subpage for Template:TColor.
It contains usage information, categories, and other content that is not part of the original template page.

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}}

example text

With background

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

example text

More Examples:
example text
example text
example text

With Formatting

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

example text

Parameters

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