Template:Condition type: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(add more examples)
(use a switch)
Line 1: Line 1:
<includeonly>{{Icon|Condition Type Icon.png|{{{size|30}}} }}[[{{{1}}} (Condition Type)|{{{1}}}]]</includeonly><noinclude>
<includeonly>{{Icon|Condition Type Icon.png|{{{size|30}}} }}{{#lvardef:name|{{#switch:{{{1}}}
| curse = Cursed
| cursed = Cursed
| disease = Diseased
| diseased = Diseased
| poison = Poisoned
| poisoned = Poisoned
| polymorphed = Polymorphed
| charm = Charmed
| charmed = Charmed
| frightened = Frightened
| incapacitated = Incapacitated
| proned = Prone
| prone = Prone
| unconscious = Unconscious
| blind = Blinded
| blinded = Blinded
| #default = {{{1}}}
}}}} [[{{#lvar:name}} (Condition Type)|{{#lvar:name}}]]</includeonly><noinclude>
Displays the condition icon plus a link to Curse, Disease, or Poison according to the provided type parameter.
Displays the condition icon plus a link to Curse, Disease, or Poison according to the provided type parameter.



Revision as of 15:44, 11 October 2023

Displays the condition icon plus a link to Curse, Disease, or Poison according to the provided type parameter.

The optional parameter size specifies the size of the icon, which defaults to 40px.

Template data

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
type1

The type of condition.

Suggested values
diseased poisoned cursed polymorphed
Stringrequired
sizesize

The size of the icon

Default
40
Numberoptional