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.
{{Condition/format | page = Polymorphed (Condition) | name = Polymorphed | icon = Polymorphed Condition Icon.webp | effects = * Creature is turned into a harmless sheep with 3 [[Hit Points]] for 5 turns. * If the sheep's Hit Points are reduced to 0, the creature reverts to its original form with its original Hit Points. | type = Polymorphed | duration = 5 | creature = Sheep | creature actions = Sleep; Bite (Dire Wolf) | creature passives = Extra Attack }}Renders as
Duration: 5 turns
- Creature is turned into a harmless sheep with 3 Hit Points for 5 turns.
- If the sheep's Hit Points are reduced to 0, the creature reverts to its original form with its original Hit Points.
Creature: Sheep
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 |