Template:Condition inline
- {{cond}}
This template creates an inline link to a condition page with an accompanying condition icon.
Usage
This template looks up conditions from the conditions Cargo table, and thus the first parameter should match an entry in this table. If provided, the second parameter changes the display name of the condition.
Specifying the optional w
parameter changes the width of the icon (default 25).
Examples
Markup | Renders as |
---|---|
{{Cond|Radiating Orb}} | |
{{Cond|Bleeding|Bleed}} | |
{{Cond|Radiating Orb|w = 40}} | |
{{Cond|Non-existent condition}} | Non-existent condition |
See also
- {{SAI}} - A similar template used for links to spells, abilities, and passives.
- {{Condition}} - Displays more detailed information about a condition.
- {{Condition page}} - Page generating template responsible for adding a condition into the condition Cargo table so that it can be referenced by this template.
Template data
Display a link to a condition accompanied by the condition icon.
Parameter | Description | Type | Status | |
---|---|---|---|---|
condition name | 1 | The name of the condition as appears in the condition table. This should generally be the condition page name with "(Condition)" removed. | String | required |
altname | 2 | Alternative display name | String | optional |
width | w | Size in pixels of the condition icon. Generally, you should stick with the default value.
| Number | optional |