Difference between revisions of "Template:Catalog:Transient"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:{{{name|Protagonist}}}{{#if:{{{variant|}}}|_{{{variant}}}_|}}_{{{rarity|3}}}star_{{#ifeq:{{{partial|}}}|true|_partial_|}}icon{{#ifeq:{{{all|}}}|true|s.gif|.png}}|100px|link={{#if:{{{link|}}}|{{{link}}}|{{{name|Protagonist}}}}}]]<br/>{{#if:{{{flavor|}}}|{{{flavor|?}}}<br/>|}}[[{{{name|Protagonist}}}]]
<includeonly><div style=text-align:center;">[[File:{{{override|{{{name|Protagonist}}}{{#if:{{{variant|}}}|_{{{variant}}}_|}}_{{{rarity|3}}}star_{{#ifeq:{{{partial|}}}|true|_partial_|}}icon{{#ifeq:{{{all|}}}|true|s.gif|.png}}}}}|116px|link={{#if:{{{link|}}}|{{{link}}}|{{{name|Protagonist}}}}}]]<br/>[[{{{name|Protagonist}}}]]{{#if:{{{flavor|}}}|<br/>{{Flavor text|{{{flavor|}}}}}|}}</div></includeonly><noinclude>
 
{{Documentation}}
</noinclude>

Latest revision as of 22:29, 21 August 2019


Template documentation[view] [edit] [history] [purge]

Description

This template does *not* access the datamine's icon files. Rather, it accesses whatever icons are uploaded directly into the wiki, in the format name_raritystar_icon.png, or name_variant_raritystar_icon.png. Icons of earlier cards have previously been uploaded, but this has stopped being maintained. This template also does not link to the specific card version of the character, only the generic character page. Typically, only icons for unreleased characters are uploaded, and thus this template is best used for such characters. For a template that directly accesses the datamine and produces a similar output, go to Template:Team member.

Usage

name, rarity, and variant fields are used as you'd expect (character name, numerical rarity, and variant name). The override field is used to call a different image entirely. Use the override function for unreleased characters whose icons are uploaded on the wiki, but who do not follow a file name that follows the format indicated in the description.

{{Catalog:Companion
|override=
|name=
|rarity=
|variant=
}}

Examples

{{Catalog:Companion}}
{{Catalog:Companion
|name=Licht
}}
{{Catalog:Companion
|name=Licht
|rarity=5
|flavor=best
}}
Licht 5star icon.png
Licht
【best】
{{Catalog:Companion
|name=Licht
|rarity=4
|variant=Valentine
}}

Example of unit whose icon was not uploaded to the wiki

{{Catalog:Companion
|name=Behemoth
|rarity=4
}}

Example override

{{Catalog:Companion
|name=Amaterasu
|override=icon_amaterasu01.png
|flavor = World Representative
}}
Icon amaterasu01.png
Amaterasu
【World Representative】