Template:Colour: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 13: Line 13:
   '''<text>'''  =  The text you would like to colour.
   '''<text>'''  =  The text you would like to colour.


;Example : {{m|colour|blue|This text is blue!}}<br>{{colour|red|This text is blue!}}
;Example : {{m|colour|blue|This text is blue!}}<br>{{colour|blue|This text is blue!}}


[[Category:Template]]</noinclude>
[[Category:Template]]</noinclude>

Revision as of 08:34, 13 May 2009

Info
Set the colour of the text explicitly (not recommended usually). The template replaces the HTML tag <font color=...>...</font>, using the standardized info box frame colours for consistency.
Syntax
{{colour|<colour>|<text>}}
<colour>  =  yellow   -   Just a few of the valid colour names.
             red
             green
             blue
             grey 
             purple (default)
             For a complete list of valid colour names see the Template:CatWcolFrame template.

  <text>  =  The text you would like to colour.
Example
{{colour|blue|This text is blue!}}
This text is blue!