Template:Ambox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 50: | Line 50: | ||
| notice = <!-- Do nothing, valid "type" --> | | notice = <!-- Do nothing, valid "type" --> | ||
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Message box parameter needs fixing|Main{{FULLPAGENAME}}]]<!-- Sort on namespace --> | | #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Message box parameter needs fixing|Main{{FULLPAGENAME}}]]<!-- Sort on namespace --> | ||
}}<noinclude> | |||
== Usage == | |||
Simple usage example: | |||
<pre> | |||
{{ambox | text = Some text.}} | |||
</pre> | |||
{{ambox | text = Some text.}} | |||
Complex example: | |||
<pre> | |||
{{ambox | |||
| type = style | |||
| image = [[File:Emblem-question-yellow.svg|40px|alt=Question mark]] | |||
| textstyle = color: red; font-weight: bold; font-style: italic; | |||
| text = Text for a big box, for the top of articles. | |||
}} | }} | ||
</pre> | |||
== Article message box types == | |||
The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type. | |||
{{ambox | |||
| type = speedy | |||
| text = type=<u>speedy</u> – Speedy deletion issues, such as {{tl|db-g1}} and {{tl|db-g3}}. | |||
}} | |||
{{ambox | |||
| type = delete | |||
| text = type=<u>delete</u> – Deletion issues, such as {{tl|afd}} and {{tl|prod}}. | |||
}} | |||
{{ambox | |||
| type = content | |||
| text = type=<u>content</u> – Content issues, such as {{tl|POV}} and {{tl|globalize}}. | |||
}} | |||
{{ambox | |||
| type = style | |||
| text = type=<u>style</u> – Style issues, such as {{tl|cleanup}} and {{tl|wikify}}. | |||
}} | |||
{{ambox | |||
| type = notice | |||
| text = type=<u>notice</u> – Article notices, such as {{tl|current}} and {{tl|inuse}}. | |||
}} | |||
{{ambox | |||
| type = move | |||
| text = type=<u>move</u> – Merge, split and transwiki proposals, such as {{tl|split}} and {{tl|copy to wiktionary}}. | |||
}} | |||
{{ambox | |||
| type = protection | |||
| text = type=<u>protection</u> – Protection notices, such as {{tl|pp-vandalism}} and {{tl|pp-semi-protected}}. | |||
}} | |||
</noinclude> |
Revision as of 11:56, 5 March 2011
{{{text}}} |
Usage
Simple usage example:
{{ambox | text = Some text.}}
Some text. |
Complex example:
{{ambox | type = style | image = [[File:Emblem-question-yellow.svg|40px|alt=Question mark]] | textstyle = color: red; font-weight: bold; font-style: italic; | text = Text for a big box, for the top of articles. }}
Article message box types
The following examples use different type parameters but use no image parameters thus they use the default images for each type.
type=speedy – Speedy deletion issues, such as Template:Tl and Template:Tl. |
type=delete – Deletion issues, such as Template:Tl and Template:Tl. |
type=content – Content issues, such as Template:Tl and Template:Tl. |
type=style – Style issues, such as Template:Tl and Template:Tl. |
type=notice – Article notices, such as Template:Tl and Template:Tl. |
type=move – Merge, split and transwiki proposals, such as Template:Tl and Template:Tl. |
type=protection – Protection notices, such as Template:Tl and Template:Tl. |