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

 Actions

Template

Template:TableHeader

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)

The following:

{{tableHeader|Dragon
!Type|mw-collapsible}}
|Fire Dragon
|Epic
|}

Gives:

Dragon Type
Fire Dragon Epic

The following:

{{tableHeader|Dragon
!Type|mw-collapsible mw-collapsed}}
|Fire Dragon
|Epic
|}

Gives:

Dragon Type
Fire Dragon Epic

The following:

{{tableHeader|Dragon
!Type|mw-collapsible mw-collapsed|caption=my caption}}
|Fire Dragon
|Epic
|}

Gives:

my caption
Dragon Type
Fire Dragon Epic

See Also

  • {{tableFooter}}, the template that is used with this one to generate the table end.
  • Help:Tables, the MediaWiki documentation on table use.

A shortcut to wikitable syntax to create ONLY a table's header (to be used with the {{TableFooter}} template). May be helpful for users unfamiliar or uncomfortable with wikitable syntax (please refer to the "See Also" section of the template's documentation page for links to learn wikitable syntax).

Template parameters

ParameterDescriptionTypeStatus
(header) 11 header

Used to specify each header. Already begins with one ! symbol, subsequent headers must include the ! symbol and each be specified on a new line.

Example
Icon

!Dragon

!Type
Stringrequired
(Optional, CSS) class2 class

no description

Suggested values
mw-collapsible mw-collapsed sortable
Stringoptional
(Optional, CSS) style3 style

no description

Stringoptional
(Optional) captioncaption

If specified, also specify for the second parameter: mw-collapsible mw-collapsed

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.