Editing Template:Mbox/doc

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
 
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
 +
{{High-risk|479,000+}}
 
{{Lua|Module:Message box}}
 
{{Lua|Module:Message box}}
  
{{tl|Mbox}} ("['''M''']ulti-namespace message['''box''']") is a [[Help:Metatemplating|metatemplate]] with which [[Wikipedia:Namespace|namespace]]-sensitive {{Cl|Mbox and messagebox templates|messagebox templates}} can be implemented. The most common of these are {{tl|Ambox}} for articles, {{tl|Tmbox}} for talk pages, {{tl|Imbox}} for file (formerly image) pages, {{tl|Cmbox}} for category pages and {{tl|Ombox}} for other types of page.
+
{{tl|Mbox}} ("['''M''']ulti-namespace message['''box''']") is a [[Help:Metatemplating|metatemplate]] with which [[Wikipedia:Namespace|namespace]]-sensitive {{cl|Mbox and messagebox templates|messagebox templates}} can be implemented. The most common of these are {{tl|Ambox}} for articles, {{tl|Tmbox}} for talk pages, {{tl|Imbox}} for file (formerly image) pages, {{tl|Cmbox}} for category pages and {{tl|Ombox}} for other types of page.
  
 
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 the varieties just listed. 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.
 
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 the varieties just listed. 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.
Line 19: Line 20:
 
Namespace "Image:" was renamed to "File:" on 11 December 2008. This template was updated to understand both names well before that, thus it still works fine. For backwards compatibility it still understands "demospace&nbsp;= image" which means the same thing as "demospace&nbsp;= file". But using "demospace&nbsp;= image" is now deprecated.
 
Namespace "Image:" was renamed to "File:" on 11 December 2008. This template was updated to understand both names well before that, thus it still works fine. For backwards compatibility it still understands "demospace&nbsp;= image" which means the same thing as "demospace&nbsp;= file". But using "demospace&nbsp;= image" is now deprecated.
  
Namespace "Book:" was added to the English Wikipedia on 28 December 2009. This template uses the {{Tlx|Ombox}} style on "Book:" pages (or when "demospace&nbsp;= book") and the {{Tlx|Tmbox}} style on "Book talk:" pages (or when "demospace&nbsp;= talk"). Note that "demospace&nbsp;= talk" means any talk space.
+
Namespace "Book:" was added to the English Wikipedia on 28 December 2009. This template uses the {{tlf|Ombox}} style on "Book:" pages (or when "demospace&nbsp;= book") and the {{tlf|Tmbox}} style on "Book talk:" pages (or when "demospace&nbsp;= talk"). Note that "demospace&nbsp;= talk" means any talk space.
  
 
== Parameters ==
 
== Parameters ==

Please note that all contributions to IOP Wiki are considered to be released under the the Creative Commons Attribution-ShareAlike License (see IOP Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)