Difference between revisions of "Template:Mbox"

From Timelines
Jump to: navigation, search
(A first beta version of {{tmbox}} is available, so enabled call to tmbox.)
m (Changed protection level for "Template:Mbox": Allowing template editors on some templates with full protection dating back to pre-WP:TPROT times which aren't too often or too sensitively used. ([Edit=Require template editor access] (indefinite)...)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{
+
{{#invoke:Message box|mbox}}<noinclude>
  {{namespace detect
+
{{documentation}}
  | demospace = {{{demospace|}}}
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
  | 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>
 
</noinclude>

Latest revision as of 08:04, 25 March 2017

Template documentation[create]