Template:Ambox

From TF2 Wiki

Jump to: navigation, search
 

Warning: Do NOT edit this Template directly.

[view] [edit]

Documentation for Ambox


This documentation is transcluded from Template:Ambox/doc.

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


  This is a standard notice.

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


  This page has been marked for general cleanup.

Please see TF2 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:TF2 Wiki style guide|TF2 Wiki style guide]]
 for information on how to improve this article.</small>
}}


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

Personal tools