Difference between revisions of "Template:Mbox"

From Self-sufficiency
Jump to: navigation, search
m (Protected Template:Mbox: High-risk template (soon to be, anyway :D ) [edit=sysop:move=sysop])
m (1 revision)
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{  
+
{{
 
   {{namespace detect  
 
   {{namespace detect  
 
   | demospace = {{{demospace|}}}
 
   | demospace = {{{demospace|}}}
 
   | main      = ambox
 
   | main      = ambox
<!-- | talk   = tmbox -->
+
  | talk     = tmbox
   | image    = imbox
+
   | file      = imbox
 
   | category  = cmbox
 
   | category  = cmbox
   | other    = dmbox
+
   | other    = ombox
 
   }}
 
   }}
<!-- 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.  -->
+
| type      = {{{type|}}}
| {{#if:{{{type|}}}| type={{{type|}}} }}
+
| image      = {{{image|}}}
| {{#if:{{{image|}}}| image={{{image|}}} }}
+
| imageright = {{{imageright|}}}
| {{#if:{{{imageright|}}}| imageright={{{imageright|}}} }}
+
| class      = {{{class|}}}
| {{#if:{{{style|}}}| style={{{style|}}} }}
+
| style      = {{{style|}}}
| {{#if:{{{textstyle|}}}| textstyle={{{textstyle|}}} }}
+
| textstyle  = {{{textstyle|}}}
| {{#if:{{{text|}}}| text={{{text|}}} }}
+
| text      = {{{text}}}
 
+
| small      = {{{small|}}}
 +
| smallimage = {{{smallimage|}}}
 +
| smallimageright = {{{smallimageright|}}}
 +
| smalltext  = {{{smalltext|}}}
 +
| subst      = {{{subst|}}}
 +
| date      = {{{date|}}}
 
}}<noinclude>
 
}}<noinclude>
 
+
{{documentation}}
<!-- {{pp-template|small=yes}} -->
+
{{Documentation}}
+
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 13:53, 10 December 2011