Difference between revisions of "Template:Ambox/doc"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(this was broken, make sure it works by adding a few examples here)
 
(24 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
<noinclude>{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
{{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.
  
=== Type preview ===
+
;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
 
{{Ambox
 
|nocat=true
 
|nocat=true
 
| type  = speedy
 
| type  = speedy
| text  = type=<u>speedy</u>
+
| text  = type=<u>speedy</u> – Speedy deletion issues, such as {{tl|speedy}}.
 
}}
 
}}
 
{{Ambox
 
{{Ambox
 
|nocat=true
 
|nocat=true
 
| type  = delete
 
| type  = delete
| text  = type=<u>delete</u>
+
| text  = type=<u>delete</u> – Deletion issues, such as {{tl|delete}}.
 
}}
 
}}
 
{{Ambox
 
{{Ambox
 
|nocat=true
 
|nocat=true
| type  = warning
+
| type  = content
| text  = type=<u>warning</u>
+
| text  = type=<u>content</u> – Content issues, such as {{tl|POV}} and {{tl|globalize}}.
 
}}
 
}}
 
{{Ambox
 
{{Ambox
 
|nocat=true
 
|nocat=true
 
| type  = style
 
| type  = style
| text  = type=<u>style</u>.
+
| text  = type=<u>style</u> – Style issues, such as {{tl|cleanup}} and {{tl|underlinked}}.
 
}}
 
}}
 
{{ambox
 
{{ambox
 
|nocat=true
 
|nocat=true
 
| type  = notice
 
| type  = notice
| text  = type=<u>notice</u>
+
| text  = type=<u>notice</u> – Article notices, such as {{tl|current}} and {{tl|in use}}.
 
}}
 
}}
 
{{Ambox
 
{{Ambox
 
|nocat=true
 
|nocat=true
 
| type  = move
 
| type  = move
| text  = type=<u>move</u>
+
| text  = type=<u>move</u> – Merge, split and transwiki proposals, such as {{tl|split}} and {{tl|copy to Wiktionary}}.
 
}}
 
}}
 
{{Ambox
 
{{Ambox
 
|nocat=true
 
|nocat=true
 
| type  = protection
 
| type  = protection
| text  = type=<u>protection</u>
+
| text  = type=<u>protection</u> – Protection notices, such as {{tl|pp-vandalism}} and {{tl|pp-protected}}.
 
}}
 
}}
  
=== See also ===
+
If no ''type'' parameter is given the template defaults to {{para|type|notice}}.
{{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.
 
  
<includeonly>
+
;See also
[[Category:Mbox templates]]
+
* [[Template:Mbox]]
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
* [[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]].
</includeonly>
+
* [[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