Template:DisplayBox: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(Category:Message box templates)
(defaults to green if namespace=Template)
Line 21: Line 21:
|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}}}; margin-top: {{{marginT|0}}}; margin-bottom: {{{marginB|0}}}; border:{{{bdwidth|1}}}px solid {{{bdcolor|#3399ff}}}; padding: {{{padding|0.4em 1em 0.4em 1em}}}; background-color:{{switch|{{{bgcolor|grey}}}|
<div style="margin: 0; margin-right: {{{marginR|30px}}}; margin-left: {{{marginL|30px}}}; margin-top: {{{marginT|0}}}; margin-bottom: {{{marginB|0}}}; border:{{{bdwidth|1}}}px solid {{{bdcolor|#3399ff}}}; padding: {{{padding|0.4em 1em 0.4em 1em}}}; background-color:{{switch|{{{bgcolor|{{#ifeq:{{NAMESPACE}}|Template|g|grey}}}}}|
case: grey=#dddddd|
case: grey=#dddddd|
case: char=#bbbbbb|
case: char=#bbbbbb|

Revision as of 13:52, 29 March 2013

<displayed text>