Difference between revisions of "Template:Transient infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 10: Line 10:
}}{{#vardefine:transient template options|}}|Invalid invocation.}}</includeonly><noinclude>
}}{{#vardefine:transient template options|}}|Invalid invocation.}}</includeonly><noinclude>
== Description ==
== Description ==
This templates is a proxy for the [[Template:Transient extended infobox]] extended template.
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:
<pre>
{{#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}}
</pre>
Where either you can either specify artwork (filename on wiki) or utageFilename (asset used in-game). An icon is optional but recommended.


== Usage ==
[[Category:Infobox templates]][[Category:Subobject templates]][[Category:Deprecated templates]]
<pre>{{Transient infobox
| id =
| en name =
| jp title =
| en title =
| artwork =
| icon =
| variant =
| availability =
| acquisition =
| charge skill name =
| charge skill description =
}}</pre>
 
=== Parameters ===
 
; id : The ID of the unit. Rarely expected for use by others. Please do not pass this argument.
; jp title : Japanese title. Absolutely required (if id is not provided) to match in-game for the forwarding to the extended template to work.
; en title: English title. Optional, but recommended to translate a title.
; en name: English name. Optional, but recommended to translate a name.
; artwork : Filename of the artwork on the wiki. Automatically adds <code>.png</code> as the file extension. Used for templates outside of the Transient's page.
; icon : Filename of the icon on the wiki. Automatically adds <code>.png</code> as the file extension. Used for templates outside of the Transient's page.
; variant : Variant of the transient. Defaults to ''Standard''. Required for variants, as the extended template cannot deduce it.
; availability : Availability of the transient. See [[Property:Has availability]] for a list of allowed values. If set to ''Unobtainable'', many parameters will automatically be omitted. Required for variants, as the extended template cannot deduce it.
; acquisition : Method of acquisition of the transient. Required for variants, as the extended template cannot deduce it.
; charge skill name : English name of the charge skill. Optional, as it's a value for passing an English charge skill name.
; charge skill description : English description of the charge skill. Optional, but recommended to translate a description.
 
== Examples ==
 
<pre>{{Transient infobox
| jp name = モリタカ
| en name = Moritaka
| jp title = 孝の八犬士
| en title =
| acquisition = Gacha
| artwork = Moritaka 3star full
| icon = Moritaka 01 icon
| skin artwork =
| rarity = 3
| cost = 8
| energy = 水
| weapon type = 斬撃
| hp = 403
| hp growth = 103.074
| atk = 198
| atk growth = 54.129
| base skill 1 = 獣の末裔
| base skill 2 = 切り払いの名手
| base skill 3 = 霊玉の八犬士
| base skill 4 =
| charge skill name = Frozen Ice Blade
| charge skill description = Slash Damage + Inflict Purge on Enemy
| charge skill pattern = Weapon Spread Slash
| illustrator = 樹下次郎
| scenario writer =
| voice actor = 山口勝平
}}</pre>
{{Transient infobox
| jp name = モリタカ
| en name = Moritaka
| jp title = 孝の八犬士
| en title =
| acquisition = Gacha
| artwork = Moritaka 3star full
| icon = Moritaka 01 icon
| skin artwork =
| rarity = 3
| cost = 8
| energy = 水
| weapon type = 斬撃
| hp = 403
| hp growth = 103.074
| atk = 198
| atk growth = 54.129
| base skill 1 = 獣の末裔
| base skill 2 = 切り払いの名手
| base skill 3 = 霊玉の八犬士
| base skill 4 =
| charge skill name = Frozen Ice Blade
| charge skill description = Slash Damage + Inflict Purge on Enemy
| charge skill pattern = Weapon Spread Slash
| illustrator = 樹下次郎
| scenario writer =
| voice actor = 山口勝平
}}
 
<pre>{{Transient infobox
| jp name = モリタカ
| en name = Moritaka
| jp title = 武士は恋を知る
| en title =
| acquisition = Valentine's Gacha
| artwork = Moritaka Valentine 5star full
| icon = Moritaka 03 icon
| skin artwork = Moritaka 2 Valentine 5star full
| rarity = 5
| cost = 24
| energy = 火
| weapon type = 斬撃
| variant = Valentine
| availability = Limited
| hp = 1599
| hp growth = 84.497
| atk = 850
| atk growth = 65.217
| base skill 1 = 恋焦がれる者
| base skill 2 = 獣の末裔
| base skill 3 = 霊玉の八犬士
| base skill 4 =
| charge skill name = Frozen Ice Blade?
| charge skill description = Magic Damage + Cast CP Up on all Nearby Allies
| charge skill pattern = Weapon Spread Magic
| illustrator = 樹下次郎
| scenario writer =
| voice actor = 山口勝平
}}</pre>
{{Transient infobox
| jp name = モリタカ
| en name = Moritaka
| jp title = 武士は恋を知る
| en title =
| acquisition = Valentine's Gacha
| artwork = Moritaka Valentine 5star full
| icon = Moritaka 03 icon
| skin artwork = Moritaka 2 Valentine 5star full
| rarity = 5
| cost = 24
| energy = 火
| weapon type = 斬撃
| variant = Valentine
| availability = Limited
| hp = 1599
| hp growth = 84.497
| atk = 850
| atk growth = 65.217
| base skill 1 = 恋焦がれる者
| base skill 2 = 獣の末裔
| base skill 3 = 霊玉の八犬士
| base skill 4 =
| charge skill name = Frozen Ice Blade?
| charge skill description = Magic Damage + Cast CP Up on all Nearby Allies
| charge skill pattern = Weapon Spread Magic
| illustrator = 樹下次郎
| scenario writer =
| voice actor = 山口勝平
}}
 
<pre>{{Transient infobox
| jp name =
| en name = Tetsuya
| jp title =
| en title =
| acquisition = Unobtainable
| artwork = Tetsuya 3star full
| icon = Tetsuya 01 icon
| skin artwork =
| rarity =
| cost =
| energy = 冥
| weapon type = 斬撃
| availability = Unobtainable
| hp =
| hp growth =
| atk =
| atk growth =
| base skill 1 =
| base skill 2 =
| base skill 3 =
| base skill 4 =
| charge skill name =
| charge skill description =
| charge skill
| illustrator = naop
| scenario writer =
| voice actor =
}}</pre>
{{Transient infobox
| jp name =
| en name = Tetsuya
| jp title =
| en title =
| acquisition = Unobtainable
| artwork = Tetsuya 3star full
| icon = Tetsuya 01 icon
| skin artwork =
| rarity =
| cost =
| energy = 冥
| weapon type = 斬撃
| availability =
| hp =
| hp growth =
| atk =
| atk growth =
| base skill 1 =
| base skill 2 =
| base skill 3 =
| base skill 4 =
| charge skill name =
| charge skill description =
| charge skill
| illustrator = naop
| scenario writer =
| voice actor =
}}
 
[[Category:Infobox templates]][[Category:Subobject templates]]
</noinclude>
</noinclude>

Revision as of 22:38, 28 December 2018

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.