Difference between revisions of "Template:ItemBinding"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>This template is | <noinclude> | ||
{{TemplateDocumentation | |||
|name = ItemBinding | |||
|description = This template is used to render information the binding status of an item. Used in many other templates. | |||
|category=Item Templates | |||
|example1=<nowiki>{{ItemBinding|btc}}</nowiki> | |||
|example1output={{ItemBinding|btc}} | |||
|example2=<nowiki>{{ItemBinding}}</nowiki> | |||
|example2output={{ItemBinding}} | |||
|parameter1name = Bind Status | |||
|parameter1description = The abbreviation for the binding status | |||
|parameter1values = | |||
* 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 | |||
}}</noinclude><onlyinclude>{{#if: {{{2|}}}|{{#switch: {{lc:{{{1}}}}} | |||
| btc = Bound to Character | | btc = Bound to Character | ||
| bta = Bound to Account | | bta = Bound to Account | ||
Line 7: | Line 25: | ||
| 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 = {{{1}}}}}''' | | #default = Unbound}}|'''{{#switch: {{lc:{{{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}}'''}}</onlyinclude> |
Latest revision as of 21:48, 22 December 2024
ItemBinding[edit]
This template is used to render information the binding status of an item. Used in many other templates.
Example Usage | |
{{ItemBinding|btc}} | Bound to Character |
{{ItemBinding}} | 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.
Unbound