Mal:Amboks: Forskjell mellom sideversjoner

Fra wikisida.no
Hopp til navigering Hopp til søk
m robot legger til: ar, ca, cs, da, hy, is, lv, pt, ro, simple, sk, sv, uk, vi endrer: sl
fix
Linje 1: Linje 1:
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
   | serious = ambox-serious
   | serious   = ambox-serious
   | content = ambox-content
   | content   = ambox-content
   | style   = ambox-style
   | style     = ambox-style
   | merge   = ambox-merge
   | merge     = ambox-merge
   | move     = ambox-move
   | move       = ambox-move
   | notice  = ambox-notice
   | notice     = ambox-notice
   | #default = ambox-notice
   | protection = ambox-protection
   | #default   = ambox-notice
}}">
}}">
<tr>
<tr>
<td class="ambox-image">
<td class="mbox-image">
{{#ifeq:{{{image}}}|none
{{#ifeq:{{{image}}}|none
   | <!-- 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|}}}}}}
     | serious = [[Fil:Stop hand nuvola.svg|40px]]
     | serious   = [[Fil:Stop hand nuvola.svg|40px]]
     | content = [[Fil:Emblem-important.svg|40px]]
     | content   = [[Fil:Emblem-important.svg|40px]]
     | style   = [[Fil:Broom icon.svg|40px]]
     | style     = [[Fil:Broom icon.svg|40px]]
     | merge   = [[Fil:Merge-split-transwiki default.svg]]
     | merge     = [[Fil:Merge-split-transwiki default.svg]]
     | notice   = [[Fil:Info non-talk.png|40px]]
     | notice     = [[Fil:Info non-talk.png|40px]]
     | blank   = [[Fil:No image.svg]]
    | protection = [[Fil:Ambox protection.png|40px]]
     | #default = {{{image|[[Fil:Info non-talk.png|40px]]}}}
     | blank     = [[Fil:No image.svg]]
     | #default   = {{{image|[[Fil:Info non-talk.png|40px]]}}}
   }}</div>
   }}</div>
}}</td>
}}</td>
<td class="ambox-text">{{{text}}}</td>
<td class="mbox-text">{{{text}}}</td>
{{#if:{{{imageright|}}}|
{{#if:{{{imageright|}}}|
   <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
   <td class="mbox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
}}
}}
</tr>
</tr>

Sideversjonen fra 29. mai 2010 kl. 18:33