User:Wlgrin/Sandbox/Generic/Main/Template001/code/Message

{{safesubst:#switch:{{{layout}}}|table-cell=<{{safesubst:#ifeq:{{{is-heading|false}}}|true|th {{safesubst:#if:{{{heading-scope|}}}|scope="{{{heading-scope}}}" }}|td}} style="box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;{{safesubst:#if:{{{frame-width|}}}| width:{{{frame-width}}};}}{{safesubst:#if:{{{frame-height|}}}| height:{{{frame-height}}};}} border-style:{{safesubst:#if:{{{border-style|}}}|{{{border-style}}}|none}}; border-width:{{safesubst:#if:{{{border-width|}}}|{{{border-width}}}|0}}; border-color:{{safesubst:#if:{{{border-colour|}}}|{{{border-colour}}}|inherit}};{{safesubst:#if:{{{background-colour|}}}| background-color:{{{background-colour}}};}} padding:{{safesubst:#if:{{{padding|}}}|{{{padding}}}|0}}; vertical-align:{{safesubst:#if:{{{vertical-align|}}}|{{{vertical-align}}}|middle}};">

{{safesubst:User:Wlgrin/Sandbox/Generic/Main/Template001/code/Message text|text={{{text|}}}|more={{{more|}}}}}
|float=
{{safesubst:User:Wlgrin/Sandbox/Generic/Main/Template001/code/Message text|text={{{text|}}}|more={{{more|}}}}}
|#default|block|inline-block|inline={{safesubst:#ifexpr: {{safesubst:#ifeq:{{{layout}}}|block|1|0}}or {{safesubst:#ifeq:{{{layout}}}|inline-block|1|0}}or ( {{safesubst:#if:{{{border-style|}}}|1|0}}and {{safesubst:#ifeq:{{{border-style}}}|none|0|1}})or {{safesubst:#if:{{{frame-width|}}}{{{frame-min-width|}}}{{{frame-max-width|}}}{{{width|}}}{{{min-width|}}}{{{max-width|}}}{{{frame-height|}}}{{{height|}}}{{{min-height|}}}{{{max-height|}}}|1|0}}|
{{safesubst:User:Wlgrin/Sandbox/Generic/Main/Template001/code/Message text|text={{{text|}}}|more={{{more|}}}}}
|
{{safesubst:User:Wlgrin/Sandbox/Generic/Main/Template001/code/Message text|text={{{text|}}}|more={{{more|}}}}}
}}}}{{Documentation}}