Template:Imbox: Difference between revisions
From All Skies Encyclopaedia
imported>Davidgothberg  (Updating to the new ambox code.)  | 
				imported>Davidgothberg   (Removing backwards compatibility code from the {{ambox}}. Not needed in this template since it is new.)  | 
				||
| Line 2: | Line 2: | ||
{{#switch:{{{type|}}}  | 
  {{#switch:{{{type|}}}  | 
||
  | speedy     = ambox-speedy   <!-- Can be used from 19 May 2008 -->  | 
    | speedy     = ambox-speedy   <!-- Can be used from 19 May 2008 -->  | 
||
  | delete               | 
    | delete     = ambox-delete         | 
||
  | serious    = ambox-delete         | 
  |||
  | content    = ambox-content  | 
    | content    = ambox-content  | 
||
  | style      = ambox-style  | 
    | style      = ambox-style  | 
||
  | move          | 
    | move       = ambox-merge   <!--ambox-move can be used 20 May 2008-->  | 
||
  | merge      = ambox-merge   <!-- We can't use ambox-move yet -->  | 
  |||
  | protection = ambox-protection  | 
    | protection = ambox-protection  | 
||
  | notice     = ambox-notice  | 
    | notice     = ambox-notice  | 
||
| Line 17: | Line 15: | ||
  | <!-- No image cell; empty cell necessary for text cell to have 100% width -->  | 
    | <!-- No image cell; empty cell necessary for text cell to have 100% width -->  | 
||
  | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}  | 
    | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}  | 
||
    | speedy     = [[Image:Ambox deletion.png|40x40px]]  | 
      | speedy     = [[Image:Ambox speedy deletion.png|40x40px]]   | 
||
    | delete   | 
      | delete     = [[Image:Ambox deletion.png|40x40px]]   | 
||
| ⚫ | |||
    | content    = [[Image:Ambox content.png|40x40px]]  | 
      | content    = [[Image:Ambox content.png|40x40px]]  | 
||
    | style      = [[Image:  | 
      | style      = [[Image:Ambox style.png|40x40px]]  | 
||
| ⚫ | |||
    | move  | 
  |||
    |   | 
      | protection = [[Image:Ambox protection.png|40x40px]]  | 
||
    | protection = [[Image:Padlock-silver-medium.svg|40x40px]]  | 
  |||
    | notice     = [[Image:Ambox notice.png|40x40px]]  | 
      | notice     = [[Image:Ambox notice.png|40x40px]]  | 
||
    | blank      =   | 
      | blank      =    | 
||
    | #default   = {{{image|[[Image:Ambox notice.png|40x40px]]}}}  | 
      | #default   = {{{image|[[Image:Ambox notice.png|40x40px]]}}}  | 
||
  }}</div>  | 
    }}</div>  | 
||




