Template:Condition page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div class="bg3wiki-tooltip-box">
<includeonly><div class="bg3wiki-tooltip-box">{{
{{ConditionPage/Primitive
#vardefine: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}
| name = {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}
}}{{ConditionPage/Primitive
| icon = {{{icon | {{#replace: {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}} | : | }} Condition Icon.webp }}}
| name = {{#var:name}}
| icon = {{{icon | {{#replace: {{#var:name}} | : | }} Condition Icon.webp }}}
| effects = {{{effects|}}}
| effects = {{{effects|}}}
| this is an example = {{{this is an example|}}}
| this is an example = {{{this is an example|}}}
Line 10: Line 11:


See also: [[Template:ConditionPage/Primitive]]
See also: [[Template:ConditionPage/Primitive]]
CSS: [[Template:ConditionPage/styles.css]]


Examples:
Examples:

Revision as of 11:46, 8 August 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.

See also: Template:ConditionPage/Primitive

Examples:

Blade Ward (Condition)

Bone Chilled (Condition)