Template:Condition/Format
Template responsible for formatting {{Condition}}. This is intended for internal use by the parent template only.
Examples
{{Condition/Format | page = Bleeding (Condition) | name = Bleeding | icon = Bleeding Condition Icon.webp | effects = Bleeds you out. }}Renders as
Bleeds you out.
{{Condition/Format | page = Bleeding (Condition) | name = Bleeding | icon = Bleeding Condition Icon.webp | save = CON | dc = 13 | effects = Inflicts damage every turn. | duration = Saving Throw }}Renders as
{{Condition/Format | page = Bleeding (Condition) | name = Bleeding | icon = Bleeding Condition Icon.webp | effects = * Inflicts damage every turn. * Cured by healing. | altname = Oh no I'm bleeding | types = Diseased | duration = }}Renders as
- Inflicts damage every turn.
- Cured by healing.
Inline example: {{Condition/Format | page = Bleeding (Condition) | name = Bleeding | icon = Bleeding Condition Icon.webp | inline = true | types = diseased }}. Blah blah blah.Renders as
Inline example: . Blah blah blah.
Template data
Display a block of information about a condition.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | page | Condition page to link to. | Page name | required |
name | name | Name of the condition. | String | required |
icon | icon | Icon file of the condition. | File | required |
altname | altname | An alternative display name for the condition link. | String | optional |
duration | duration | Duration of the condition. This is generally a number of turns, but refer to Template:Duration for special values.
| String | optional |
save | save | Ability used for the saving throw to resist this condition. Accepts abilities in either the shorthand (e.g. STR) or long form (e.g. Strength)
| String | optional |
dc | dc | The difficulty class of the saving throw to resist this condition. This is either a fixed number or a special value like "caster". Refer to Template:Saving Throw for these special values.
| String | optional |
types | types | Any condition types the condition belongs to.
| String | optional |
radius m | radius m | Radius of the condition in metres. This is rarely used. | Number | optional |
inline | inline | Whether the condition should be formatted inline. See also Template:Condition inline. | Boolean | deprecated |