Difference between revisions of "Template:Ambox"

From Nottinghack Wiki
Jump to navigation Jump to search
(update)
(revert to previous version - no need for new type)
Line 4: Line 4:
 
| content    = ambox-content
 
| content    = ambox-content
 
| style      = ambox-style
 
| style      = ambox-style
| update    = ambox-update
 
 
| move      = ambox-move
 
| move      = ambox-move
 
| protection = ambox-protection
 
| protection = ambox-protection
Line 22: Line 21:
 
     | delete    = Ambox deletion.png
 
     | delete    = Ambox deletion.png
 
     | content    = Ambox content.png
 
     | content    = Ambox content.png
    | update    = Ambox_update_red.svg
 
 
     | style      = Edit-clear.png
 
     | style      = Edit-clear.png
 
     | move      = Ambox move.png
 
     | move      = Ambox move.png
Line 48: Line 46:
 
| content
 
| content
 
| style
 
| style
| update
 
 
| move
 
| move
 
| protection
 
| protection
Line 94: Line 91:
 
| type  = style
 
| type  = style
 
| text  = type=<u>style</u> – Style issues.
 
| text  = type=<u>style</u> – Style issues.
}}
 
{{ambox
 
| type  = update
 
| text  = type=<u>update</u> – Update issues.
 
 
}}
 
}}
 
{{ambox
 
{{ambox

Revision as of 18:46, 15 December 2018

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 types

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