Difference between revisions of "Template:Float/testcases"
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:
{{Float/sandbox|left|ITEM}}, as above:
{{Float/sandbox|notleft|ITEM}}, as above (etc):
Main template
{{Float|ITEM}}:
{{Float|left|ITEM}}:
{{Float|notleft|ITEM}}:
Sandbox
<div style="position:relative;text-align:left;"><div style="width:;position:absolute; top:0;right:0;bottom:;left:; ">[[File:Example.png|20px]]</div></div>
<div style="position:relative;text-align:left;"><div style="width:;position:absolute; top:0;right:0;bottom:;left:; ">[[File:Example.png|20px]]</div></div>
<div style="position:relative;text-align:left;"><div style="width:;position:absolute; top:0;right:0;bottom:;left:; ">[[File:Example.png|20px]]</div></div>
<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>
<div style="position:relative;text-align:left;"><div style="width:;position:absolute; top:0;right:0;bottom:;left:; ">[[File:Example.png|20px]]</div></div>