Difference between revisions of "Template:Mbox"
Jump to navigation
Jump to search
imported>Jim.belk |
imported>Happy-melon (steal unused template for a new high-level meta-template (for interaction between {{ambox}}, {{imbox}} and {{cmbox}}) |
||
Line 1: | Line 1: | ||
− | + | {{ {{#switch:{{NAMESPACE}} | |
− | + | |{{ns:0}}=ambox | |
− | + | |{{ns:Image}}=imbox | |
− | + | |{{ns:Category}}=cmbox | |
− | + | |#default=ambox | |
− | + | }} | |
− | + | |{{#if:{{{type|}}}|type|}}={{{type|}}} | |
− | + | |{{#if:{{{image|}}}|image|}}={{{image|}}} | |
− | + | |{{#if:{{{style|}}}|style|}}={{{style|}}} | |
− | + | |{{#if:{{{textstyle|}}}|textstyle|}}={{{textstyle|}}} | |
− | + | |{{#if:{{{text|}}}|text|}}={{{text|}}} | |
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− |