Difference between revisions of "Template:Ambox/doc"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(moved Template:Ambox/doc to Template:Mbox/doc: We don't need umpteen different templates for different namespaces)
 
 
(25 intermediate revisions by 13 users not shown)
Line 1: Line 1:
#REDIRECT [[Template:Mbox/doc]]
+
<noinclude>{{Documentation subpage}}
 +
{{high-risk}}</noinclude>
 +
 
 +
;Description
 +
This is the {{Tl|Ambox}} or '''Article message box''' meta-template.
 +
 
 +
;Usage
 +
 
 +
<nowiki>{{Ambox|type=content|text=my text here}}</nowiki>, ''or''
 +
<nowiki>{{Ambox|type=speedy|text=my text here}}</nowiki>, ''etc''
 +
 
 +
;type
 +
 
 +
The ''type'' parameter defines the color 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
 +
* [[Template:Mbox]]
 +
* [[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]].
 +
* [[Wikipedia:Article message boxes]] – The style guideline for creating article message boxes.
 +
* [[Wikipedia talk:Article message boxes]] – For discussion about these matters.

Latest revision as of 13:21, 27 May 2018

Description

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

Usage
{{Ambox|type=content|text=my text here}}, or
{{Ambox|type=speedy|text=my text here}}, etc
type

The type parameter defines the color 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