Template:Condition page: Difference between revisions
Jump to navigation
Jump to search
Cursed
Incapacitated
Prone
Charmed
(Try adding pageseo) |
(add "suppress sources") |
||
Line 15: | Line 15: | ||
{{#arrayprint:types|<br>|@|{{Condition Type|@}} }} | {{#arrayprint:types|<br>|@|{{Condition Type|@}} }} | ||
}}</div> | }}</div> | ||
{{#if:{{{suppress sources|}}}|| | |||
== Sources of {{#lvar:name}} == | == Sources of {{#lvar:name}} == | ||
{{Condition sources|{{#lvar:name}}}} | {{Condition sources|{{#lvar:name}}}} | ||
}} | |||
<!--some housekeeping:categories and cargo-->{{Main namespace only|[[Category:Conditions]]}}{{#switch: {{{this is an example|}}} | <!--some housekeeping:categories and cargo-->{{Main namespace only|[[Category:Conditions]]}}{{#switch: {{{this is an example|}}} | ||
| yes = | | yes = | ||
Line 80: | Line 82: | ||
| type = diseased, cursed,incapacitated, prone, charmed | | type = diseased, cursed,incapacitated, prone, charmed | ||
| this is an example = yes | | this is an example = yes | ||
| suppress sources = true | |||
}} | }} | ||
Line 121: | Line 124: | ||
"this is an example": { | "this is an example": { | ||
"description": "If specified, does not insert into the Conditions table.", | "description": "If specified, does not insert into the Conditions table.", | ||
"type": "boolean" | |||
}, | |||
"suppress sources": { | |||
"description": "If specified, will not display \"sources of\".", | |||
"type": "boolean" | "type": "boolean" | ||
} | } |
Revision as of 20:11, 18 October 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 = }}
Examples:
Blade Ward (Condition)
- Has resistance against Bludgeoning, Piercing, and Slashing damage dealt by weapon attacks. Damage of these types is halved.
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.
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.
Cursed
Incapacitated
Prone
Charmed
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 |