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

 Actions

Template

Template:Div

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)

{{div|This is some content|class=test|style=font-weight:bold;}}

Result:

This is some content

Creates start and end divs automatically around input content, to help prevent end tags from being left off or affecting page design accidentally when end div is doubled or left off mistakenly. If template close is left off, the template just won't work and will be immediately visible as such on the page.

Template parameters

ParameterDescriptionTypeStatus
Content (to go inside open/close div tags)1 content

no description

Example
Some content
Stringoptional
(Optional, CSS classes) 22 class

Add CSS class names to apply.

Stringoptional
(Optional, CSS styles) 33 style

Style(s) (must be properly written, including semicolon at end of each style).

Example
font-weight:bold;
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.