Difference between revisions of "Template:Color"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
m (Importing documentary from WiKirby)
m
Line 1: Line 1:
<span style="color:{{{1|}}}">{{{2|}}}</span>
<span style="color:{{{1|}}}">{{{2|}}}</span><noinclude>
<noinclude>


==Info==
==Info==

Revision as of 00:19, 12 May 2022

Info

Use this as an easy way to color text. From WiKirby.

Usage

To use this template, type: {{color|colorname/code|text}}

Where:

  • colorname/code is the color you want the text to be.
  • text is the desired text to color.

For colors, there are two methods. One way is with names.
For example, {{Color|Red|Text}} will produce:

Text

The other way is with hex codes. The way to use it is with a sharp symbol #, followed by six characters corresponding to one color.
For example, {{Color|#00CC00|Text}} will produce:

Text