Difference between revisions of "Template:Color"

From Moegirlpedia
Jump to: navigation, search
m
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly><span style="color:{{{1}}};">{{{2}}}</span></includeonly><noinclude><br/><nowiki>{{Color|red|words}} or {{color|#66CCFF|words}}</nowiki>[[Category:functional templates]]</noinclude>
+
<includeonly><span style="color:{{{1}}};">{{{2}}}</span></includeonly><noinclude>{{doc}}[[Category:Formatting templates]]</noinclude>

Latest revision as of 13:35, 30 January 2021

Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]

This template can be used to specify the foreground color of a span of text.

Usage

  • {{Color|<color>|<text>}}

For example:

  • {{color|red|Lorem ipsum}}Lorem ipsum
  • {{color|#00F000|Lorem ipsum}}Lorem ipsum