Difference between revisions of "Template:Mbox"

From Self-sufficiency
Jump to: navigation, search
(steal unused template for a new high-level meta-template (for interaction between {{ambox}}, {{imbox}} and {{cmbox}})
(more rigorous)
Line 5: Line 5:
 
  |#default=ambox
 
  |#default=ambox
 
  }}
 
  }}
|{{#if:{{{type|}}}|type|}}={{{type|}}}
+
|{{#ifeq:{{{type|μ}}}|μ||type}}={{{type|}}}
|{{#if:{{{image|}}}|image|}}={{{image|}}}
+
|{{#ifeq:{{{image|μ}}}|μ||image}}={{{image|}}}
|{{#if:{{{style|}}}|style|}}={{{style|}}}
+
|{{#ifeq:{{{imageright|μ}}}|μ||imageright}}={{{imageright|}}}
|{{#if:{{{textstyle|}}}|textstyle|}}={{{textstyle|}}}
+
|{{#ifeq:{{{style|μ}}}|μ||style}}={{{style|}}}
|{{#if:{{{text|}}}|text|}}={{{text|}}}
+
|{{#ifeq:{{{textstyle|μ}}}|μ||textstyle}}={{{textstyle|}}}
 +
|{{#ifeq:{{{text|μ}}}|μ||text}}={{{text|}}}
 
}}
 
}}

Revision as of 13:08, 20 May 2008