Template:Multibox: Difference between revisions
Content added Content deleted
(Created page with "<!-- ############ check backgr and border-colors! ######## --> <onlyinclude><div style='margin-bottom:1.5em;<!-- -->{{#if: {{{align|}}} | align: {{{align}}}; | align...") |
|||
Line 42: | Line 42: | ||
==Parameters== |
==Parameters== |
||
important: you need to close two divs to end the box after your text. like: <code><nowiki></div></div></nowiki></code><br /> |
|||
(var)=(value) |
(var)=(value) |
||
* background-color (bgcol): red|yellow|orange|green|blue|grey|purple|white |
* background-color (bgcol): red|yellow|orange|green|blue|grey|purple|white |
Revision as of 14:33, 12 July 2016
Parameters
important: you need to close two divs to end the box after your text. like:</div></div>
(var)=(value)
- background-color (bgcol): red|yellow|orange|green|blue|grey|purple|white
- type: error|information|warning|tag|tip|download
Default is note.
tip and note have a "tip|note" label in the first line; to replace it use label=foo. Use nolabel=true to disable it. - shadow: off|(in)
Default is on, (in means inside box, results in shading. its actually BUGGED!) - border-style:
CSS definition of border-style property.
Default is none
To ensable set it to solid. - border-color (bcol): turns on border 2px solid in defined col. choose from the 6 basic colors.
- width: anything css understands (px, %, em)
Default is nothing which sets width to 100% of the parent. - display:
CSS definition of display property.
Default is <not defined>. - margin:
Default is margin-top: 1.5em. - nolabel: true|false
Default is true