• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If this site has been useful to you, please give today.
  • About Wikivoyage
  • Disclaimer
Wikivoyage

Template:Ambox

  • Language
  • Watch
  • Edit
Information
Template documentation[view] [edit] [history] [purge]
CSS This template uses TemplateStyles:
  • Template:Ambox/styles.css

History

edit

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

It is used to build article message box templates such as {{style}}. It offers several different colours, uses default images if no image parameter is given, and has some other features.

This template is a derived work. It is, however, NOT exactly the same as Wikipedia's template of the same name! All CSS has been integrated into the template, and therefore some features are not available. However it is still a very useful template!

Usage Instructions

edit

Example to display a notice:

 {{Ambox
 | type  = notice
 | text  = There's an issue with this page!
 | fix   = To fix it, you can edit!
 }}

The code above should return:

Information
Hello world!

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.

Speedy
|type= speedy – speedy deletion issues, such as {{speedy}}


Delete
|type= delete – deletion issues, such as {{vfd}}


Content
|type= content – content issues, such as {{movetodistrict}}


Style
|type= style – style issues, such as {{style}}


Information
|type= notice – article notices, such as {{districts discussion}}


Move
|type= move – merge, split and transwiki proposals, such as {{merge}}


Protection
|type= protection – protection notices, such as {{protected}}


The box and text will not appear in printed copies of pages; this is by design, as page maintenance notices are only of value if the user is online and able to edit the page to fix the issues.

See also

edit
  • Template:Imbox — image message box
  • Template:Mbox — multi namespace message box
  • Template:Ombox — other pages message box (e.g. policy or help pages)
  • Template:Tmbox — talk page message box
The above documentation is transcluded from Template:Ambox/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikivoyage.org/w/index.php?title=Template:Ambox&oldid=5014143"
Last edited on 30 January 2025, at 05:30

Languages

    • বাংলা
    • Deutsch
    • Ελληνικά
    • Esperanto
    • فارسی
    • Suomi
    • Français
    • हिन्दी
    • Bahasa Indonesia
    • Italiano
    • 日本語
    • Nederlands
    • Polski
    • Português
    • Română
    • Русский
    • တႆး
    • Svenska
    • Türkçe
    • Tiếng Việt
    • 中文
    Wikivoyage
    • Wikimedia Foundation
    • Powered by MediaWiki
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikivoyage
    • Disclaimer
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop