Modèle:Float file box

De Terraria Wiki
Aller à : navigation, rechercher

Description

This is an alternate version of {{float file}}. It is similarly used to display an image to the left of an infobox, but it additionally accommodates placing long captions on small images (small images usually cause long captions to cut off and/or break into many unsightly lines). It will also accommodate placing one caption under multiple small images.

Usage

  • Enter the complete image code with brackets as the first parameter, omitting only the caption text. Multiple images allowed.
  • Enter the caption text as the second template parameter instead.
  • Optional: Enter a width for the outer frame box (including "px"). Default is 150px.

Example:

'''{{ float file box | ''' ''[[File:Something.png]]'' | ''this is a long image caption. this is a long image caption.'' | ''width=200px '' '''}}'''