Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Inflicts

Template page
Revision as of 20:38, 14 August 2024 by HiddenDragon (talk | contribs) (Added more fields for condition sources. Will later remove them from other tables)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A marker template used to indicate that the page it's used on can inflict the specified condition. It can be used multiple times per page, each with a different condition.

The first parameter is the name of the condition, without the (Condition) ending. The capitalization is important.

The second parameter is type of page. For example, a spell or ability should specify "sai", and an item should specify "item". If nothing is specified, it'll be listed just as a link. See Template:Condition sources for the template that displays these condition sources.

If it is necessary to show a parent page of this page, use the "parent" field to specify that page and the "parent template" field to specify what template it should use to display.

Example usage: {{Inflicts|Bleeding|sai}}

Example usage with parent: {{Inflicts|Bleeding|sai|parent=Spiked Bulb|parent template=item}}

This template defines the table "condition_sources". View table.

Template data

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
condition1

The condition this page inflicts.

Stringrequired
format2

The format of the page.

Suggested values
sai item cond passive weapon action
Stringsuggested
parentparent

The parent page that provides this page.

Stringoptional
parent templateparent template

The template to use to format the parent page

Suggested values
sai item cond passive weapon action
Stringoptional
typetype

The type of this page that inflicts the condition.

Suggested values
area condition creature equipment item passive spell weapon
Stringoptional
dcdc

The dc this page uses to apply the condition

Stringoptional
savesave

The save stat this page uses along with the dc to apply the condition. Valid values are the same as those used for Template:Saving Throw

Suggested values
15 caster weapon action
Stringoptional
durationduration

The duration of the condition this page applies. Valid values are the same as those used for Template:Duration

Suggested values
Permanent Short rest Until short rest Long rest Until long rest Saving throw Until saving throw Surface Whilst on surface
Stringoptional