Site News
Warning: This wiki contains spoilers. Read at your own risk!

Social media: If you would like, please join our Discord server, and/or follow us on Twitter (X) or Tumblr!

Template:Color: Difference between revisions

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
m (Changed protection level for "Template:Color" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
m (Text replacement - "Formatting Templates" to "Formatting templates")
Tags: Mobile edit Mobile web edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="color:{{{1}}}">{{{2}}}</span><noinclude>
<span style="color:{{{1}}}">{{{2}}}</span><noinclude>
==Usage==
==Usage==
{{NoWikiTemp|Normal|Color|Text}}
<pre>{{Color|Color|Text}}</pre>


This template is used to change the color of text appearing anywhere. To use this template, simply fill in the code above. For "color", various input codes can be used. Many of these color codes can be found [[wikipedia:web colors|here]]. Hexadecimal is also usable by this template, but it must be used proceeding a pound symbol (#).
This template is used to change the color of text appearing anywhere. To use this template, simply fill in the code above. For "color", various input codes can be used. Many of these color codes can be found [[wikipedia:web colors|here]]. Hexadecimal is also usable by this template, but it must be used proceeding a pound symbol (#).
Line 9: Line 9:
or alternatively use hexadecimal:
or alternatively use hexadecimal:
:<nowiki>{{color|#f00|Red text}}</nowiki> giving the same {{color|#f00|Red text}}
:<nowiki>{{color|#f00|Red text}}</nowiki> giving the same {{color|#f00|Red text}}
[[Category:Formatting Templates|{{PAGENAME}}]]
[[Category:Formatting templates]]

Latest revision as of 05:34, 9 March 2018

{{{2}}}

Usage

{{Color|Color|Text}}

This template is used to change the color of text appearing anywhere. To use this template, simply fill in the code above. For "color", various input codes can be used. Many of these color codes can be found here. Hexadecimal is also usable by this template, but it must be used proceeding a pound symbol (#).

For example, to color a word red, one would type

{{color|red|Red text}} giving Red text

or alternatively use hexadecimal:

{{color|#f00|Red text}} giving the same Red text