Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
mNo edit summary
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly><table style="{{{style|}}}" class="plainlinks ambox {{#switch:{{{border|}}}
+
<onlyinclude><includeonly><table style="{{{style|}}}" class="plainlinks ambox {{#ifeq:{{{format|}}}|tiny|ambox-tiny}} {{#switch:{{{border|}}}
 
| red = ambox-red
 
| red = ambox-red
 
| orange = ambox-orange
 
| orange = ambox-orange
Line 8: Line 8:
 
| gray = ambox-gray
 
| gray = ambox-gray
 
| #default = ambox-green
 
| #default = ambox-green
}}">
+
}} {{{class|}}}">
 
<tr>
 
<tr>
<td class="ambox-image">{{{image|[[File:Stub.png]]}}}</td>
+
<td class="ambox-image">{{{image|[[File:{{{icon|Stub.png}}}|{{#ifeq:{{{format|}}}|tiny|x20px}}|alt=]]}}}</td>
<td style="padding: 0.25em 0.5em;">{{{type|}}}
+
<td class="ambox-text">{{{type|}}}
<div class="amsmalltext">
+
{{#if:{{{info|}}}|{{#ifeq:{{{format|}}}|tiny||<div class="amsmalltext">
{{{info|}}}
+
{{{info}}}
</div></td></tr></table></includeonly></onlyinclude>{{documentation}}
+
</div>}}}}</td></tr></table></includeonly></onlyinclude>{{documentation}}

Latest revision as of 23:47, 14 January 2014

The template is an article management box template. See the Manual of Style for usage guidelines.

Named parameters

|icon=
image file name for use on the left, e.g. "Stub.png"
|image=
left (image) cell content, overrides |icon= if provided.
|type=
top line text
|info=
list of extra info
|border=
border colour (defaults to green)
red
ambox-red (serious issue)
yellow
ambox-yellow (mild issue)
green
ambox-green (good!)
purple
ambox-purple (technical change)
blue
ambox-blue (notice)
orange
ambox-orange (stub colour)
gray
ambox-gray
|format
tiny to display a small, left-aligned box showing only the |type= value; any other value displays the full ambox.
|style=
extra style parameters (unlikely to be used)

Examples

Default

Tiny

Red + image

Yellow

Green

Purple

Blue

Orange

Gray