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

 Actions

Template

Div

From Dragon Mania Legends (DML) Wiki

Examples

{{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 by mistake. 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
Class Name(s)2 Class

no description

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

no description

Example
font-weight:bold;
Stringoptional