Template:Ambox: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
minor
No edit summary
Line 1: Line 1:
<table class="metadata plainlinks ambox {{#switch:{{{type|}}}
<table class="metadata plainlinks ambox {{#switch:{{{type|}}} <!-- all styles present in CSS? -->
| speedy    = ambox-speedy
| speedy    = ambox-speedy
| delete    = ambox-delete
| delete    = ambox-delete

Revision as of 09:56, 3 March 2019

Usage

Simple usage example:

{{ambox | text = Some text.}}

Complex example:

{{ambox
| type       = style
| image      = [[File:Emblem-question-yellow.svg|40px|alt=Question mark]]
| textstyle  = color: red; font-weight: bold; font-style: italic;
| text       = Text for a big box, for the top of articles.
}}

Article message box type examples

The following examples use different type parameters but use no image parameters thus they use the default images for each type.