Gah - a solution with more questions. – EntropicLqd

Difference between revisions of "Template:Ambox"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
 
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
 
   | serious  = ambox-serious
 
   | serious  = ambox-serious
 +
  | content  = ambox-content
 
   | style    = ambox-style
 
   | style    = ambox-style
   | notice  = ambox-notice
+
   | info    = ambox-info
 
   | #default = ambox-notice
 
   | #default = ambox-notice
 
}}">
 
}}">

Latest revision as of 09:48, 4 March 2008

[edit] Documentation

Usage[edit]

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

Syntax[edit]

{{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[edit]

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