Template:Ambox: Difference between revisions

The Two Worlds Wiki - Documenting Two Worlds since 2008.
Jump to navigation Jump to search
Wikipedia English>MusikAnimal
(Undid revision 948472448 by [[Special:Contributions/w>MarcoAurelio|w>MarcoAurelio]] ([[User talk:w>MarcoAurelio|talk]]))
Mystery Dungeon Independent>Korra II A Royal
m (1 revision imported)
Line 1: Line 1:
{{#invoke:Message box|ambox}}{{#ifeq:{{{small}}}|left|[[Category:Articles using small message boxes]]}}<noinclude>
<onlyinclude><includeonly><table style="{{{style|}}}" class="plainlinks ambox {{#ifeq:{{{format|}}}|tiny|ambox-tiny}} {{#switch:{{{border|}}}
{{documentation}}
  | red      = ambox-red
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
  | orange  = ambox-orange
</noinclude>
  | yellow  = ambox-yellow
  | purple  = ambox-purple
  | blue    = ambox-blue
  | green    = ambox-green
  | gray    = ambox-gray
  | #default = ambox-green
}} {{{class|}}}">
<tr>
<td class="ambox-image">{{{image|[[File:{{{icon|Information.png{{!}}48px}}}|{{#ifeq:{{{format|}}}|tiny|x20px}}|alt=]]}}}</td>
<td class="ambox-text">{{{type|}}}
{{#if:{{{info|}}}|{{#ifeq:{{{format|}}}|tiny||<div class="amsmalltext">
{{{info}}}
</div>}}}}</td></tr></table></includeonly></onlyinclude><noinclude>
{{doc}}
 
[[Category:Notice templates]]</noinclude>

Revision as of 09:35, November 7, 2020


Template-info.png Documentation

The template is a notice template

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