Difference between revisions of "Template:Mbox"

From Sugar Labs
Jump to navigation Jump to search
(New page: {{ {{namespace detect | demospace = {{{demospace|}}} | main = ambox | talk = tmbox | file = imbox | category = cmbox | other = ombox }} | type = ...)
 
 
Line 1: Line 1:
{{
+
{{#switch:{{{small|}}}
   {{namespace detect
+
| left =
   | demospace = {{{demospace|}}}
+
   {{mbox/core
   | main     = ambox
+
   | small      = left
   | talk     = tmbox
+
  | type      = {{{type|}}}
   | 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|}}}
 +
  | 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>
 
{{pp-template|small=yes}}
 
 
{{Documentation}}
 
{{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 17:41, 16 May 2011

Documentation

Template:Mbox/doc