Difference between revisions of "Template:Gacha infobox"

Jump to navigation Jump to search
no edit summary
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}}-->{{#arraydefine:featured units|{{{units|}}}|;}}
}}{{#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}}}}
}}{{#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 71: Line 70:
| banners = 0
| banners = 0
| units = <!--&nbsp;
| units = <!--&nbsp;
{{{units|}}}-->{{#arrayprint:featured units|<br>|@@@@|* {{Transient icon|{{#explode:@@@@|/|0}}|{{#if:{{#explode:@@@@|/|1}}|rarity={{#explode:@@@@|/|1}}}}|{{#if:{{#explode:@@@@|/|2}}|variant={{#explode:@@@@|/|1}}}}}}}}
{{{units|}}}-->{{#arrayprint:featured units|<br>|@@@@|* {{Transient icon|{{#explode:@@@@|/|0}}|{{#if:{{#explode:@@@@|/|1}}|rarity={{#explode:@@@@|/|1}}}}|{{#if:{{#explode:@@@@|/|2}}|variant={{#explode:@@@@|/|2}}}}}}}}
}}
}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
trusted
5,920

edits

Navigation menu