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

Template:Ombox

  • Language
  • Watch
  • View source
Information
Template documentation[view] [edit] [history] [purge]

History

This is the {{ombox}} or other pages message box meta-template.

It is used to build generic-looking message box templates such as {{historical}}. It should be used in instances where {{ambox}} does not suffice, which is usually on pages outside of the Main namespace (such as policy and help pages).

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

Example to display a notice:

 {{ombox
 | text  = Hello world!
 }}

The code above should return:

Information
Hello world!

Changing the image

You can change the image by applying the | image parameter. For example, you could add [[Image:Historical.svg|30px|left]] to change the icon into an archive icon.

See also

  • Template:Ambox — article message box
  • Template:Imbox — image message box
  • Template:Mbox — multi namespace message box
  • Template:Tmbox — talk page message box
The above documentation is transcluded from Template:Ombox/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:Ombox&oldid=5014144"
Last edited on 30 January 2025, at 05:31

Languages

    • বাংলা
    • हिन्दी
    • Italiano
    • 日本語
    • Nederlands
    • Polski
    • တႆး
    • Svenska
    • Українська
    • 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