Template:Colour: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
m (Using HTML colour names for now.)
mNo edit summary
Line 2: Line 2:
;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.


;Issue : The frame colours though nice are simply to light, i.e. too much pastel. Will need to fix this!
;Issue : The frame colours though nice are simply to light, i.e. too much pastel. Will need to fixing!
: Old code: <tt><nowiki><span style="color:#{{CatWcolFrame|{{{1}}}}};">{{{2}}}</span></nowiki></tt>
: Old code: <tt><nowiki><span style="color:#{{CatWcolFrame|{{{1}}}}};">{{{2}}}</span></nowiki></tt>


;Current Version : The present version simply accepts valid HTML colour names e.g. <tt>pink</tt>, and colour codes e.g. <tt>#FF8000</tt> for orange.
;Current Version : The present version simply accepts valid HTML colour names e.g. <tt>pink</tt>, and colour codes e.g. <tt>#FF8000</tt> for orange.


;Syntax : {{m|colour|<colour>|<text>}}
;Syntax : {{m|colour|<colour>|<text>}}
1,633

edits

Navigation menu

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