Difference between revisions of "Template:Ambox/doc"
(→Examples: TF2 Wiki -> Team Fortress Wiki) |
m |
||
Line 43: | Line 43: | ||
|style | |style | ||
|optional | |optional | ||
− | |( | + | | rowspan="2" | (take any valid css style) |
+ | |- | ||
+ | |linestyle | ||
+ | |optional | ||
|} | |} | ||
Revision as of 05:40, 26 July 2010
An article message box or Ambox can be added to notify users of specific messages regarding the article. The {{Cleanup}} template is an example of an ambox.
Usage
The default ambox will display in the center of the page where the template is included. To include default ambox type
{{Ambox}}
It is recommended that you include a picture on the ambox by adding an image property by typing
{{Ambox|image=Myimage.jpg}}
and replacing Myimage.jpg with your own picture name.
Parameters
Name | Requirement | Options |
---|---|---|
type | optional | notice, delete, serious, content, or style [Default: notice] |
image | optional | |
imagewidth | optional | [Default:48px] |
width | optional | [Default:80%] |
contents | optional | |
style | optional | (take any valid css style) |
linestyle | optional |
Examples
{{{contents}}} |
{{Ambox}} |
This is a standard notice. |
{{Ambox|type=notice|contents=This is a standard notice.}} |
File:Broom.png | This page has been marked for general cleanup. Please see Team Fortress Wiki style guide for information on how to improve this article. |
{{Ambox |image=Broom.png |type=style |contents= '''This page has been marked for general cleanup'''.<br/> <small>Please see [[Help:{{subst:SITENAME}} style guide|{{subst:SITENAME}} style guide]] for information on how to improve this article.</small> }} |
File:Discussion.gif | This page has been marked for an open review. Please see the discussion pages for additional information your opinion is welcome. |
{{Ambox |type=content |image=Discussion.gif |contents='''This page has been marked for an open review'''.<br/> <small>Please see the discussion pages for additional information your opinion is welcome.</small> }} |
This article has been marked for deletion. Reason: No one other than its original author has made substantial edits to this page. |
{{Ambox |type=delete |style=background-color:#FFF0EA; |image=Icon_trash.png |contents= '''This article has been marked for deletion'''.<br/> '''Reason''': No one other than its original author has made substantial edits to this page.}} |