Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Color"

From Paragon Wiki Archive
Jump to: navigation, search
(blue, orange, red, chartruese, pick a color :D)
 
m (note)
Line 9: Line 9:
 
==note==
 
==note==
 
Those familiar with CSS will note that you could add more CSS code in place of ''your_color'', as long as a color is specified first, and your realize the final semicolon.
 
Those familiar with CSS will note that you could add more CSS code in place of ''your_color'', as long as a color is specified first, and your realize the final semicolon.
 +
:<nowiki>{{color|blue|stuff}}</nowiki> {{color|blue|stuff}}
 
:<nowiki>{{color|blue; font-weight: bold|stuff}}</nowiki> {{color|blue; font-weight: bold|stuff}}
 
:<nowiki>{{color|blue; font-weight: bold|stuff}}</nowiki> {{color|blue; font-weight: bold|stuff}}
 
</noinclude>
 
</noinclude>

Revision as of 19:15, 28 February 2007

{{{2}}}

code

<span style="color: {{{1}}};">{{{2}}}</span><noinclude>

usage

{{color<nowiki>|your_color|your_text}}
your_color can be any color name, or the RGB, or Hex. Red, rbg(255,0,0) and #FF0000 all net the same result.

note

Those familiar with CSS will note that you could add more CSS code in place of your_color, as long as a color is specified first, and your realize the final semicolon.

{{color|blue|stuff}} stuff
{{color|blue; font-weight: bold|stuff}} stuff