Template:Cargo/doc
From Dragon Mania Legends (DML) Wiki
< Template:CargoDocumentation subpage |
---|
View this documentation's related template: Template:Cargo |
Example(s)
{{cargo|content|background:pink;}}
gives:
{{cargo|style=background:pink;|more content}}
gives:
Used to wrap Cargo queries and in a div that fits to content, that way the result can have either CSS classes or inline CSS styles applied as needed to help control appearance on things that are not otherwise customizable with Cargo. Particularly useful when Cargo adds unwanted extra lines or spaces not included in the query/template, like when "outro" is used, which clashes only with headings spacing but not bullets.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | content | String | required |
2 | 2 style | Enter CSS (inline) styles as they would appear inside a style statement that already has quotes. Be sure to separate styles with a semi-colon and space.
| String | optional |
class | class | Enter CSS class name(s) as they would appear inside a class statement that already has quotes. Be sure to separate style names with a space.
| String | optional |