Template:Color

Everything About Fiction You Never Wanted to Know.
Jump to navigation Jump to search

Template documentation[view] [edit] [history] [purge]

Usage

{{color|<name of color>|text}}

Does not work properly with wiki worded text, use only on plain text.

Features

With two parameters, the first parameter sets the text color, and the second parameter is the text to be displayed. For example, {{color|red|yellow}} gives: yellow

With three parameters, the first parameter sets the text color, the second parameter sets the background color, and the third parameter is the text to be displayed. For example,
{{color|red|yellow|blue}} gives: blue

Parameters will also accept hex codes. For instance, {{color|#016789|#78deef|text such as this}} gives: text such as this