Difference between revisions of "Template:Mbox"

From Veloopti Help
Jump to: navigation, search
(localise)
m (redundant)
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|}}}
 +
| style      = {{{style|}}}
 +
| textstyle  = {{{textstyle|}}}
 +
| text      = {{{text}}}
 +
| small      = {{{small|}}}
 +
| smallimage = {{{smallimage|}}}
 +
| smallimageright = {{{smallimageright|}}}
 +
| smalltext  = {{{smalltext|}}}
 
}}<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 08:40, 2 June 2010

{{

 Template:Namespace detect

| type = | image = | imageright = | style = | textstyle = | text = {{{text}}} | small = | smallimage = | smallimageright = | smalltext = }}

50px Template documentation[create]