Difference between revisions of "Template:Gacha infobox"

no edit summary
(idk man)
Line 47: Line 47:
}}
}}
}}
}}
}}{{#ifeq:{{#var:is active|false}}|true||{{#vardefine:is active|false}}}}{{#arraydefine:featured units unsliced|{{{units|}}}|*}}{{#arrayslice:featured units|featured units unsliced|1}}{{#subobject:gacha{{#vardefineecho:gachanumber|{{#expr:{{#var:gachanumber|-1}}+1}}}}
}}{{#ifeq:{{#var:is active|false}}|true||{{#vardefine:is active|false}}}}<!--{{#arraydefine:featured units unsliced|{{{units|}}}|*}}{{#arrayslice:featured units|featured units unsliced|1}}-->{{#arraydefine:featured units|{{{units|}}}|;}}
}}{{#subobject:gacha{{#vardefineecho:gachanumber|{{#expr:{{#var:gachanumber|-1}}+1}}}}
| Has game context = Gacha
| Has game context = Gacha
| Has Japanese name ={{{jp name|}}}
| Has Japanese name ={{{jp name|}}}
Line 56: Line 57:
| Has duration date = {{#var:duration|{{{duration|}}}}}
| Has duration date = {{#var:duration|{{{duration|}}}}}
| Has gacha type = {{{type|New}}}
| Has gacha type = {{{type|New}}}
| Revolves around units = {{#arrayprint:featured units|###|@@@@|{{Strip formatting|@@@@}}}}|+sep=###
| Revolves around units = <!--{{#arrayprint:featured units|###|@@@@|{{Strip formatting|@@@@}}}}
|+sep=###-->{{#arrayprint:featured units|###}}|+sep=###
| Contains units = {{{unit-list|}}}
| Contains units = {{{unit-list|}}}
| Earliest duration = {{#var:duration earliest start}}
| Earliest duration = {{#var:duration earliest start}}
Line 68: Line 70:
| floats = true
| floats = true
| banners = 0
| banners = 0
| units = &nbsp;
| units = <!--&nbsp;
{{{units|}}}
{{{units|}}}-->{{#arrayprint:featured units|<br>|@@@@|* {{Transient icon|{{#explode:@@@@|/|0}}|{{#if:{{#explode:@@@@|/|1}}|rarity={{#explode:@@@@|/|1}}}}|{{#if:{{#explode:@@@@|/|2}}|variant={{#explode:@@@@|/|1}}}}}}}}
}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
== Description ==
== Description ==
trusted
5,920

edits