Template:Ambox/doc

From Team Fortress Wiki
< Template:Ambox
Revision as of 13:15, 3 June 2010 by PilkBOT (talk | contribs) (Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 (takes any valid css style)


Examples


{{Ambox}}



{{Ambox|type=notice|contents=This is a standard notice.}}



{{Ambox
|image=Broom.png
|type=style
|contents=
'''This page has been marked for general cleanup'''.<br/>
<small>Please see [[Help:TF2 Wiki style guide|TF2 Wiki style guide]]
 for information on how to improve this article.</small>
}}



{{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>
}}



{{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.}}