Difference between revisions of "Template:AR Equipment extended infobox"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
SurtrFan8511 (talk | contribs) |
||
Line 22: | Line 22: | ||
}} | }} | ||
{{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }} | {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }} | ||
}}{{#arraydefine:limitation array|{{{limitations| | }}{{#arraydefine:limitation array|{{{limitations|}}}|<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 32: | Line 32: | ||
| Has filename = {{{filename|}}} | | Has filename = {{{filename|}}} | ||
| Has skills = {{#explode:{{#explode:{{{skills|}}}|<td colspan=3>|1}}|</td>|0}} | | Has skills = {{#explode:{{#explode:{{{skills|}}}|<td colspan=3>|1}}|</td>|0}} | ||
| Has illustrator ={{#if:{{{illustrator|}}}| | | Has illustrator = {{#if:{{{illustrator|}}}| | ||
{{#vardefine:counter|0}} | {{#vardefine:counter|0}} | ||
{{#arrayprint:illustrator | {{#arrayprint:illustrator | ||
Line 42: | Line 42: | ||
}}|+sep=### | }}|+sep=### | ||
| Has acquisition = {{{acquisition|}}} | | Has acquisition = {{{acquisition|}}} | ||
| Has restrictions = {{#arrayprint:limitation array | | Has restrictions = {{#if:{{{limitations|}}}|{{#arrayprint:limitation array | ||
| ### | | ### | ||
| @@@ | | @@@ | ||
| {{Strip formatting|@@@}} | | {{Strip formatting|@@@}} | ||
}} | }}{{!}}+sep=###|No restrictions}} | ||
}} | }} | ||
}}<!-- end subobject | }}<!-- end subobject |
Revision as of 08:16, 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.