10,916
editsMore actions
no edit summary
(Created page with "<includeonly><div>[[File:{{{icon}}}|frameless|40px|link=|{{{name}}}]] <strong>{{{name}}}</strong></div> {{#if: {{{duration|}}} | {{InfoBlob| {{Duration|{{{duration}}}}} }} }} {{#if: {{{save|}}} | {{InfoBlob| {{SavingThrow|{{{save}}}}} }} }} {{{effects}}}</includeonly><noinclude> Meant to be used with a Cargo query. Preview: == Single effect description == {{Condition/Format | name = Bleeding | icon = Bleeding Condition Icon.png | duration = 3 | save = CON | effects =...") |
No edit summary |
||
(30 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>< | <includeonly>{{#lvardef:text|[[{{{page}}}|{{#if:{{{altname|}}}|{{{altname}}}|{{{name}}} }}]]}}<span | ||
{{#if: {{{duration|}}} | | class="bg3wiki-condition" | ||
{{InfoBlob| {{Duration|{{{duration}}}}} }} | {{#if:{{{inline|}}}|style="white-space: nowrap"}} | ||
}} {{#if: {{{save|}}} | | >[[File:{{{icon}}}|frameless|{{#if:{{{inline|}}}|{{{w|25}}}px|30px}}|link=|{{{name}}}]] {{#if: {{{inline|}}} | ||
{{InfoBlob| {{SavingThrow|{{{save}}}}} }} | | {{#lvar:text}} | ||
| <strong>{{#lvar:text}}</strong> | |||
}}{{#if: {{{duration|}}} | | |||
<p>{{InfoBlob | {{Duration | {{{duration}}} }} }}</p> | |||
}}{{#if: {{{save|}}} | | |||
<p>{{InfoBlob | {{SavingThrow | {{{save}}} | dc = {{{dc|}}} }} }}</p> | |||
}}{{#if: {{{inline|}}} | | | |||
<div> | |||
{{{effects}}} | |||
</div> | |||
{{#if: {{{types|}}} | | |||
<div>{{Condition Type | {{{types|}}} }}</div> | |||
}} | }} | ||
}}</span></includeonly><noinclude> | |||
Meant to be used with a Cargo query. Preview: | Meant to be used with a Cargo query. Preview: | ||
Line 11: | Line 22: | ||
{{Condition/Format | {{Condition/Format | ||
| page = Bleeding (Condition) | |||
| name = Bleeding | | name = Bleeding | ||
| icon = Bleeding Condition Icon. | | icon = Bleeding Condition Icon.webp | ||
| duration = 3 | | duration = 3 | ||
| save = CON | | save = CON | ||
Line 21: | Line 33: | ||
{{Condition/Format | {{Condition/Format | ||
| page = Bleeding (Condition) | |||
| name = Bleeding | | name = Bleeding | ||
| icon = Bleeding Condition Icon. | | icon = Bleeding Condition Icon.webp | ||
| duration = 3 | | duration = 3 | ||
| effects = Inflicts damage every turn. | | effects = Inflicts damage every turn. | ||
Line 30: | Line 43: | ||
{{Condition/Format | {{Condition/Format | ||
| page = Bleeding (Condition) | |||
| name = Bleeding | | name = Bleeding | ||
| icon = Bleeding Condition Icon. | | icon = Bleeding Condition Icon.webp | ||
| save = CON | | save = CON | ||
| effects = Inflicts damage every turn. | | effects = Inflicts damage every turn. | ||
Line 39: | Line 53: | ||
{{Condition/Format | {{Condition/Format | ||
| page = Bleeding (Condition) | |||
| name = Bleeding | | name = Bleeding | ||
| icon = Bleeding Condition Icon. | | icon = Bleeding Condition Icon.webp | ||
| duration = 3 | | duration = 3 | ||
| save = CON | | save = CON | ||
Line 51: | Line 66: | ||
{{Condition/Format | {{Condition/Format | ||
| page = Bleeding (Condition) | |||
| name = Bleeding | | name = Bleeding | ||
| icon = Bleeding Condition Icon. | | icon = Bleeding Condition Icon.webp | ||
| duration = 3 | | duration = 3 | ||
| effects = | | effects = | ||
Line 62: | Line 78: | ||
{{Condition/Format | {{Condition/Format | ||
| page = Bleeding (Condition) | |||
| name = Bleeding | | name = Bleeding | ||
| icon = Bleeding Condition Icon. | | icon = Bleeding Condition Icon.webp | ||
| save = CON | | save = CON | ||
| dc = 16 | |||
| effects = | | effects = | ||
* Inflicts damage every turn. | * Inflicts damage every turn. | ||
* Cured by healing. | * Cured by healing. | ||
}} | }} | ||
== Name and icon only, inline == | |||
{{Condition/Format | |||
| page = Bleeding (Condition) | |||
| name = Bleeding | |||
| icon = Bleeding Condition Icon.webp | |||
| effects = | |||
* Inflicts damage every turn. | |||
* Cured by healing. | |||
| inline = true | |||
}} | |||
== Name, icon, effects only == | |||
{{Condition/Format | |||
| page = Bleeding (Condition) | |||
| name = Bleeding | |||
| icon = Bleeding Condition Icon.webp | |||
| effects = Bleeds you out. | |||
}} | |||
== Name, icon, effects, types == | |||
{{Condition/Format | |||
| page = Bleeding (Condition) | |||
| name = Bleeding | |||
| icon = Bleeding Condition Icon.webp | |||
| effects = Bleeds you out. | |||
| types = Diseased | |||
}} | |||
== Alternative display name == | |||
{{Condition/Format | |||
| page = Bleeding (Condition) | |||
| name = Bleeding | |||
| icon = Bleeding Condition Icon.webp | |||
| effects = | |||
* Inflicts damage every turn. | |||
* Cured by healing. | |||
| altname = Oh no I'm bleeding | |||
}} | |||
== Condition with a type == | |||
{{Condition/Format | |||
| page = Bleeding (Condition) | |||
| name = Bleeding | |||
| icon = Bleeding Condition Icon.webp | |||
| effects = | |||
* Oof owie ouch | |||
| types = diseased | |||
}} | |||
== Condition with multiple types == | |||
{{Condition/Format | |||
| page = Bleeding (Condition) | |||
| name = Bleeding | |||
| icon = Bleeding Condition Icon.webp | |||
| effects = | |||
* Oof owie ouch | |||
| types = diseased,prone | |||
}} | |||
== Inline condition with a type == | |||
Should not show the type. | |||
{{Condition/Format | |||
| page = Bleeding (Condition) | |||
| name = Bleeding | |||
| icon = Bleeding Condition Icon.webp | |||
| inline = true | |||
| types = diseased | |||
}}. Blablabla. | |||
Should not wrap. | |||
<div style="width:10px">{{Condition/Format | |||
| page = Bleeding (Condition) | |||
| name = Bleeding | |||
| icon = Bleeding Condition Icon.webp | |||
| inline = true | |||
| types = diseased | |||
}}</div> | |||
[[Category:Condition templates]] | |||
== Template data == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"description": "The name of the condition.", | |||
"type": "string" | |||
}, | |||
"icon": { | |||
"description": "The icon of the condition", | |||
"type": "wiki-file-name" | |||
}, | |||
"inline": { | |||
"description": "Whether the condition should be formatted inline", | |||
"type": "boolean" | |||
}, | |||
"duration": {}, | |||
"save": {}, | |||
"effects": {}, | |||
"altname": { | |||
"description": "An alternative display name for the condition link.", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> |