Difference between revisions of "Template:Ambox"

From MormonWiki
Jump to: navigation, search
(Undo revision 14279 by Heather (Talk))
Line 1: Line 1:
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
+
<noinclude>
   | serious  = ambox-serious
+
[[Category:Article Management Tags|~]]{{talkpagedoc}}
   | content  = ambox-content
+
----
   | style    = ambox-style
+
 
   | merge   = ambox-merge
+
 
   | notice  = ambox-notice
+
</noinclude>{| style="{{{style|}}}" class="plainlinks ambox {{#switch:{{{border|}}}
   | #default = ambox-notice
+
   | red      = ambox-red
}}">
+
   | orange  = ambox-orange
<tr>
+
   | yellow  = ambox-yellow
<td class="ambox-image">
+
  | purple  = ambox-purple
{{#ifeq:{{{image}}}|none
+
  | blue    = ambox-blue
  | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
+
   | green   = ambox-green
  | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
+
   | gray    = ambox-gray
    | serious  = [[Image:Stop hand nuvola.svg|40px]]
+
   | #default = ambox-green
    | content  = [[Image:Emblem-important.svg|40px]]
+
}}"
    | style   = [[Image:Broom icon.svg|40px]]
+
|-
    | merge    = [[Image:Merge-split-transwiki default.svg]]
+
| class="ambox-image" | {{{image|[[image:stub.png]]}}}
    | notice  = [[Image:Info non-talk.png|40px]]
+
| style="padding: 0.25em 0.5em;" | {{{type|}}}
    | blank    = [[Image:No image.svg]]
+
<div class="amsmalltext">
    | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
+
{{{info|}}}
  }}</div>
+
</div>
}}</td>
+
|}
<td class="ambox-text">{{{text}}}</td>
 
{{#if:{{{imageright|}}}|
 
  <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
 
}}
 
</tr>
 
</table><noinclude>
 
{{template doc}}
 
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
 
</noinclude>
 

Revision as of 12:11, 7 December 2007

Template:Talkpagedoc