(Created page with "<onlyinclude><includeonly><table style="{{{style|}}}" class="plainlinks ambox {{#ifeq:{{{format|}}}|tiny|ambox-tiny}} {{#switch:{{{border|}}} | red = ambox-red | orange = ambox-orange | 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|}...") |
(add documentation) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
}} {{{class|}}}"> | }} {{{class|}}}"> | ||
<tr> | <tr> | ||
<td class="ambox-image">{{{image|[[File:{{{icon| | <td class="ambox-image">{{{image|[[File:{{{icon|WikiLogo.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"> | ||
{{{info}}} | {{{info}}} | ||
</div>}}}}</td></tr></table></includeonly></onlyinclude><noinclude> | </div>}}}}</td></tr></table><templatestyles src="Ambox/style.css"/></includeonly></onlyinclude><noinclude> | ||
== Documentation == | |||
Use this template to insert an announcement box. Typically used for the top of the page. | |||
{| class="wikitable" | |||
|+ Parameters | |||
|- | |||
! Name !! Possible values !! Is required? | |||
|- | |||
| info || any wikitext || yes | |||
|- | |||
| border || red orange yellow purple blue green gray - defaults to green || no | |||
|- | |||
| format || tiny || no | |||
|} | |||
[[Category:Notice templates]]</noinclude> | [[Category:Notice templates]]</noinclude> |
Latest revision as of 16:29, 22 April 2023
Documentation
Use this template to insert an announcement box. Typically used for the top of the page.
Name | Possible values | Is required? |
---|---|---|
info | any wikitext | yes |
border | red orange yellow purple blue green gray - defaults to green | no |
format | tiny | no |