Difference between revisions of "Template:ItemBinding"

From DDO Compendium
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template is auto used by item, weapon and armor.</noinclude>
<noinclude>
{{#explode:{{{1}}},|,|1}}
{{TemplateDocumentation
'''{{#switch: {{lc:}}
|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>'''{{#switch: {{lc:{{{1}}}}}
| btc = Bound to Character
| btc = Bound to Character
| bta = Bound to Account
| bta = Bound to Account
Line 8: 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}}'''</onlyinclude>

Latest revision as of 16:54, 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}}Bound to Character
{{ItemBinding}}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.


Unbound