Difference between revisions of "Template:Transient infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 7: Line 7:
#if:{{{icon|}}}|{{#vardefine:transient icon|{{{icon|}}}}}}}{{
#if:{{{icon|}}}|{{#vardefine:transient icon|{{{icon|}}}}}}}{{
#if:{{{variant|}}}|{{#vardefine:transient variant|{{{variant|}}}}}}}{{
#if:{{{variant|}}}|{{#vardefine:transient variant|{{{variant|}}}}}}}{{
#masterdata:Card|{{#var:transient id}}{{
#masterdata:Card|{{#var:transient id}}|{{#var:transient template options|no-research=true}}
#if:{{{en title|}}}|{{#vardefine:transient en title}}}}{{
#if:{{{en name|}}}|{{#vardefine:transient en name|}}}}{{
#if:{{{charge skill name|}}}|{{#vardefine:transient en jingi|}}}}{{
#if:{{{charge skill description|}}}|{{#vardefine:transient en jingi description|}}}}{{
#if:{{{artwork|}}}|{{#vardefine:transient artwork|}}}}{{
#if:{{{icon|}}}|{{#vardefine:transient icon|}}}}{{
#if:{{{variant|}}}|{{#vardefine:transient variant|}}}}|{{#var:transient template options|no-research=true}}
}}{{#vardefine:transient template options|}}|Invalid invocation.}}</includeonly><noinclude>
}}{{#vardefine:transient template options|}}|Invalid invocation.}}</includeonly><noinclude>
== Description ==
== Description ==

Revision as of 03:51, 9 January 2019

Description

This templates is a proxy for the Template:Transient extended infobox extended template to avoid manually adding internal ID's to units by matching up titles to units. If you absolutely have to create an infobox for a unit that's not in game, please use:

{{#vardefine:transient en name|Gullinbursti}}
{{#vardefine:transient jp name|グリンブルスティ}}
{{#vardefine:transient element|英雄}}
{{#vardefine:transient weapon|打撃}}
{{#vardefine:transient illustrator|WAKU+LW}}
{{#vardefine:transient voice actor|日野聡}}
{{#vardefine:transient availability|}}
{{#vardefine:transient acquisition|}}
{{#vardefine:transient artwork|}}
{{#vardefine:transient icon|}}
{{#masterdata:CardPartial|utageFilename}}

Where either you can either specify artwork (filename on wiki) or utageFilename (asset used in-game). An icon is optional but recommended.

If a unit is in-game and the ID is unable to be found, you can simply invoke this template by:

{{Transient infobox
| jp title = Title
| en name = English Name
| artwork = Wiki Filename
| icon = Wiki Filename
}}