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

 Actions

Template

Template:Cargo

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)

  • {{cargo|content|background:pink;}} gives:
content
  • {{cargo|style=background:pink;|more content}} gives:
content

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.

Template parameters

ParameterDescriptionTypeStatus
11

content

Stringrequired
22 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.

Example
margin:.5em; padding-top:0;
Stringoptional
classclass

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.

Example
myclass anotherclass
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.