Template:Bluebox/sandbox: Difference between revisions From Online Manual

Jump to: navigation, search
(1) "none" -- no minheight 2) minheight=(something) -- min-height: (something); 3) blank or absent -- minheight: 207px;)
(debugging with background colors)
Line 1: Line 1:
<div style="background-color:#E7EAEF; {{#ifeq:{{{minheight|none|}}}|none||
<!--background-color:#E7EAEF->>
                                                                       {{#if:{{{minheight|}}}|min-height: {{{minheight|}}}|min-height:270px;}}
<div style="; {{#ifeq:{{{minheight|none|}}}|none|background-color:red;|
                                                                       {{#if:{{{minheight|}}}|background-color: green; |background-color:orange; min-height: {{{minheight|}}}|min-height:270px;}}
}}">
}}">
<div style="background: none repeat scroll 0 0 #7D8FA4; border-bottom: 1px solid #777777; border-radius: 6px 6px 0 0; height:36px; line-height:36px;"><!--
<div style="background: none repeat scroll 0 0 #7D8FA4; border-bottom: 1px solid #777777; border-radius: 6px 6px 0 0; height:36px; line-height:36px;"><!--
Line 9: Line 10:


<nowiki>{{bluebox | boxIcon=</nowiki>''filename''<nowiki> | boxTitle=</nowiki>''text''<nowiki>}}</nowiki>
<nowiki>{{bluebox | boxIcon=</nowiki>''filename''<nowiki> | boxTitle=</nowiki>''text''<nowiki>}}</nowiki>
* filename is optional.
* boxTitle is optional, but recommended
* minheight
** none -- no minimum height box will only be as tall as necessary to fit its contents
** blank or null -- default 270px height
** anything else -- used as height


</noinclude>
</noinclude>

Revision as of 14:06, 1 February 2014

{{{boxTitle}}}

Usage:

{{bluebox | boxIcon=filename | boxTitle=text}}

  • filename is optional.
  • boxTitle is optional, but recommended
  • minheight
    • none -- no minimum height box will only be as tall as necessary to fit its contents
    • blank or null -- default 270px height
    • anything else -- used as height




Advertisement: