Difference between revisions of "Template:Mbox"

From Terminals
Jump to: navigation, search
(Undo revision 450983 by Mailer2010 (talk))
 
(pass through class)
Line 1: Line 1:
{{#switch:{{{small|}}}
+
{{
| left =
+
   {{namespace detect
   {{mbox/core
+
   | demospace = {{{demospace|}}}
   | small      = left
+
   | main     = ambox
  | type      = {{{type|}}}
+
   | talk     = tmbox
   | image     = {{#if:{{{smallimage|}}}
+
   | file     = imbox
                | {{{smallimage}}}
+
   | category = cmbox
                | {{{image|}}}
+
   | other    = ombox
                }}
 
   | imageright = {{#if:{{{smallimageright|}}}
 
                | {{{smallimageright}}}
 
                | {{{imageright|}}}
 
                }}
 
  | style     = {{{style|}}}
 
  | textstyle  = {{{textstyle|}}}
 
   | text      = {{#if:{{{smalltext|}}}
 
                | {{{smalltext}}}
 
                | {{{text}}}
 
                }}
 
  }}
 
| #default =
 
  {{mbox/core
 
  | type      = {{{type|}}}
 
  | image      = {{{image|}}}
 
  | imageright = {{{imageright|}}}
 
  | style     = {{{style|}}}
 
   | textstyle = {{{textstyle|}}}
 
   | text      = {{{text}}}
 
 
   }}
 
   }}
 +
| type      = {{{type|}}}
 +
| image      = {{{image|}}}
 +
| imageright = {{{imageright|}}}
 +
| class      = {{{class|}}}
 +
| style      = {{{style|}}}
 +
| textstyle  = {{{textstyle|}}}
 +
| text      = {{{text}}}
 +
| small      = {{{small|}}}
 +
| smallimage = {{{smallimage|}}}
 +
| smallimageright = {{{smallimageright|}}}
 +
| smalltext  = {{{smalltext|}}}
 +
| subst      = {{{subst|}}}
 +
| date      = {{{date|}}}
 
}}<noinclude>
 
}}<noinclude>
{{Documentation}}
+
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 00:28, 20 November 2011

[create] Documentation icon Template documentation