Difference between revisions of "Template:Ambox/doc"
m |
(cleanup) |
||
Line 1: | Line 1: | ||
− | An article message box or ''' | + | An '''article message box''', or '''ambox''', can be added to notify users of specific messages regarding the article. The {{tl|cleanup}} template is an example of an ambox. |
− | ==Usage== | + | == Usage == |
− | + | === All parameters === | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == | ||
{| class="wikitable grid" | {| class="wikitable grid" | ||
− | + | ! Name | |
− | !Name | + | ! Examples |
− | ! | ||
− | |||
|- | |- | ||
|type | |type | ||
− | + | |''notice'' [default], ''delete'', ''serious'', <br />''content'', ''style'', ''images'', ''protection'' | |
− | |''notice'', ''delete'', ''serious'', <br/>''content'', | ||
|- | |- | ||
|image | |image | ||
− | | | + | |''Example.png'' |
− | |||
|- | |- | ||
|imagewidth | |imagewidth | ||
− | | | + | |''56px'' [default] |
− | |||
|- | |- | ||
|width | |width | ||
− | + | |['''deprecated'''] | |
− | |['' | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|style | |style | ||
− | | | + | | [''any valid CSS style''] |
− | |||
|- | |- | ||
− | | | + | |contents |
− | | | + | | |
|} | |} | ||
− | + | === Examples === | |
− | ===Examples=== | ||
− | |||
<div style="background-color:white;border:solid navy 1px"> | <div style="background-color:white;border:solid navy 1px"> | ||
{{Ambox}} | {{Ambox}} | ||
Line 150: | Line 126: | ||
|} | |} | ||
</div> | </div> | ||
− | + | <noinclude>[[Category:Template documentation|{{BASEPAGENAME}}]]</noinclude> | |
− | |||
− | |||
− | |||
− | <noinclude> | ||
− | [[Category:Template documentation|{{ | ||
− | |||
− | </noinclude> |
Revision as of 09:03, 29 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
All parameters
Name | Examples |
---|---|
type | notice [default], delete, serious, content, style, images, protection |
image | Example.png |
imagewidth | 56px [default] |
width | [deprecated] |
style | [any valid CSS style] |
contents |
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.}} |