Template:Ambox/doc: Difference between revisions

From BoyWiki
No edit summary
Line 9: Line 9:


This is the {{Tl|Ambox}} or '''Article message box''' meta-template.
This is the {{Tl|Ambox}} or '''Article message box''' meta-template.
 
==Basic usage==
The box below shows the most common parameters that are accepted by {{Tl|Ambox}}. The purpose of each is described below.
<pre style="overflow:auto;">
{{Ambox
| name  =
| subst = <includeonly>{{subst:substcheck}}</includeonly>
| small = {{{small|}}}
| type  =
| image =
| sect  = {{{1|}}}
| issue =
| talk  = {{{talk|}}}
| fix  =
| date  = {{{date|}}}
| cat  =
| all  =
}}
</pre>
== Parameters ==
== Parameters ==
=== <code>type</code> ===
=== <code>type</code> ===

Revision as of 18:39, 16 June 2022



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

Basic usage

The box below shows the most common parameters that are accepted by {{Ambox}}. The purpose of each is described below.

{{Ambox
| name  = 
| subst = <includeonly>{{subst:substcheck}}</includeonly>
| small = {{{small|}}}
| type  = 
| image = 
| sect  = {{{1|}}}
| issue = 
| talk  = {{{talk|}}}
| fix   = 
| date  = {{{date|}}}
| cat   = 
| all   = 
}}

Parameters

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.

small=left




|}