Template:Ambox: Difference between revisions

From Tears of Themis Wiki
imported>Elaeagnifolia
(Created page with "<onlyinclude><includeonly><table style="{{{style|}}}" class="plainlinks ambox {{#ifeq:{{{format|}}}|tiny|ambox-tiny}} {{#switch:{{{border|}}} | red = ambox-red | oran...")
 
imported>Elaeagnifolia
No edit summary
 
Line 1: Line 1:
<onlyinclude><includeonly><table style="{{{style|}}}" class="plainlinks ambox {{#ifeq:{{{format|}}}|tiny|ambox-tiny}} {{#switch:{{{border|}}}
<onlyinclude><includeonly><templatestyles src="Template:Ambox/styles.css" /><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

Latest revision as of 14:47, 22 April 2021

Template-info.png Documentation

The template is a notice template

Named parameters[edit source]

|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[edit source]

Default[edit source]

Tiny[edit source]

Red + image[edit source]

Yellow[edit source]

Green[edit source]

Purple[edit source]

Blue[edit source]

Orange[edit source]

Gray[edit source]