Permanently protected template

Difference between revisions of "Template:Mbox"

From The HILLSIDE
Jump to navigation Jump to search
en>Davidgothberg
(Changed the "#ifeq:" statements to "#if:", changed to using {{namespace detect}} so a demospace parameter can be used and talk space can be easily detected, and other fixes.)
m (102 revisions imported: Import Template:Page in progress)
 
(58 intermediate revisions by 27 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    = dmbox
 
  }}
 
<!-- These if-cases soon unnecessary since all but ambox and dmbox can take empty parameters, and ambox and dmbox will be fixed. This code 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:09, 14 July 2020

Template documentation