Difference between revisions of "Template:Ambox"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (add temporary tracking category for small amboxes)
(translation tweaks)
Line 1: Line 1:
{{#invoke:Message box|ambox}}{{#ifeq:{{{small}}}|left|[[Category:Articles using small message boxes]]}}<noinclude>
+
{{#invoke:Message box|ambox}}<noinclude>
{{documentation}}
+
{{ {{TNTN|documentation}} |content=
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
+
 
 +
<noinclude>{{Documentation subpage}}</noinclude>
 +
{{high-risk}}
 +
This is the {{Tl|Ambox}} or '''Article message box''' meta-template.
 +
 
 +
=== ''type'' ===
 +
The ''type'' parameter defines the colour of the left bar, and the image that is used by default. The type is chosen not on aesthetics but is based on the type of issue that the template describes. The seven available types and their default images are shown below.
 +
{{Ambox
 +
|nocat=true
 +
| type  = speedy
 +
| text  = type=<u>speedy</u> – Speedy deletion issues, such as {{tl|speedy}}.
 +
}}
 +
{{Ambox
 +
|nocat=true
 +
| type  = delete
 +
| text  = type=<u>delete</u> – Deletion issues, such as {{tl|delete}}.
 +
}}
 +
{{Ambox
 +
|nocat=true
 +
| type  = content
 +
| text  = type=<u>content</u> – Content issues, such as {{tl|POV}} and {{tl|globalize}}.
 +
}}
 +
{{Ambox
 +
|nocat=true
 +
| type  = style
 +
| text  = type=<u>style</u> – Style issues, such as {{tl|cleanup}} and {{tl|underlinked}}.
 +
}}
 +
{{ambox
 +
|nocat=true
 +
| type  = notice
 +
| text  = type=<u>notice</u> – Article notices, such as {{tl|current}} and {{tl|in use}}.
 +
}}
 +
{{Ambox
 +
|nocat=true
 +
| type  = move
 +
| text  = type=<u>move</u> – Merge, split and transwiki proposals, such as {{tl|split}} and {{tl|copy to Wiktionary}}.
 +
}}
 +
{{Ambox
 +
|nocat=true
 +
| type  = protection
 +
| text  = type=<u>protection</u> – Protection notices, such as {{tl|pp-vandalism}} and {{tl|pp-protected}}.
 +
}}
 +
 
 +
If no ''type'' parameter is given the template defaults to {{para|type|notice}}.
 +
 
 +
=== See also ===
 +
{{TNT|mbox templates}}
 +
Other pages:
 +
* [[w:Template:Mbox]]
 +
* [[w:Wikipedia:Ambox CSS classes]] – Describes how to use the ambox CSS classes directly in [[Help:Table|wikitable]]s and [[w:HTML element#Tables|HTML tables]].
 +
* [[w:Wikipedia:Article message boxes]] – The style guideline for creating article message boxes.
 +
* [[w:Wikipedia talk:Article message boxes]] – For discussion about these matters.
 +
 
 +
}}
 +
[[Category:Mbox templates{{translation}}]]
 
</noinclude>
 
</noinclude>

Revision as of 05:25, 5 February 2017

<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation

This is the {{Ambox}} or Article message box meta-template.

type

The type parameter defines the colour of the left bar, and the image that is used by default. The type is chosen not on aesthetics but is based on the type of issue that the template describes. The seven available types and their default images are shown below.

If no type parameter is given the template defaults to |type=notice.

See also

Template-info.svg Message box templates {{[[Template:ambox{{#translation:}}|ambox{{#translation:}}]]}}{{[[Template:asbox{{#translation:}}|asbox{{#translation:}}]]}}{{[[Template:cmbox{{#translation:}}|cmbox{{#translation:}}]]}}{{[[Template:dmbox{{#translation:}}|dmbox{{#translation:}}]]}}{{[[Template:fmbox{{#translation:}}|fmbox{{#translation:}}]]}}{{[[Template:imbox{{#translation:}}|imbox{{#translation:}}]]}}{{[[Template:ombox{{#translation:}}|ombox{{#translation:}}]]}}{{[[Template:tmbox{{#translation:}}|tmbox{{#translation:}}]]}}

Other pages:

[[Category:Template documentation pages{{#translation:}}]]