Template:Mbox: Difference between revisions

183 bytes removed ,  3 years ago
m
37 revisions imported from templatewiki:Template:Mbox
(steal unused template for a new high-level meta-template (for interaction between {{ambox}}, {{imbox}} and {{cmbox}})
m (37 revisions imported from templatewiki:Template:Mbox)
 
(29 intermediate revisions by 14 users not shown)
Line 1:
{{#invoke:Message box|mbox}}<noinclude>
{{ {{#switch:{{NAMESPACE}}
{{documentation}}
|{{ns:0}}=ambox
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
|{{ns:Image}}=imbox
</noinclude>
|{{ns:Category}}=cmbox
|#default=ambox
}}
|{{#if:{{{type|}}}|type|}}={{{type|}}}
|{{#if:{{{image|}}}|image|}}={{{image|}}}
|{{#if:{{{style|}}}|style|}}={{{style|}}}
|{{#if:{{{textstyle|}}}|textstyle|}}={{{textstyle|}}}
|{{#if:{{{text|}}}|text|}}={{{text|}}}
}}