Template:Imbox: Difference between revisions
From All Skies Encyclopaedia
imported>Davidgothberg  (Fixed the /doc footer.)  | 
				imported>Davidgothberg   (Updating to the new ambox code.)  | 
				||
| Line 1: | Line 1: | ||
<table class="metadata plainlinks ambox   | 
  <table class="metadata plainlinks ambox   | 
||
{{#switch:{{{type|}}}  | 
  {{#switch:{{{type|}}}  | 
||
  |   | 
    | speedy     = ambox-speedy   <!-- Can be used from 19 May 2008 -->  | 
||
  | delete                          <!-- delete = serious -->  | 
|||
| ⚫ | |||
  |   | 
    | serious    = ambox-delete         | 
||
  |   | 
    | content    = ambox-content  | 
||
  |   | 
    | style      = ambox-style  | 
||
  | move                            <!-- move = merge -->  | 
|||
| ⚫ | |||
  | merge      = ambox-merge   <!-- We can't use ambox-move yet -->  | 
|||
  | protection = ambox-protection  | 
|||
| ⚫ | |||
| ⚫ | |||
}}" style="border:4px solid #1e90ff; {{{style|}}}">  | 
  }}" style="border:4px solid #1e90ff; {{{style|}}}">  | 
||
<tr>  | 
  <tr>  | 
||
<td class="ambox-image">  | 
  <td class="ambox-image">  | 
||
{{#ifeq:{{{image}}}|none  | 
  {{#ifeq:{{{image|}}}|none  | 
||
  | <!--   | 
    | <!-- 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]]  | 
||
    | delete   | 
|||
| ⚫ | |||
    |   | 
      | serious    = [[Image:Ambox deletion.png|40x40px]]   | 
||
    |   | 
      | content    = [[Image:Ambox content.png|40x40px]]  | 
||
    |   | 
      | style      = [[Image:Broom icon.svg|40x40px]]  | 
||
    | move  | 
|||
| ⚫ | |||
    |   | 
      | merge      = [[Image:Merge-split-transwiki default.svg|40x40px]]  | 
||
    | protection = [[Image:Padlock-silver-medium.svg|40x40px]]  | 
|||
| ⚫ | |||
| ⚫ | |||
    | #default   = {{{image|[[Image:Ambox notice.png|40x40px]]}}}  | 
|||
  }}</div>  | 
    }}</div>  | 
||
}}</td>  | 
  }}</td>  | 
||
<td class="ambox-text">{{{text}}}</td>  | 
  <td class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td>  | 
||
{{#if:{{{imageright|}}}  | 
  {{#if:{{{imageright|}}}  | 
||
  <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>  | 
    | <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>  | 
||
}}  | 
  }}  | 
||
</tr>  | 
  </tr>  | 
||




