Difference between revisions of "Template:ItemBinding"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 15: | Line 15: | ||
* btaoe = Bound to Account on Equip | * btaoe = Bound to Account on Equip | ||
* btaoa = Bound to Account on Acquire | * btaoa = Bound to Account on Acquire | ||
* any other value = Unbound | |||
}}</noinclude><onlyinclude>'''{{#if: {{{1|}}}|{{#switch: {{lc:{{{1}}}}} | }}</noinclude><onlyinclude>'''{{#if: {{{1|}}}|{{#switch: {{lc:{{{1}}}}} | ||
| btc = Bound to Character | | btc = Bound to Character | ||
Line 22: | Line 23: | ||
| btaoe = Bound to Account on Equip | | btaoe = Bound to Account on Equip | ||
| btaoa = Bound to Account on Acquire | | btaoa = Bound to Account on Acquire | ||
| #default = | | #default = Unbound'''</onlyinclude> |
Revision as of 16:52, 28 September 2018
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 Status | The abbreviation for the binding status Possible Values:
|
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