Template:Float file
Jump to navigation
Jump to search
{{{1}}}
Documentation The documentation below is transcluded from Template:Float file/doc. (edit | history)
[purge]
Use this template to place an image beside an infobox (to the right of the article text, but to the left of the infobox).
This differs from standard right-aligned images, as those generally display beneath any infobox in the vicinity, rather than beside them.
Usage
{{ float file | <image wiki code> | css/style = <custom CSS styles> }}
- First unnamed parameter
Complete wiki code for the image, including brackets.
- css or style
CSS rules for the wrapper div.
Examples
Code | Result |
---|---|
{{float file|[[File:Tree.png|thumb|A tree.]]}} |
|
{{float file|style=border:5px solid black; padding:10px|[[File:Wood.png]]}} |
See also
- {{float file box}}