Please remember to make use of the DML Wiki Manual of Style and Code of Conduct during your stay.

 Actions

Template

Template:Floatimage

From Dragon Mania Legends (DML) Wiki

Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this template's documentation. (About template documentation)

Example(s)

{{floatimage|[[File:Battle Points.png|200px]]|30}}

gives:

Battle Points.png

Used instead of "right" or "left" floated images, which don't adapt automatically to smaller screens, creating many different problems. Creates a responsive column that adjusts per device width, based on the width (percentage set), uses a min-width to images aren't sized too small (applies one of two globally defined CSS styles float-r, or float-l). The max with that should be used is 30(%).

Template parameters

ParameterDescriptionTypeStatus
Image(s) (e.g., [[File:Name.png|200px]])1 file

[[File:1.png|200px]]<br>[File:2.png|200px]]

Stringrequired
Width (number only, "%" is added automatically)2 width

Don't use numbers larger than 30

Default
20
Example
15
Numberoptional
(Override, CSS Class) float 3 float

no description

Default
float-r
Example
float-l
Stringoptional


This Wiki is created by players for other players and is not maintained by, or affiliated with, the game maker (Gameloft).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.