Template:ItemBinding

From DDO Compendium
Revision as of 16:52, 28 September 2018 by MNDeveloper (talk | contribs)


ItemBinding[edit]

This template is used to render information the binding status of an item. Used in many other templates.

Example Usage
{{ItemBinding|btc}}{{#if: btc|{{#switch: btc

| btc = Bound to Character | bta = Bound to Account | btcoe = Bound to Character on Equip | btcoa = Bound to Character on Acquire | btaoe = Bound to Account on Equip | btaoa = Bound to Account on Acquire

| #default = Unbound

Usage[edit]

{{ItemBinding|(Bind Status)}}

Parameter Documentation
Bind StatusThe abbreviation for the binding status
Possible Values:
  • btc = Bound to Character
  • bta = Bound to Account
  • btcoe = Bound to Character on Equip
  • btcoa = Bound to Character on Acquire
  • btaoe = Bound to Account on Equip
  • btaoa = Bound to Account on Acquire
  • any other value = Unbound

Template

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


{{#if: |{{#switch: {{{1}}}

| btc = Bound to Character | bta = Bound to Account | btcoe = Bound to Character on Equip | btcoa = Bound to Character on Acquire | btaoe = Bound to Account on Equip | btaoa = Bound to Account on Acquire | #default = Unbound