Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
Difference between revisions of "Template:Ambox"
From Unreal Wiki, The Unreal Engine Documentation Site
(New page: <table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}} | serious = ambox-serious | content = ambox-content | style = ambox-style | merge = ambox...) |
|||
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 |
− | + | ||
| style = ambox-style | | style = ambox-style | ||
| merge = ambox-merge | | merge = ambox-merge | ||
Line 12: | Line 11: | ||
| <!-- no image cell; empty cell necessary for text cell to have 100% width --> | | <!-- no image cell; empty cell necessary for text cell to have 100% width --> | ||
| <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}} | | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}} | ||
− | | | + | | delete = [[Image:Icon delete.png|40px]] |
− | + | ||
| style = [[Image:Broom icon.svg|40px]] | | style = [[Image:Broom icon.svg|40px]] | ||
| merge = [[Image:Merge-split-transwiki default.svg]] | | merge = [[Image:Merge-split-transwiki default.svg]] |
Revision as of 10:35, 21 February 2008
{{{text}}} |
[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:
left side image
|
message text |
right side image
|
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.
serious |
content |
style |
notice |
info |