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

Template:Mbox

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

This is the {{mbox}} or multi namespace message box meta-template.

This meta-template is used to build message box templates that are used on several types of pages and thus need to change style depending on what page they are used on. Based on page type detected it uses one of {{ambox}}, {{tmbox}}, {{imbox}} and {{ombox}}.

Note that this template should only be used for message boxes that really need to adapt their style. Most message boxes do not need this and should use one of {{ambox}}, {{tmbox}}, {{imbox}} or {{ombox}} directly. Using those templates directly means that your template will look the same on its template page and at any other place you show it, which makes it clear on what kind of pages it is supposed to be used. It also gives you access to any extra features those templates offer, and it saves some server load.

See also

  • Template:Ambox — article message box
  • Template:Imbox — image message box
  • Template:Ombox — other pages message box
  • Template:Tmbox — talk page message box
The above documentation is transcluded from Template:Mbox/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:Mbox&oldid=4007027"
Last edited on 23 June 2020, at 14:25

Languages

    • বাংলা
    • Čeština
    • فارسی
    • हिन्दी
    • Bahasa Indonesia
    • Italiano
    • 日本語
    • Nederlands
    • Polski
    • တႆး
    • 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