Template:Condition page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:
{{{effects|}}} {{#if: {{#lvar:type}} | {{blank}}
{{{effects|}}} {{#if: {{#lvar:type}} | {{blank}}
* {{Condition/Type|{{#lvar:type}} }}
* {{Condition/Type|{{#lvar:type}} }}
}}</div><!--some housekeeping:categories and cargo-->{{#switch: {{{this is an example|}}}
}}</div><!--some housekeeping:categories and cargo-->{{Main namespace only|[[Category:Conditions]]}}{{#switch: {{{this is an example|}}}
| yes =
| #default = [[Category:Conditions]]
}}{{#switch: {{{this is an example|}}}
| yes =
| yes =
| #default = {{#cargo_store: _table = conditions
| #default = {{#cargo_store: _table = conditions

Revision as of 16:33, 11 October 2023

If the page title is Blah (Condition), then you don't have to provide the name parameter. Likewise, if the icon for the condition is called Blah Condition Icon.webp then you don't have to provide the icon parameter.

{{ConditionPage
| effects =
| type =
}}

Examples:

Blade Ward (Condition)

Bone Chilled (Condition)

Flesh Rot (Condition)

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