Template:Status group page: Difference between revisions
(Added fields for removal and prevention similar to the older Condition Type pages) |
HiddenDragon (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#lvardef:name|{{#replace:{{{display name|{{{name}}}}}}| |_}}}} | |||
{{PageSeo | {{PageSeo | ||
| title = {{ | | title = {{#lvar:name}} | ||
| description = {{{description|}}} | | description = {{{description|}}} | ||
}}<!--Actual display starts here--> | }}<!--Actual display starts here--> | ||
'''{{#lvar:name}}''' is a [[status group]]. {{{description|}}} | {{Icon|Condition Type Icon.png|30}}'''{{#lvar:name}}''' is a [[status group]]. {{{description|}}} | ||
{{#if:{{{removed by items|{{{removed by spells|}}}}}}| | {{#if:{{{removed by items|{{{removed by spells|}}}}}}| | ||
== Removal == | == Removal == | ||
Line 16: | Line 14: | ||
}}{{#if: {{{removed by spells|}}} | {{blank}} | }}{{#if: {{{removed by spells|}}} | {{blank}} | ||
The following spells remove all conditions in this status group: | The following spells/actions remove all conditions in this status group: | ||
{{#invoke: ParseList | main | {{{removed by spells}}} | type = htmlList | useTemplate = MdSAI }} | {{#invoke: ParseList | main | {{{removed by spells}}} | type = htmlList | useTemplate = MdSAI }} | ||
}} | }} | ||
Line 28: | Line 26: | ||
}}{{#if: {{{immunity from features|}}} | {{blank}} | }}{{#if: {{{immunity from features|}}} | {{blank}} | ||
The following features grant immunity to all conditions in this status group: | The following passive features grant immunity to all conditions in this status group: | ||
{{#invoke: ParseList | main | {{{immunity from features}}} | type = htmlList | useTemplate = | {{#invoke: ParseList | main | {{{immunity from features}}} | type = htmlList | useTemplate = Pass }} | ||
}}{{#if: {{{immunity from creatures|}}} | {{blank}} | }}{{#if: {{{immunity from creatures|}}} | {{blank}} | ||
Line 39: | Line 37: | ||
{{#cargo_query: tables = conditions | {{#cargo_query: tables = conditions | ||
| fields = _pageName = page, name, icon, effects | | fields = _pageName = page, name, icon, effects | ||
| where = status_groups HOLDS '{{ | | where = status_groups HOLDS '{{{name}}}' | ||
| order by = name | | order by = name | ||
| default = {{ConditionsTableEmpty}} | | default = {{ConditionsTableEmpty}} | ||
Line 47: | Line 45: | ||
}} | }} | ||
{{ConditionsTableFooter}} | {{ConditionsTableFooter}} | ||
{{Main namespace only|[[Category:Condition types]]{{#cargo_store: _table = status_groups | |||
| name = {{#lvar:name}} | |||
| display_name = {{{display name|}}} | |||
{{ | | description = {{{description|}}} | ||
| name = | |||
| | |||
{{ | |||
| | |||
| | |||
| | |||
}} | |||
}} | }} | ||
</ | }}</includeonly><noinclude>{{documentation}}{{#cargo_declare: _table = status_groups | ||
| name = String (unique, mandatory) | |||
{{ | | display_name = String | ||
| name = | | description = Wikitext | ||
| description = | |||
}}</noinclude> | }}</noinclude> |
Revision as of 07:12, 7 August 2024
Example:
{{Status group page | name = SG_Blinded | display name = Blinded | removed by items = Remedial Potion, Arrow of Salving, Noblestalk, Jhannyl Gloves | removed by spells = Lesser Restoration, Heal | removed by conditions = | immunity from items = Eversight Ring, Steelwatcher Helmet, Helldusk Helmet, Shar's Spear of Evening | immunity from features = Devil's Sight, Born into Darkness | immunity from spells = Calm Emotions | immunity from creatures = Bat, Intellect Devourer, Guardian of Faith | immunity from conditions = | other = }}
Result:
Blinded is a status group.
Removal
The following items remove all conditions in this status group:
The following spells/actions remove all conditions in this status group:
Immunity
The following items grant immunity to all conditions in this status group:
The following passive features grant immunity to all conditions in this status group:
The following creatures possess immunity to all conditions in this status group:
List of conditions in Blinded
Condition | Effects |
---|---|
|
|
|
|
|
|
|
{{Status group page | name = SG Surface | description = I'm not sure what this status group is for, but some characters are immune to it. }}
Result:
SG_Surface is a status group. I'm not sure what this status group is for, but some characters are immune to it.
List of conditions in SG_Surface
Condition | Effects |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6d6 (6~36) Fire damage
|
|
|
|
|
|
Feeling extremely off - suspiciously so. |
|
|
|
Affected entity has a +2 bonus to Armour Class, Advantage on Dexterity Saving throws, its Movement Speed is doubled, and it can take one additional Action per turn. |
|
|
|
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the status group, as it appears in the game files
| String | required |
display name | display name | If specified, it's the proper name of the status group as appears to the player. If empty, it won't display underneath conditions on their condition page.
| String | optional |
description | description | Describes the status group. | String | optional |
removed by items | removed by items | Comma separated list of items that remove all conditions in this status group
| String | optional |
removed by spells | removed by spells | Comma separated list of spells or actions that remove all conditions in this status group.
| String | optional |
immunity from items | immunity from items | Comma separated list of items that remove and make the user immune to all conditions in this status group.
| String | optional |
immunity from spells | immunity from spells | Comma separated list of spells or actions that remove and make the user immune to all conditions in this status group.
| String | optional |
immunity from features | immunity from features | Comma separated list of passive features that remove and make the user immune to all conditions in this status group.
| String | optional |
immunity from creatures | immunity from creatures | Comma separated list of creatures that are naturally immune to all conditions in this status group.
| String | optional |
immunity from conditions | immunity from conditions | Comma separated list of conditions that grant immunity to all conditions in this status group.
| String | optional |
other | other | Other features or actions that interact with this status group | String | optional |