Difference between revisions of "Template:Float/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(Created with {{float|left|...}} tests)
 
imported>Gadget850
(sandbox)
Line 34: Line 34:
 
{{{{TEMPLATENAME|testcases}}|notleft|ITEM}}
 
{{{{TEMPLATENAME|testcases}}|notleft|ITEM}}
 
</div>
 
</div>
 +
 +
== Sandbox ==
 +
 +
{{float/sandbox|[[File:Example.png|20px]]}}
 +
 +
 +
{{code|
 +
{{float/sandbox|[[File:Example.png|20px]]}}
 +
}}
 +
 +
{{float/sandbox|right|[[File:Example.png|20px]]}}
 +
 +
{{code|
 +
{{float/sandbox|right|[[File:Example.png|20px]]}}
 +
}}
 +
 +
{{float/sandbox|center|[[File:Example.png|20px]]}}
 +
 +
{{code|
 +
{{float/sandbox|center|[[File:Example.png|20px]]}}
 +
}}
 +
 +
{{float/sandbox|left|[[File:Example.png|20px]]}}
 +
 +
{{code|
 +
{{float/sandbox|left|[[File:Example.png|20px]]}}
 +
}}
 +
 +
{{float/sandbox|none|[[File:Example.png|20px]]}}
 +
 +
{{code|
 +
{{float/sandbox|none|[[File:Example.png|20px]]}}
 +
}}

Revision as of 23:37, 5 November 2014

Template:Template testcases notice

Sandbox version

{{Float/sandbox|ITEM}} within a padded lavender-background div:

ITEM

{{Float/sandbox|left|ITEM}}, as above:

ITEM

{{Float/sandbox|notleft|ITEM}}, as above (etc):

ITEM

Main template

{{Float|ITEM}}:

ITEM

{{Float|left|ITEM}}:

ITEM

{{Float|notleft|ITEM}}:

ITEM

Sandbox

Example.png


<div style="position:relative;text-align:left;"><div style="width:;position:absolute; top:0;right:0;bottom:;left:; ">[[File:Example.png|20px]]</div></div>

Example.png

<div style="position:relative;text-align:left;"><div style="width:;position:absolute; top:0;right:0;bottom:;left:; ">[[File:Example.png|20px]]</div></div>

Example.png

<div style="position:relative;text-align:left;"><div style="width:;position:absolute; top:0;right:0;bottom:;left:; ">[[File:Example.png|20px]]</div></div>

Example.png

<div style="position:relative;text-align:left;"><div style="width:;position:absolute; top:0;right:0;bottom:;left:; left:0;">[[File:Example.png|20px]]</div></div>

Example.png

<div style="position:relative;text-align:left;"><div style="width:;position:absolute; top:0;right:0;bottom:;left:; ">[[File:Example.png|20px]]</div></div>