Difference between revisions of "Template:Ombox"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (16 revisions from wikipedia:Template:Ombox)
 
(18 intermediate revisions by 7 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]]
+
  | class = {{{class|}}}
    | delete
+
  | style = {{{style|}}}
    | serious    = [[Image:Ambox deletion.png|40x40px]]
+
  | textstyle = {{{textstyle|}}}
    | content    = [[Image:Ambox content.png|40x40px]]
+
  | text  = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
    | style     = [[Image:Ambox style.png|40x40px]]
+
  }}
    | move
+
| {{ombox/core
    | merge      = [[Image:Ambox move.png|40x40px]]
+
  | type  = {{{type|}}}
    | protection = [[Image:Ambox protection.png|40x40px]]
+
  | image = {{{image|}}}
    | notice    = [[Image:Ambox notice.png|40x40px]]
+
   | imageright = {{{imageright|}}}  
    | blank      = &nbsp;
+
  | class = {{{class|}}}
    | #default  = {{{image|[[Image:Ambox notice.png|40x40px]]}}}
+
  | style = {{{style|}}}
   }}</div>
+
  | textstyle = {{{textstyle|}}}
}}</td>
+
   | text  = {{{text}}}
<td class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td>
+
  }}
{{#if:{{{imageright|}}}
+
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
   | <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
 
}}
 
</tr>
 
</table><noinclude>
 
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Latest revision as of 13:49, 17 February 2016

Documentation icon Template documentation[create]