Difference between revisions of "Template:AR Equipment extended infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 22: Line 22:
   }}
   }}
   {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
   {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
}}{{#subobject:equipment{{#vardefineecho:equipmentumber|{{#expr:{{#var:equipmentnumber|-1}}+1}}}}
}}{{#arraydefine:limitation array|{{{limitations|No restrictions}}}|<br/>}}{{#subobject:equipment{{#vardefineecho:equipmentumber|{{#expr:{{#var:equipmentnumber|-1}}+1}}}}
| Has game context = AR Equipment
| Has game context = AR Equipment
| Has Japanese name = {{{name|}}}
| Has Japanese name = {{{name|}}}
Line 42: Line 42:
}}|+sep=###
}}|+sep=###
| Has acquisition = {{{acquisition|}}}
| Has acquisition = {{{acquisition|}}}
| Has restrictions={{{limitations|}}}
| Has restrictions = {{#arrayprint:limitation array
}}
  | ###
  | @@@
  | {{Strip formatting|@@@}}
}}|+sep=###
}}<!-- end subobject
}}<!-- end subobject
-->{{#if:{{{id|}}}|{{#vardefine:ar skill id|{{formatnum:{{#ask:
-->{{#if:{{{id|}}}|{{#vardefine:ar skill id|{{formatnum:{{#ask:

Revision as of 07:45, 1 July 2020

Description

Both creates an infobox and defines a subobject for AR Equipment. Additional parameters include:

{{#vardefine:ar equipment acquisition|}}
{{#vardefine:ar equipment en name|}}
{{#vardefine:ar equipment en note|}}
{{#vardefine:ar equipment acquisition|}}

Like other extended infobox templates, invocation of this template is to be done through the corresponding {{#masterdata:Equip|ID}} extension call.