6,366
editsAd placeholder
Template:Inflicts: Difference between revisions
Jump to navigation
Jump to search
add format
(change category) |
(add format) |
||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_store: | <includeonly>{{#cargo_store: | ||
| condition_inflicted = {{{1|}}} | | condition_inflicted = {{{1|}}} | ||
| template = {{{2|}}} | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
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. | 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 | The first parameter is the name of the condition, without the (Condition) ending. The capitalization is important. | ||
Example usage: <code><nowiki>{{Inflicts|Bleeding}}</nowiki></code> | 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. | ||
Example usage: <code><nowiki>{{Inflicts|Bleeding|sai}}</nowiki></code> | |||
{{#cargo_declare: | {{#cargo_declare: | ||
_table = condition_sources | _table = condition_sources | ||
| condition_inflicted = String | | condition_inflicted = String | ||
| template = String | |||
}} | }} | ||
Line 24: | Line 28: | ||
"required": true, | "required": true, | ||
"type": "string" | "type": "string" | ||
}, | |||
"2": { | |||
"label": "format", | |||
"description": "The format of the page.", | |||
"suggestedvalues": [ | |||
"sai", | |||
"item" | |||
], | |||
"suggested": true | |||
} | } | ||
}, | }, |