Template:Floatbox: Difference between revisions

From ICT science
Jump to navigation Jump to search
(Created page with "<div style="width: {{{width|200px}}}; float: {{{float|right}}}; background-color: #FFF9F3; border: 1px solid #F08000; padding: 5px; margin-{{#ifeq {{{float|}}} | left | right | l...")
 
No edit summary
Line 1: Line 1:
<div style="width: {{{width|200px}}}; float: {{{float|right}}}; background-color: #FFF9F3; border: 1px solid #F08000; padding: 5px; margin-{{#ifeq {{{float|}}} | left | right | left }}:10px ; margin-bottom:10px">{{{1|test}}}</div><noinclude>
<div style="width: {{{width|200px}}}; float: {{{float|right}}}; background-color: #FFF9F3; border: 1px solid #F08000; padding: 5px; margin-{{#ifeq: {{{float|}}} | left | right | left }}:10px ; margin-bottom:10px">{{{1|test}}}</div><noinclude>
==Gebruik==
==Gebruik==
<pre>{{ict-floatbox|<text>|width=<w>|float=<pos>}}</pre>
<pre>{{ict-floatbox|<text>|width=<w>|float=<pos>}}</pre>

Revision as of 12:47, 11 October 2011

test

Gebruik

{{ict-floatbox|<text>|width=<w>|float=<pos>}}

Gebruik deze sjabloon om een zwevende tekstbox in de marge van de pagina te maken.
De breedte is default 200px, maar je kunt met <w> een andere breedte opgeven.
De standaardplaats is de rechtermarge, maar je kunt met <pos> een expliciete plek opgeven.