Difference between revisions of "Template:Mbox"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (pass subst and date for benefit of ambox)
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}}}
 +
                }}
 
   }}
 
   }}
| type      = {{{type|}}}
+
| #default =
| image      = {{{image|}}}
+
  {{mbox/core
| imageright = {{{imageright|}}}
+
  | type      = {{{type|}}}
| style      = {{{style|}}}
+
  | image      = {{{image|}}}
| textstyle  = {{{textstyle|}}}
+
  | imageright = {{{imageright|}}}
| text      = {{{text}}}
+
  | style      = {{{style|}}}
| small      = {{{small|}}}
+
  | textstyle  = {{{textstyle|}}}
| smallimage = {{{smallimage|}}}
+
  | text      = {{{text}}}
| smallimageright = {{{smallimageright|}}}
+
  }}
| smalltext  = {{{smalltext|}}}
+
}}
| subst      = {{{subst|}}}
 
| date      = {{{date|}}}
 
}}<noinclude>
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Revision as of 15:04, 4 November 2011