(A simple box) |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="bol" style=" | <includeonly><div class="bol" style=" margin-top: 2em; margin-bottom: 2em; float:left; width: 25em; box-sizing: border-box; | ||
{{#ifeq: {{{minheight}}}|none| | {{#if:{{{minheight|}}}| min-height: {{{minheight|}}}; | min-height:270px;}} }}"><div class="title"><!-- | {{#ifeq: {{{minheight}}}|none| | {{#if:{{{minheight|}}}| min-height: {{{minheight|}}}; | min-height:270px;}} }}"><div class="title" style="font-weight: bold;"><!-- | ||
-->{{#if:{{{icon|}}} | <span style="margin:0 0 0 5px;"> [[Image:{{{icon}}}.png|32px]]</span><span style="font-size:12pt; vertical-align:middle;">|<span style="margin:0 0 0 10px; vertical-align:middle"> }}{{{title}}}</span></div> | -->{{#if:{{{icon|}}} | <span style="margin:0 0 0 5px;"> [[Image:{{{icon}}}.png|32px]]</span><span style="font-size:12pt; vertical-align:middle;">|<span style="margin:0 0 0 10px; vertical-align:middle"> }}{{{title}}}</span></div> | ||
{{{1}}}</div> | {{{1}}}</div></includeonly><noinclude> | ||
</includeonly> | |||
<noinclude> | |||
This is (or can be) a relatively undecorated floating box of content. CSS could be used to decorate it. | This is (or can be) a relatively undecorated floating box of content. CSS could be used to decorate it. | ||
It is meant to be used as a box of list or a box of links in a table-of-contents type page. | It is meant to be used as a box of list or a box of links in a table-of-contents type page. |
Latest revision as of 14:44, 11 April 2014
This is (or can be) a relatively undecorated floating box of content. CSS could be used to decorate it. It is meant to be used as a box of list or a box of links in a table-of-contents type page. Usage:
{{bol | icon=optional filename | title=text|minheight=optional minheight | content}}
- minheight --
- empty or not used -- default 270px
- "none" -- no minimum height
- value -- use that minimum height
- content -- your box content. If this contains an "=", then begin this with "1="