Difference between revisions of "Template:C"

From BattleMaster Wiki
Jump to navigation Jump to search
(You want a simple way to have coloured text? Here's a template! Now don't abuse, I hate flashy colours.)
 
(changed the example... I'd shoot whoever used that type of text...)
Line 7: Line 7:
 
just type <code><nowiki>{{c|some color|text you want to change}}</nowiki></code>
 
just type <code><nowiki>{{c|some color|text you want to change}}</nowiki></code>
  
so you could type <code><nowiki>{{c|red|ZOMFG YOU ARE AN IDIOT.}}</nowiki></code> and it would produce {{c|red|ZOMFG YOU ARE AN IDIOT.}}
+
so you could type <code><nowiki>{{c|red|I write in red.}}</nowiki></code> and it would produce {{c|red|I write in red.}}
  
 
A list of usable colour names are [http://en.wikipedia.org/wiki/Web_colors here] in the large table under the heading "X11 color names".  
 
A list of usable colour names are [http://en.wikipedia.org/wiki/Web_colors here] in the large table under the heading "X11 color names".  

Revision as of 04:21, 13 February 2007

{{{2}}}

Usage

this template is for easily making text different colors:

just type {{c|some color|text you want to change}}

so you could type {{c|red|I write in red.}} and it would produce I write in red.

A list of usable colour names are here in the large table under the heading "X11 color names".


Alternatively, a hash followed by a hexadecimal number from #000000 to #FFFFFF can be used to pick the colour.

So you could type {{c|#32CD31|some writing}} and it would produce some writing.