Template:Colour: Difference between revisions

m
no edit summary
(Template to replace the <font colour=...>...</font> HTML code.)
 
mNo edit summary
Line 1: Line 1:
<includeonly><span style="color:{{CatWcolFrame|{{{1}}}}};">{{{2}}}</span></includeonly><noinclude>
<includeonly><span style="color:#{{CatWcolFrame|{{{1}}}}};">{{{2}}}</span></includeonly><noinclude>
;Info : Set the colour of the text explicitly (not recommended usually). The template replaces the HTML tag <tt><nowiki><font color=...>...</font></nowiki></tt>, using the standardized info box frame colours for consistency.
;Info : Set the colour of the text explicitly (not recommended usually). The template replaces the HTML tag <tt><nowiki><font color=...>...</font></nowiki></tt>, using the standardized info box frame colours for consistency.


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|blue|This text is blue!}}
;Example : {{m|colour|blue|This text is blue!}}<br>{{colour|red|This text is blue!}}


[[Category:Template]]</noinclude>
[[Category:Template]]</noinclude>
1,633

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.