Template:Status group page: Difference between revisions
(WIP template) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(14 intermediate revisions by 3 users not shown) | |||
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|}}}{{{removed by conditions|}}}| | |||
== Removal == | |||
}} | |||
{{#if: {{{removed by items|}}} | {{blank}} | |||
The following items remove all conditions in this status group: | |||
{{#invoke: ParseList | main | {{{removed by items}}} | type = htmlList | useTemplate = MdRarityItem }} | |||
}}{{#if: {{{removed by spells|}}} | {{blank}} | |||
The following spells/actions remove all conditions in this status group: | |||
{{#invoke: ParseList | main | {{{removed by spells}}} | type = htmlList | useTemplate = MdSAI }} | |||
}}{{#if: {{{removed by conditions|}}} | {{blank}} | |||
The following conditions remove all conditions in this status group: | |||
{{#invoke: ParseList | main | {{{removed by conditions}}} | type = htmlList | useTemplate = Cond }} | |||
}} | |||
{{#if:{{{immunity from items|}}}{{{immunity from features|}}}{{{immunity from creatures|}}}{{{immunity from spells|}}}{{{immunity from conditions|}}}| | |||
== Immunity == | |||
}} | |||
{{#if: {{{immunity from items|}}} | {{blank}} | |||
The following items grant immunity to all conditions in this status group: | |||
{{#invoke: ParseList | main | {{{immunity from items}}} | type = htmlList | useTemplate = MdRarityItem }} | |||
}}{{#if: {{{immunity from spells|}}} | {{blank}} | |||
The following spells/actions grant immunity to all conditions in this status group: | |||
{{#invoke: ParseList | main | {{{immunity from spells}}} | type = htmlList | useTemplate = MdSAI }} | |||
}}{{#if: {{{immunity from features|}}} | {{blank}} | |||
The following passive features grant immunity to all conditions in this status group: | |||
{{#invoke: ParseList | main | {{{immunity from features}}} | type = htmlList | useTemplate = Pass }} | |||
}}{{#if: {{{immunity from creatures|}}} | {{blank}} | |||
The following creatures possess immunity to all conditions in this status group: | |||
{{#invoke: ParseList | main | {{{immunity from creatures}}} | type = htmlList | useTemplate = MdCharLink }} | |||
}}{{#if: {{{immunity from conditions|}}} | {{blank}} | |||
The following conditions grant immunity to all conditions in this status group: | |||
{{#invoke: ParseList | main | {{{immunity from conditions}}} | type = htmlList | useTemplate = Cond }} | |||
}} | |||
{{#if:{{{other|}}} | {{blank}} | |||
== Other == | |||
{{{other}}} | |||
}} | |||
== List of conditions in {{#lvar:name}} == | == List of conditions in {{#lvar:name}} == | ||
{{ConditionsTableHeader}} | |||
{{#cargo_query: tables = conditions | |||
| fields = _pageName = page, name, icon, effects | |||
| where = status_groups HOLDS '{{{name}}}' | |||
| order by = name | |||
| default = {{ConditionsTableEmpty}} | |||
| format = template | |||
| template = ConditionsTableRow | |||
| named args = yes | |||
}} | |||
{{ConditionsTableFooter}} | |||
{{Main namespace only|[[Category:Status groups]]{{#cargo_store: _table = status_groups | |||
{{Status | | name = {{{name|}}} | ||
| name = | | display_name = {{{display name|}}} | ||
| description = | | description = {{{description|}}} | ||
}} | }} | ||
</ | }}</includeonly><noinclude>{{documentation}}{{#cargo_declare: _table = status_groups | ||
| name = String (unique, mandatory) | |||
{{ | | display_name = String | ||
| name = | | description = Wikitext | ||
| description = | |||
}}</noinclude> | }}</noinclude> |
Latest revision as of 09:26, 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 spells/actions 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 |