Difference between revisions of "Template:Ambox/doc"
From Game Detectives Wiki
[unchecked revision] | [unchecked revision] |
m (15 revisions imported) |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Documentation subpage}} | + | <noinclude>{{Documentation subpage}} |
− | {{high-risk}} | + | {{high-risk}}</noinclude> |
+ | |||
+ | ;Description | ||
This is the {{Tl|Ambox}} or '''Article message box''' meta-template. | This is the {{Tl|Ambox}} or '''Article message box''' meta-template. | ||
− | == | + | ;Usage |
− | The ''type'' parameter defines the | + | |
+ | <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 | {{Ambox | ||
|nocat=true | |nocat=true | ||
Line 43: | Line 51: | ||
If no ''type'' parameter is given the template defaults to {{para|type|notice}}. | 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
This is a documentation subpage for Template:Ambox. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on a very large number of pages. To avoid large-scale disruption and unnecessary server load, any changes to it should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in a single edit. Please consider discussing any changes on the talk page before implementing them. |
- 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.
type=speedy – Speedy deletion issues, such as {{speedy}}. |
type=delete – Deletion issues, such as {{delete}}. |
type=content – Content issues, such as {{POV}} and {{globalize}}. |
type=style – Style issues, such as {{cleanup}} and {{underlinked}}. |
type=notice – Article notices, such as {{current}} and {{in use}}. |
type=move – Merge, split and transwiki proposals, such as {{split}} and {{copy to Wiktionary}}. |
type=protection – Protection notices, such as {{pp-vandalism}} and {{pp-protected}}. |
If no type parameter is given the template defaults to |type=notice
.
- See also
- Template:Mbox
- Wikipedia:Ambox CSS classes – Describes how to use the ambox CSS classes directly in wikitables and HTML tables.
- Wikipedia:Article message boxes – The style guideline for creating article message boxes.
- Wikipedia talk:Article message boxes – For discussion about these matters.