Template:Ambox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
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> | }}<noinclude>__NOTOC__ | ||
==Documentation== | ==Documentation== | ||
=== Examples === | === Examples === |
Latest revision as of 17:59, 8 May 2019
{{{text}}} |
Documentation
Examples
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 type examples
The following examples use different type parameters but use no image parameters thus they use the default images for each type. These are taken from Wikipedia so may not be a perfect match for the Nottinghack Wiki.
type=speedy – Speedy deletion issues. |
type=delete – Deletion issues. |
type=content – Content issues. |
type=style – Style issues. |
type=notice – Article notices. |
type=move – Merge, split and transwiki proposals. |
type=protection – Protection notices. |
Resources
This template uses styles stored in MediaWiki:Common.css