Template:Mbox: Difference between revisions

m
26 revisions imported: import clickable buttons 2
(steal unused template for a new high-level meta-template (for interaction between {{ambox}}, {{imbox}} and {{cmbox}})
m (26 revisions imported: import clickable buttons 2)
 
(32 intermediate revisions by 14 users not shown)
Line 1:
{{#invoke:Message box|mbox}}<noinclude>
{{ {{#switch:{{NAMESPACE}}
{{doc|{{Mbox/doc}}}}
|{{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|}}}
}}