Template:DisplayBox: Difference between revisions
Jump to navigation
Jump to search
(go back to {{switch}} template instead of {{#switch:}} parserfunction.) |
mNo edit summary |
||
Line 17: | Line 17: | ||
|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=#dddddd|case: none=#ffffff|case: g=#ddffdd|case: r=#ffdddd|case: y=#eeeeb8|case: b=#ddddff|case: m=#e8d4ee|case: o=#ffeebb|default={{{bgcolor}}}}};">{{{text|{{{1|<displayed text>}}}}}}</div><noinclude><br> | <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=#dddddd| | |||
case: none=#ffffff| | |||
case: g=#ddffdd| | |||
case: r=#ffdddd| | |||
case: y=#eeeeb8| | |||
case: b=#ddddff| | |||
case: m=#e8d4ee| | |||
case: o=#ffeebb| | |||
default={{{bgcolor}}}}};">{{{text|{{{1|<displayed text>}}}}}}</div><noinclude><br> | |||
{{prot-temp}} | {{prot-temp}} | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 20:05, 10 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. |