Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MessageBox: Difference between revisions

Template page
Added max-width so message is still readable on widescreens
Made template collapsible (had to replace DIV with TABLE to make the collapsing JS work correctly)
Line 1: Line 1:
<div style="margin: 1em; border: 1px #555 solid; max-width: 600px;">
{| style="margin: 1em; max-width: 600px;" class="wikitable {{#ifeq:{{{collapsed|no}}}|yes|collapsible collapsed|}}"
<div style="background: #000; border-bottom: 1px #555 solid; padding: 0.25em 0.5em; font-size: 0.9em;" >{{{1|Message:}}}</div>
! style="font-size:0.9em; background-color:#000000; padding: 0.25em 0.5em;font-weight:normal" | {{{1|Message:}}}
<div style="background: #222; padding: 1em;">{{{2|Text}}}</div>
|-
</div>
| style="background-color:#222222; padding: 1em;" | {{{2|Text}}}
<noinclude>
|}<noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>