Template:Mbox/doc: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
m 1 revision imported
No edit summary
 
Line 1:
{{Documentation subpage}}
{{High-risk}}
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) -->
{{High-risk|1107767|all-pages=y}}
{{Used in system}}
{{Lua|Module:Message box}}
{{Mbox templates (small)}}
 
{{tl|Mbox}} stands for '''M'''ulti-namespace message'''box''' which is a [[Help:Metatemplating|metatemplate]] with which [[Wikipedia:Namespace|namespace]]-sensitive {{cl|Mbox and messagebox templates|messagebox templates}} can be implemented.
Line 37 ⟶ 35:
Note: The small parameters only have effect when the template appears on an article, talk or "other" page type. For their associated documentation, see {{tl|Ambox}}, {{tl|Tmbox}} and/or {{tl|Ombox}}. Using the small parameters when they are not valid has no effect, but also does no harm.
 
== About demospace ==
This template optionally takes the "demospace" parameter as described at {{tl|Namespace detect}}. That parameter is only for testing and demonstration purposes. If you want to lock your message box to one style then instead use one of the other mboxes directly.
 
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 {{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.
 
== Mbox family ==
{{Mbox templates see also}}
 
== See also ==
* [[:Category:Mbox and messagebox templates]]
 
<includeonly>{{Sandbox other||