Template:CatWcolFrame: Difference between revisions

Jump to navigation Jump to search
m
Expanded list of <colour> parameter names.
mNo edit summary
m (Expanded list of <colour> parameter names.)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
<includeonly>{{#switch: {{{1}}}
  | yellow
  | yellow
| onoffSec
| onoffSecOne
  | onoff = CCCCA3
  | onoff = CCCCA3
  | red
  | red
| worstcaseSec
  | worstcase = CCA3A3
  | worstcase = CCA3A3
  | green
  | green
| amountSec
  | amount = A3CCA3
  | amount = A3CCA3
  | blue = A3A3CC
  | blue = A3A3CC
Line 14: Line 18:


;Syntax : <nowiki>{{CatWcolFrame|<colour>}}</nowiki>
;Syntax : <nowiki>{{CatWcolFrame|<colour>}}</nowiki>
  <colour>  =  '''yellow''', '''onoff'''   ->  CCCCA3
  <colour>  =  '''yellow'''
               '''red''', '''worstcase''' ->  CCA3A3
              '''onoffSec'''
               '''green''', '''amount'''   ->  A3CCA3
              '''onoffSecOne'''
               '''blue'''           ->  A3A3CC
              '''onoff'''       ->  <span style="background:white; border:1px solid #CCCCA3;">CCCCA3</span>
               '''purple''', '''misc'''    ->  DFC8EC (default)
               '''red'''
              '''worstcaseSec'''
              '''worstcase'''   ->  <span style="background:white; border:1px solid #CCA3A3;">CCA3A3</span>
               '''green'''
              '''amountSec'''
              '''amount'''       ->  <span style="background:white; border:1px solid #A3CCA3;">A3CCA3</span>
               '''blue'''         ->  <span style="background:white; border:1px solid #A3A3CC;">A3A3CC</span>
               '''purple'''  
              '''misc'''     
            (default)    ->  <span style="background:white; border:1px solid #DFC8EC;">DFC8EC</span>


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

edits

Navigation menu

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