Template:Mbox: Difference between revisions

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