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

no edit summary
Line 22: Line 22:
   }}
   }}
   {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
   {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
}}{{#arraydefine:limitation array|{{{limitations|No restrictions}}}|<br>}}{{#subobject:equipment{{#vardefineecho:equipmentumber|{{#expr:{{#var:equipmentnumber|-1}}+1}}}}
}}{{#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=###
}}{{!}}+sep=###|No restrictions}}
}}
}}
}}<!-- end subobject
}}<!-- end subobject
trusted
5,922

edits