(A simple box) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="bol" style=" | <includeonly><div class="bol" style=" margin-top: 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"><!-- | ||
-->{{#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> |
Revision as of 14:20, 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="