Difference between revisions of "Template:Catalog:Transient"
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[File:{{{ | <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
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
_rarity
star_icon.png, or name
_variant
_rarity
star_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 }}
{{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 }}
The above documentation is transcluded from Template:Catalog:Transient/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |