Template:Div/doc
From Dragon Mania Legends (DML) Wiki
< Template:DivDocumentation subpage |
---|
View this documentation's related template: Template:Div |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content (to go inside open/close div tags) | 1 content | no description
| String | optional |
(Optional, CSS classes) 2 | 2 class | Add CSS class names to apply. | String | optional |
(Optional, CSS styles) 3 | 3 style | Style(s) (must be properly written, including semicolon at end of each style).
| String | optional |