Template:CatWcolBackground: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
<includeonly>{{#switch: {{{1}}}
  | yellow
  | yellow
| onoffSec
| onoffSecOne
  | onoff = FFFFEF
  | onoff = FFFFEF
  | red
  | red
| worstcaseSec
  | worstcase = FFEFEF
  | worstcase = FFEFEF
  | green
  | green
| amountSec
  | amount = EFFFEF
  | amount = EFFFEF
  | blue = EFEFFF
  | blue = EFEFFF
Line 14: Line 18:


;Syntax : <nowiki>{{CatWcolBackground|<colour>}}</nowiki>
;Syntax : <nowiki>{{CatWcolBackground|<colour>}}</nowiki>
  <colour>  =  '''yellow''', '''onoff'''   ->  FFFFEF
  <colour>  =  '''yellow'''
               '''red''', '''worstcase''' ->  FFEFEF
              '''onoffSec'''
               '''green''', '''amount'''   ->  EFFFEF
              '''onoffSecOne'''
               '''blue'''           ->  EFEFFF
              '''onoff'''       ->  <span style="background:#FFFFEF; border:1px solid grey;">FFFFEF</span>
               '''purple''', '''misc'''    ->  FAF0FF (default)
               '''red'''
              '''worstcaseSec'''
              '''worstcase'''   ->  <span style="background:#FFEFEF; border:1px solid grey;">FFEFEF</span>
               '''green'''
              '''amountSec'''
              '''amount'''       ->  <span style="background:#EFFFEF; border:1px solid grey;">EFFFEF</span>
               '''blue'''         ->  <span style="background:#EFEFFF; border:1px solid grey;">EFEFFF</span>
               '''purple'''  
              '''misc'''     
            (default)    ->  <span style="background:#FAF0FF; border:1px solid grey;">FAF0FF</span>


;Example : <nowiki>{{CatWcolBackground|blue}}</nowiki><br>{{CatWcolBackground|blue}}
;Example : <nowiki>{{CatWcolBackground|blue}}</nowiki><br>{{CatWcolBackground|blue}}
1,633

edits

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