Difference between revisions of "Template:Aligned"

From DDO Compendium
Line 28: Line 28:
|lawful='''Lawful Weapon:''']] This weapon is Lawfully aligned. Chaotically aligned characters suffer a negative level until this item is unequipped.
|lawful='''Lawful Weapon:''']] This weapon is Lawfully aligned. Chaotically aligned characters suffer a negative level until this item is unequipped.
|chaotic='''Taint of Chaos:''']] This weapon is Chaotically aligned. Lawfully aligned characters suffer a negative level until this item is unequipped.
|chaotic='''Taint of Chaos:''']] This weapon is Chaotically aligned. Lawfully aligned characters suffer a negative level until this item is unequipped.
}}
}}}}

Revision as of 16:41, 4 December 2019

Aligned[edit]

Add aligned effects to the item, either negative level when worn on opposite or restricted

Example Usage
{{Aligned|Evil}}{{#ifeq: |titleonly|{{#switch: evil |good=Holy Weapon

|evil=Taint of Evil]] |lawful=Lawful Weapon]]

|chaotic=Taint of Chaos]]|Taint of Evil: This weapon is Evil aligned. Good aligned characters suffer a negative level until this item is unequipped.}}

Usage[edit]

{{Aligned|(Alignment)}}

Parameter Documentation
AlignmentThe Alignment of the weapon
Possible Values:
  • Good
  • Evil
  • Lawful
  • Chaotic

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


{{#ifeq: |titleonly|{{#switch: |good=Holy Weapon

|evil=Taint of Evil]] |lawful=Lawful Weapon]] |chaotic=Taint of Chaos]]|[[Aligned Items|}}