Template:Mbox: Difference between revisions

From Vigyanwiki
Template>Happy-melon
(steal unused template for a new high-level meta-template (for interaction between {{ambox}}, {{imbox}} and {{cmbox}})
m (30 revisions imported from alpha:Template:Mbox)
 
(26 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{ {{#switch:{{NAMESPACE}}
{{#invoke:Message box|mbox}}<noinclude>
|{{ns:0}}=ambox
{{documentation}}
|{{ns:Image}}=imbox
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
|{{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|}}}
}}

Latest revision as of 10:15, 1 February 2023

Template documentation