Template:DisplayBox: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
(added line breaks to fix strange bug that made separate paragraphs appear concatenated)
Line 6: Line 6:
|bdwidth=<borderwidth in pixels, default=1>  
|bdwidth=<borderwidth in pixels, default=1>  
|bdcolor=<bordercolor, default=#3399ff>
|bdcolor=<bordercolor, default=#3399ff>
|padding=<padding, default=1em 1em 1em 1em (top, right, bottom, left)>
|padding=<padding, default=0.4em 1em 0.4em 1em (top, right, bottom, left)>
|bgcolor=<backgroundcolor, default=#d8d8d8; other options include:
|bgcolor=<backgroundcolor, default=#d8d8d8; other options include:
   grey=#dddddd
   grey=#dddddd
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|1em 1em 1em 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|grey}}}|
case: grey=#dddddd|
case: grey=#dddddd|
case: char=#bbbbbb|
case: char=#bbbbbb|
Line 38: Line 38:
case: gs4=#bbbbbb|
case: gs4=#bbbbbb|
case: gs5=#aaaaaa|
case: gs5=#aaaaaa|
default={{{bgcolor}}}}};">{{{text|{{{1|<displayed text>}}}}}}</div><noinclude><br>
default={{{bgcolor}}}}};">
{{{text|{{{1|<displayed text>}}}}}}
</div><noinclude><br>
{{prot-temp}}
{{prot-temp}}
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 02:22, 17 September 2012

<displayed text>