Template:Imbox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg
(Updating to the new ambox code.)
meta>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 = serious -->
   | delete     = ambox-delete       
  | serious    = ambox-delete       
   | content    = ambox-content
   | content    = ambox-content
   | style      = ambox-style
   | style      = ambox-style
   | move                           <!-- move = merge -->
   | 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]]  
     | serious    = [[Image:Ambox deletion.png|40x40px]]  
     | content    = [[Image:Ambox content.png|40x40px]]
     | content    = [[Image:Ambox content.png|40x40px]]
     | style      = [[Image:Broom icon.svg|40x40px]]
     | style      = [[Image:Ambox style.png|40x40px]]
     | move
     | move       = [[Image:Ambox move.png|40x40px]]
    | merge      = [[Image:Merge-split-transwiki default.svg|40x40px]]
     | 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      = [[Image:No image.svg|40x40px]]
     | blank      = &nbsp;
     | #default  = {{{image|[[Image:Ambox notice.png|40x40px]]}}}
     | #default  = {{{image|[[Image:Ambox notice.png|40x40px]]}}}
   }}</div>
   }}</div>

Revision as of 11:15, 1 May 2008