Template:Mbox: Difference between revisions

m
1 revision imported from wikipedia:Template:Mbox
(Updating the code comment since ambox and dmbox/ombox has been fixed. They can take empty parameters now.)
m (1 revision imported from wikipedia:Template:Mbox)
 
(17 intermediate revisions by 10 users not shown)
Line 1:
{{#invoke:Message box|mbox}}<noinclude>
{{
{{documentation}}
{{namespace detect
<!-- Add categories and interwikis to the /doc subpage; interwikis go to Wikidata, notthank hereyou! -->
| demospace = {{{demospace|}}}
| main = ambox
<!-- | talk = tmbox -->
| image = imbox
| category = cmbox
| other = ombox
}}
<!-- These if-cases should perhaps be removed since all current mboxes can take empty parameters. This code also means we are feeding several empty numbered parameters but that doesn't matter since the mboxes don't use numbered parameters. -->
| {{#if:{{{type|}}}| type={{{type|}}} }}
| {{#if:{{{image|}}}| image={{{image|}}} }}
| {{#if:{{{imageright|}}}| imageright={{{imageright|}}} }}
| {{#if:{{{style|}}}| style={{{style|}}} }}
| {{#if:{{{textstyle|}}}| textstyle={{{textstyle|}}} }}
| {{#if:{{{text|}}}| text={{{text|}}} }}
 
}}<noinclude>
 
<!-- {{pp-template|small=yes}} -->
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
rtl-contributors
1,630

edits