Difference between revisions of "Template:Ambox/doc"

From Team Fortress Wiki
Jump to: navigation, search
m (Examples)
(Examples: TF2 Wiki -> Team Fortress Wiki)
Line 81: Line 81:
 
|contents=
 
|contents=
 
'''This page has been marked for general cleanup'''.<br/>
 
'''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>
+
<small>Please see [[Help:Team Fortress Wiki style guide|Team Fortress Wiki style guide]] for information on how to improve this article.</small>
 
}}
 
}}
 
{|
 
{|
Line 92: Line 92:
 
|contents=
 
|contents=
 
'''This page has been marked for general cleanup'''.<br/>
 
'''This page has been marked for general cleanup'''.<br/>
<small>Please see [[Help:TF2 Wiki style guide|TF2 Wiki style guide]]
+
<small>Please see [[Help:{{subst:SITENAME}} style guide|{{subst:SITENAME}} style guide]]
 
  for information on how to improve this article.</small>
 
  for information on how to improve this article.</small>
 
}}
 
}}

Revision as of 18:11, 30 June 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 (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:{{subst:SITENAME}} style guide|{{subst:SITENAME}} 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.}}