I don't need to test my programs. I have an error-correcting modem.

Difference between revisions of "Template:Ambox"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m
Line 1: Line 1:
 
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
 
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
   | delete  = ambox-delete
+
   | serious  = ambox-serious
 
   | style    = ambox-style
 
   | style    = ambox-style
  | merge    = ambox-merge
 
 
   | notice  = ambox-notice
 
   | notice  = ambox-notice
 
   | #default = ambox-notice
 
   | #default = ambox-notice

Revision as of 08:30, 2 March 2008

[edit] Documentation

Usage

An article message box is usually not used directly, but included through other templates.

Syntax

{{ambox
| type       = message type
| style      = CSS style
| image      = left side image
| text       = message text
| imageright = right side image
}}

This displays a box similar to the one below:

Only the text parameter is required. The image and imageright parameters should actually be image links.

Predefined message types

Any type value not specified here falls back to the 'notice' style.