Template:Condition page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
| name = {{{name | {{titleparts: {{PAGENAME}} }} }}}
| name = {{{name | {{titleparts: {{PAGENAME}} }} }}}
| icon = {{{icon | {{{name | {{titleparts: {{PAGENAME}} }} }}} Condition Icon.png }}}
| icon = {{{icon | {{{name | {{titleparts: {{PAGENAME}} }} }}} Condition Icon.png }}}
| duration = {{{duration|0}}}
| description = {{{description|}}}
| description = {{{description|}}}
| effects = {{{effects|}}}
| effects = {{{effects|}}}
Line 17: Line 16:
{{ConditionPage
{{ConditionPage
| name = Blade Ward
| name = Blade Ward
| duration = 2
| description = Has [[resistance]] against {{DamageType|Bludgeoning}}, {{DamageType|Piercing}}, and {{DamageType|Slashing}} damage dealt by weapon attacks. Damage of these types is halved.
| description = Has [[resistance]] against {{DamageType|Bludgeoning}}, {{DamageType|Piercing}}, and {{DamageType|Slashing}} damage dealt by weapon attacks. Damage of these types is halved.
| this is an example = yes
| this is an example = yes
Line 26: Line 24:
{{ConditionPage
{{ConditionPage
| name = Chill Touch
| name = Chill Touch
| duration = 1
| effects =  
| effects =  
* Can not regain [[Hit Points]]
* Can not regain [[Hit Points]]

Revision as of 12:14, 16 July 2023

If the page title corresponds to the condition name, then you don't have to provide the name parameter. However, if you have to name a page something like Blah (Condition) to disambiguate it from some other page called Blah (e.g. Chill Touch vs. Chill Touch (Condition)) then you'll want to provide an explicit name = Blah value.

Likewise, if the icon for the condition is called Blah Condition Icon.png then you don't have to provide the icon parameter.

Examples:

Blade Ward (Condition)

Template:ConditionPage/Primitive

Chill Touch (Condition)

Template:ConditionPage/Primitive