Template:Inflicts: Difference between revisions
(add format) |
(add link to condition sources) |
||
Line 7: | Line 7: | ||
The first parameter is the name of the condition, without the (Condition) ending. The capitalization is important. | 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. | 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. | ||
Example usage: <code><nowiki>{{Inflicts|Bleeding|sai}}</nowiki></code> | Example usage: <code><nowiki>{{Inflicts|Bleeding|sai}}</nowiki></code> |
Revision as of 10:11, 13 October 2023
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.
Example usage: {{Inflicts|Bleeding|sai}}
This template defines the table "condition_sources". View table.
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
condition | 1 | The condition this page inflicts. | String | required |
format | 2 | The format of the page.
| Unknown | suggested |