Difference between revisions of "Template:Ambox/doc"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{Documentation subpage}}</noinclude>
+
<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.
  
=== ''type'' ===
+
;Usage
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.
+
 
 +
<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  = slow
+
| type  = speedy
 
| text  = type=<u>speedy</u> – Speedy deletion issues, such as {{tl|speedy}}.
 
| text  = type=<u>speedy</u> – Speedy deletion issues, such as {{tl|speedy}}.
 
}}
 
}}
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 ===
+
;See also
{{TNT|mbox templates}}
+
* [[Template:Mbox]]
Other pages:
+
* [[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:Template:Mbox]]
+
* [[Wikipedia:Article message boxes]] – The style guideline for creating article message boxes.
* [[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]].
+
* [[Wikipedia talk:Article message boxes]] – For discussion about these matters.
* [[w:Wikipedia:Article message boxes]] – The style guideline for creating article message boxes.
 
* [[w: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