Template:TColor/doc: Difference between revisions

From [N8]
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(5 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===
'''Without background''':
'''Without background''':
{{t|TColor|fuchsia|example text}} would output:
<pre>{{TColor|fuchsia|example text}}</pre>


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


'''With background'''
'''With background'''
{{t|TColor|white|example text|gray}} would output:
<pre>{{TColor|white|example text|green}}</pre>
 
{{TColor|white|example text|green}}<br>
 
'''More Examples:'''<br>
{{TColor|white|example text|black}}<br>
{{TColor|white|example text|blue}}<br>
{{TColor|gold|example text|maroon}}
 
'''With Formatting'''
<pre>{{TColor|fuchsia|'''example text'''}}</pre>


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


===Parameters===
===Parameters===
*<code>black</code> - {{TColor|black|text}}
*<code>silver</code> - {{TColor|silver|text}}
*<code>silver</code> - {{TColor|silver|text}}
*<code>gray</code> - {{TColor|gray|text}}
*<code>gray</code> - {{TColor|gray|text}}
Line 29: Line 43:
*<code>fuchsia</code> - {{TColor|fuchsia|text}}
*<code>fuchsia</code> - {{TColor|fuchsia|text}}
*<code>purple</code> - {{TColor|purple|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