Template:Condition page: Difference between revisions
HiddenDragon (talk | contribs) (Added grants) Tag: Reverted |
HiddenDragon (talk | contribs) No edit summary Tag: Reverted |
||
Line 12: | Line 12: | ||
}}<!--Actual display starts here-->{{NoExcerpt | {{icon| {{#lvar:icon}} |30}} '''{{#lvar:name}}''' }} | }}<!--Actual display starts here-->{{NoExcerpt | {{icon| {{#lvar:icon}} |30}} '''{{#lvar:name}}''' }} | ||
{{{effects|}}} | {{{effects|}}} | ||
{{#if: {{{grants|}}} | | {{#if: {{{grants|}}} | | ||
Grants: | |||
{{#invoke: ParseList | main | {{{grants}}} | type = htmlList | useTemplate = SAI/fixed }} | {{#invoke: ParseList | main | {{{grants}}} | type = htmlList | useTemplate = SAI/fixed }} | ||
}} | }} {{#if: {{#lvar:type}} | <br> | ||
{{#arrayprint:types|<br>|@|{{Condition Type|@}} }} | {{#arrayprint:types|<br>|@|{{Condition Type|@}} }} | ||
}}</div><references/> | }}</div><references/> |
Revision as of 01:47, 14 November 2023
If the page title is Blah (Condition)
, then you don't have to provide the name
parameter. Likewise, if the icon for the condition is called Blah Condition Icon.webp
then you don't have to provide the icon
parameter.
If a condition has multiple types, separate them with a semicolon.
{{ConditionPage | effects = | type = | grants = | notes = }}
Examples:
Blade Ward (Condition)
- Has resistance against Bludgeoning, Piercing, and Slashing damage dealt by weapon attacks. Damage of these types is halved.
Notes
- note 1
- note 2
Sources of Blade Ward
Bone Chilled (Condition)
- Can not regain Hit Points.
- If Undead, has Disadvantage on Attack Rolls.
Sources of Bone Chilled
Flesh Rot (Condition)
- Flesh is decaying.
- Disadvantage on Ability Checks and Saving throws using Charisma.
- Vulnerable to all damage.
Diseased
Sources of Flesh Rot
Multiple types example
- How are you still alive?
- Disadvantage on Ability Checks and Saving throws using Charisma.
- Vulnerable to all damage.
Diseased
Cursed
Incapacitated
Prone
Charmed
Grants example
- Movement speed increased by 10ft. Affected entity can make a weapon attack as a bonus action that deals an additional 1d8 damage.
Grants:
Sources of Dread Ambusher
This template defines the table "conditions". View table.
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | If specified, overrides the name.
| String | optional |
icon | icon | If specified, overrides the icon.
| File | optional |
disease | disease | If specified, sets the type to be disease | Boolean | deprecated |
type | type | The type or types of the condition. If multiple, separate the types with commas. | String | optional |
effects | effects | The description of the condition. | Content | suggested |
this is an example | this is an example | If specified, does not insert into the Conditions table. | Boolean | optional |
suppress sources | suppress sources | If specified, will not display "sources of". | Boolean | optional |
notes | notes | Notes, displayed before the list of sources | String | optional |