(Doing it right this time) |
mNo edit summary |
||
Line 2: | Line 2: | ||
<noinclude><translate></noinclude> |
<noinclude><translate></noinclude> |
||
This is the article message box metatemplate, it is used to build article message boxes like {{Tl|Stub}}. |
This is the article message box metatemplate, it is used to build article message boxes like {{Tl|Stub}}. |
||
+ | |||
== Parameters == |
== Parameters == |
||
* '''small''': ''(Optional)'' Creates a small article message box with the css float property set to the specified value. |
* '''small''': ''(Optional)'' Creates a small article message box with the css float property set to the specified value. |
Revision as of 15:20, 18 January 2018
This is the article message box metatemplate, it is used to build article message boxes like {{Stub}}
.
Parameters
- small: (Optional) Creates a small article message box with the css float property set to the specified value.
- icon: (Default: Ambox {{{type}}}.png) Sets the icon displayed on the left of the message box.
- type: (Default: notice) Sets the color of the left bar, the icon is also chosen depending on this value if icon isn't set. Acceptable values, and respective colors and default icons, are listed below:
type=speedy |
type=delete |
type=content |
type=style |
type=notice |
type=move |
type=protection |
type=minecraftwiki |
- date: (Optional) Date tag to display in the bottom right corner.
- text: The text to display in the message box.
Examples
Code | Result | ||
---|---|---|---|
{{Ambox|type=notice|text=Hello}} |
| ||
{{Ambox|type=notice|text=Hello|date={{subst:#time:F Y}}}} |
| ||
{{Ambox|type=notice|text=Hello|small=left}} |
| ||
{{Ambox|type=notice|text=Hello|small=left|date={{subst:#time:F Y}}}} |
|
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.