Jump to content

Template:Ombox: Difference between revisions

From IdeaWazaWiki
wikademia>Happy-melon
wikademia>Wikademia
m 14 revisions
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table class="metadata plainlinks messagebox" style="{{{style|}}}">
{{#ifeq:{{{small|}}}|yes
<tr>
| {{ombox/core
<td class="ambox-image">
  | small = yes
{{#ifeq:{{{image|}}}|none
  | type  = {{{type|}}}
   | <!-- No image cell; empty cell necessary for text cell to have 100% width -->
   | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
  | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
  | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
    | speedy    = [[Image:Ambox speedy deletion.png|40x40px]]
  | style = {{{style|}}}
    | delete
  | textstyle = {{{textstyle|}}}
    | serious    = [[Image:Ambox deletion.png|40x40px]]
  | text  = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
    | content    = [[Image:Ambox content.png|40x40px]]
  }}
    | style     = [[Image:Ambox style.png|40x40px]]
| {{ombox/core
    | move
  | type  = {{{type|}}}
    | merge      = [[Image:Ambox move.png|40x40px]]
   | image = {{{image|}}}
    | protection = [[Image:Ambox protection.png|40x40px]]
  | imageright = {{{imageright|}}}  
    | notice    = [[Image:Ambox notice.png|40x40px]]
  | style = {{{style|}}}
    | blank      = &nbsp;
  | textstyle = {{{textstyle|}}}
    | #default  = {{{image|[[Image:Ambox notice.png|40x40px]]}}}
   | text  = {{{text}}}
   }}</div>
  }}
}}</td>
}}<noinclude>
<td class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td>
 
{{#if:{{{imageright|}}}
{{pp-template|small=yes}}
   | <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
{{documentation}}
}}
</tr>
</table><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 22:48, 28 April 2009

[create] Template documentation