Template:Multibox: Difference between revisions

From TestWiki
Content added Content deleted
No edit summary
(noinclude tags + categories updated)
 
(One intermediate revision by one other user not shown)
Line 39: Line 39:
new line
new line
</div></div>
</div></div>
<noinclude>

==Parameters==
==Parameters==
'''Important: you need to close two divs to end the box after your text. like: <code><nowiki></div></div></nowiki></code>'''<br />

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)
Line 83: Line 81:
-->}}<!--
-->}}<!--
-->}}
-->}}

[[Category:infobox]]
[[Category:Template]]
[[category:Infobox templates]]
</noinclude>

Latest revision as of 21:26, 23 August 2017

 


text
new line

Parameters[edit]

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
  • 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 enable 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.