Template:Badge
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)
{{badge|Quest Master}}
gives: Quest Master{{badge|Quest Master|px=40}}
gives: Quest Master{{badge|Quest Master|Quest Master Badge}}
gives: Quest Master Badge{{badge|Quest Master|px=40|below=y}}
gives:
Note: When placed in a center aligned table or div, the above example appears in horizontal center as expected.
See also
Note: This {{badge}}
template links to a specific section on the Badges page (has link).
{{b}}
, the opposite of this template, used on the Badges page to create a named-anchor to link to (no link, just anchor).
Link to a specific section on the Badges page and inserts its icon. Does this via a complimentary template that sets a named anchor set on the Badges (the {{b|Name}} template). This {badge} template is primarily used in infoboxes or on the Dragon Codex page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Badge Name (without the word "Badge") | 1 | Enter the badge name as it appears in-game, without the word "Badge" | String | optional |
(Override) Link Text | 2 | Enter text to override the default link text
| String | optional |
(Optional, below) 3 | 3 below | Add any value to move the text below the badge.
| String | optional |
(Override) px | px | Enter a number to override the default size
| Number | optional |