Difference between revisions of "Template:Mbox"

From Veloopti Help
Jump to: navigation, search
m (pass name for benefit of ambox)
Line 1: Line 1:
{{#switch:{{{small|}}}
+
{{
| left =
+
   {{namespace detect
  {{mbox/core
+
   | demospace = {{{demospace|}}}
   | small      = left
+
   | main     = ambox
  | type      = {{{type|}}}
+
   | talk     = tmbox
   | filename  = {{{filename|}}}
+
   | file     = imbox
   | image     = {{#if:{{{smallimage|}}}
+
   | category = cmbox
                | {{{smallimage}}}
+
   | other    = ombox
                | {{{image|}}}
 
                }}
 
  | imageright = {{#if:{{{smallimageright|}}}
 
                | {{{smallimageright}}}
 
                | {{{imageright|}}}
 
                }}
 
   | style     = {{{style|}}}
 
   | textstyle  = {{{textstyle|}}}
 
  | text      = {{#if:{{{smalltext|}}}
 
                | {{{smalltext}}}
 
                | {{{text}}}
 
                }}
 
  }}
 
| #default =
 
  {{mbox/core
 
  | type      = {{{type|}}}
 
  | filename  = {{{filename|}}}
 
  | 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|}}}
 +
| name      = {{{name|}}}
 
}}<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 12:47, 19 June 2012

{{

 Template:Namespace detect

| type = | image = | imageright = | class = | style = | textstyle = | text = {{{text}}} | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}

50px Template documentation[create]