10,916
editsMore actions
no edit summary
m (Added w as size parameter) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#lvardef:text|[[{{{page}}}|{{#if:{{{altname|}}}|{{{altname}}}|{{{name}}} }}]]}}<span | <includeonly>{{#lvardef:text|[[{{{page}}}|{{#if:{{{altname|}}}|{{{altname}}}|{{{name}}} }}]]}}<span | ||
class="bg3wiki-condition" | class="bg3wiki-condition" | ||
{{#if:{{{inline|}}}|style="white-space:nowrap"}} | {{#if:{{{inline|}}}|style="white-space: nowrap"}} | ||
>[[File:{{{icon}}}|frameless|{{#if:{{{inline|}}}|{{{w|25}}}px|30px}}|link=|{{{name}}}]]{{#if:{{{inline|}}}|{{#lvar:text}}|<strong>{{#lvar:text}}</strong>}}{{#if: {{{duration | >[[File:{{{icon}}}|frameless|{{#if:{{{inline|}}}|{{{w|25}}}px|30px}}|link=|{{{name}}}]] {{#if: {{{inline|}}} | ||
{{InfoBlob| {{Duration|{{{duration}}}}} }} | | {{#lvar:text}} | ||
| <strong>{{#lvar:text}}</strong> | |||
}}{{#if: {{{duration|}}} | | |||
<p>{{InfoBlob | {{Duration | {{{duration}}} }} }}</p> | |||
}}{{#if: {{{save|}}} | | }}{{#if: {{{save|}}} | | ||
{{InfoBlob| {{SavingThrow|{{{save}}}|dc={{{dc|}}}}} }} | <p>{{InfoBlob | {{SavingThrow | {{{save}}} | dc = {{{dc|}}} }} }}</p> | ||
}}{{#if: {{{ | }}{{#if: {{{inline|}}} | | | ||
{{Condition Type|{{{types|}}} }} | <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 80: | Line 88: | ||
}} | }} | ||
== | == Name and icon only, inline == | ||
{{Condition/Format | {{Condition/Format | ||
Line 90: | Line 98: | ||
* Cured by healing. | * Cured by healing. | ||
| inline = true | | 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 == | == Alternative display name == | ||
{{Condition/Format | {{Condition/Format | ||
| page = Bleeding (Condition) | | page = Bleeding (Condition) | ||
Line 104: | Line 132: | ||
== Condition with a type == | == Condition with a type == | ||
{{Condition/Format | {{Condition/Format | ||
| page = Bleeding (Condition) | | page = Bleeding (Condition) | ||
Line 114: | Line 143: | ||
== Condition with multiple types == | == Condition with multiple types == | ||
{{Condition/Format | {{Condition/Format | ||
| page = Bleeding (Condition) | | page = Bleeding (Condition) | ||
Line 124: | Line 154: | ||
== Inline condition with a type == | == Inline condition with a type == | ||
Should not show the type. | Should not show the type. | ||
{{Condition/Format | {{Condition/Format | ||
| page = Bleeding (Condition) | | page = Bleeding (Condition) | ||
Line 134: | Line 166: | ||
Should not wrap. | Should not wrap. | ||
<div style="width:10px">{{Condition/Format | <div style="width:10px">{{Condition/Format | ||
| page = Bleeding (Condition) | | page = Bleeding (Condition) |