Template:Message: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
<onlyinclude><includeonly><span style="width:100%; box-sizing: border-box; display:flex; padding-left: clamp(0em, calc(1.6em * {{{indent|0}}}), 22.4em); margin:8px 0 8px 0;">{{#switch:{{{1}}} | <onlyinclude><includeonly><span style="width:100%; box-sizing: border-box; display:flex; padding-left: clamp(0em, calc(1.6em * {{{indent|0}}}), 22.4em); margin:8px 0 8px 0;">{{#switch:{{{1}}} | ||
|#default=<span style="min-width:25em; max-width:{{#switch:{{NAMESPACE}}|User talk|Template talk={{{max-width|100%}}}|#default={{{max-width|80%}}}}}; background-color:rgba(255,255,255,.1); {{border-radius|4px}}; display:flex; flex-direction:column; overflow:hidden; font-family:sans-serif; float:left"><!-- | |#default=<span style="min-width:25em; max-width:{{#switch:{{NAMESPACE}}|User talk|Template talk={{{max-width|100%}}}|#default={{{max-width|80%}}}}}; background-color:rgba(255,255,255,.1); {{border-radius|4px}}; display:flex; flex-direction:column; overflow:hidden; font-family:sans-serif; float:left"><!-- | ||
-->{{#if: {{{1|}}} | <div style="box-shadow:0 0 10px rgba(0,0,0,.3); padding:4px 8px; margin:0;">{{{1|}}}</div> }}<!-- | -->{{#if: {{{1|}}} | <div style="box-shadow:0 0 10px rgba(0,0,0,.3); word-wrap: break-word; padding:4px 8px; margin:0;">{{{1|}}}</div> }}<!-- | ||
-->{{#if: {{{3|}}} | <div style="max-height:256px; border-bottom:1px solid rgba(0,0,0,.3); overflow:auto; user-select:none; padding:8px; margin: 0;">{{{3|}}}</div> }}<!-- | -->{{#if: {{{3|}}} | <div style="max-height:256px; border-bottom:1px solid rgba(0,0,0,.3); overflow:auto; user-select:none; padding:8px; margin: 0;">{{{3|}}}</div> }}<!-- | ||
-->{{#if: {{{2|}}} | <p style="background-color: rgba(0,0,0,.1); padding: 4px 8px; margin: 0;">{{{2|}}}</p> }} | -->{{#if: {{{2|}}} | <p style="background-color: rgba(0,0,0,.1); padding: 4px 8px; margin: 0;">{{{2|}}}</p> }} |