Template:Float file/doc

From Terraria Wiki
Jump to navigation Jump to search

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.]]}}
A tree.
{{float file|style=border:5px solid black; padding:10px|[[File:Wood.png]]}}
Wood.png

See also