Template:Mbox: Difference between revisions

    m>Happy-melon
    (steal unused template for a new high-level meta-template (for interaction between {{ambox}}, {{imbox}} and {{cmbox}})
    m>Happy-melon
    (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|}}}
    }}
    }}