Template:Ambox: Difference between revisions

From Mizuumi Wiki
Jump to navigation Jump to search
(Created page with "<onlyinclude><includeonly><table style="{{{style|}}}" class="plainlinks ambox {{#ifeq:{{{format|}}}|tiny|ambox-tiny}} {{#switch:{{{border|}}} | red = ambox-red | oran...")
 
m (Changed categorization)
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
}} {{{class|}}}">
}} {{{class|}}}">
<tr>
<tr>
<td class="ambox-image">{{{image|[[File:{{{icon|Information.svg{{!}}48px}}}|{{#ifeq:{{{format|}}}|tiny|x20px}}|alt=]]}}}</td>
<td class="ambox-image">{{{image|[[File:{{{icon|Icon_faq.png{{!}}48px}}}|{{#ifeq:{{{format|}}}|tiny|x20px}}|alt=]]}}}</td>
<td class="ambox-text">{{{type|}}}
<td class="ambox-text">{{{type|}}}
{{#if:{{{info|}}}|{{#ifeq:{{{format|}}}|tiny||<div class="amsmalltext">
{{#if:{{{info|}}}|{{#ifeq:{{{format|}}}|tiny||<div class="amsmalltext">
Line 16: Line 16:
</div>}}}}</td></tr></table></includeonly></onlyinclude><noinclude>
</div>}}}}</td></tr></table></includeonly></onlyinclude><noinclude>
{{doc}}
{{doc}}
 
[[Category:Templates]]
[[Category:Notice templates]]</noinclude>
[[Category:Universal]]</noinclude>

Latest revision as of 06:57, 21 June 2020

Template DocumentationEdit This Documentation
The template is a notice template

Named parameters

|icon=
image file name for use on the left, e.g. "Stub.png"
See Category:Universal for generic icons.
|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


This documentation is automatically transcluded from Template:Ambox/Documentation and is not included when this page is transcluded.