Template:Color: Difference between revisions
Jump to navigation
Jump to search
imported>Konoko (historical) m (→note) |
imported>Konoko (historical) m (→usage) |
||
Line 5: | Line 5: | ||
<code><nowiki><span style="color: {{{1}}};">{{{2}}}</span><noinclude></nowiki></code> | <code><nowiki><span style="color: {{{1}}};">{{{2}}}</span><noinclude></nowiki></code> | ||
==usage== | ==usage== | ||
;<nowiki>{{color | ;<nowiki>{{color|</nowiki>''your_color''<nowiki>|</nowiki>''your_text''<nowiki>}}</nowiki> | ||
:''your_color'' can be any color name, or the RGB, or Hex. Red, rbg(255,0,0) and #FF0000 all net the same result. | :''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== | ==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. |
Revision as of 19:16, 28 February 2007
{{{2}}}
code
<span style="color: {{{1}}};">{{{2}}}</span><noinclude>
usage
- {{color|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