Template:DisplayBox: Difference between revisions
Jump to navigation
Jump to search
(add marginL & marginR optional params (default to 30px)) |
mNo edit summary |
||
Line 8: | Line 8: | ||
|text=<text to display, defaults to parameter 1 when no optional parameters are used | |text=<text to display, defaults to parameter 1 when no optional parameters are used | ||
--> | --> | ||
<div style="margin: 0; margin-right: {{{marginR|30px}}}; margin-left: {{{marginL|30px}}}; border:{{{bdwidth|1}}}px solid {{{bdcolor|#3399ff}}}; padding: {{{padding|1em 1em 1em 1em}}}; background-color:{{switch|{{{bgcolor|grey}}}|case: grey=#d8d8d8|case: none=#ffffff|case: g=#d8eed8|case: r=#eed8d8|case: y=#eeeeb8|case: b=#d0d0e8|case: m=#e8d4ee|default={{{bgcolor}}}}};"> | <div style="margin: 0; margin-right: {{{marginR|30px}}}; margin-left: {{{marginL|30px}}}; border:{{{bdwidth|1}}}px solid {{{bdcolor|#3399ff}}}; padding: {{{padding|1em 1em 1em 1em}}}; background-color:{{switch|{{{bgcolor|grey}}}|case: grey=#d8d8d8|case: none=#ffffff|case: g=#d8eed8|case: r=#eed8d8|case: y=#eeeeb8|case: b=#d0d0e8|case: m=#e8d4ee|default={{{bgcolor}}}}};">{{{text|{{{1|<displayed text>}}}}}}</div><noinclude><br> | ||
{{{text|{{{1|<displayed text>}}}}}} | |||
</div><noinclude><br> | |||
{{prot-temp}} | {{prot-temp}} | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 19:01, 7 December 2009
<displayed text>
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |