Difference between revisions of "Template:Transient extended infobox"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) (Separating element icon from weapon icon) |
|||
(253 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: <!-- define vars --> | <includeonly>__NOTOC__{{#if: <!-- define vars --> | ||
{{#vardefine:energy|{{#switch:{{lc:{{{energy|{{{element|}}}}}}}} | {{#vardefine:energy|{{#switch:{{lc:{{{energy|{{{element|}}}}}}}} | ||
Line 11: | Line 11: | ||
| 7 | 英雄 | hero | valiant = 英雄 | | 7 | 英雄 | hero | valiant = 英雄 | ||
| 8 | 世界 | world = 世界 | | 8 | 世界 | world = 世界 | ||
| 9 | | | 9 | 無限 | infinity | infinite | mugen = 無限 | ||
| 10 | 零 | zero | null = 零 | |||
| 11 | 神 | god = 神 | |||
|#default = ? | |#default = ? | ||
}} | }} | ||
Line 25: | Line 27: | ||
| 6 | 横一文字 | wide slash | wide-slash | wide-slash | long slash = 横一文字 | | 6 | 横一文字 | wide slash | wide-slash | wide-slash | long slash = 横一文字 | ||
| 8 | 全域 | wide magic | wide-magic | all = 全域 | | 8 | 全域 | wide magic | wide-magic | all = 全域 | ||
| 0 | 無し = | | 0 | 無し = 無し | ||
| 9 | 無 = | | 9 | 無 = 無 | ||
|#default = ? | |#default = ? | ||
}} | }} | ||
}} | }} | ||
{{#vardefine:weapon type filename|{{#switch:{{#var:weapon type}} | |||
| 無し | none = nothing | |||
| 斬撃 = slash | |||
| 突撃 = thrust | |||
| 打撃 = knock | |||
| 射撃 = shoot | |||
| 魔法 = magic | |||
| 横一文字 = longslash | |||
| 狙撃 = snipe | |||
| 全域 = all | |||
| 無 = nothing | |||
|#default = nothing | |||
}} | |||
}} | |||
{{#vardefine:energy filename|{{#switch:{{#var:energy}} | |||
| 全 = ui_button_elm_none | |||
| 火 = ui_button_elm_fire | |||
| 水 = ui_button_elm_water | |||
| 木 = ui_button_elm_earth | |||
| 天 = ui_button_elm_light | |||
| 冥 = ui_button_elm_dark | |||
| 魔 = ui_button_elm_evil | |||
| 英雄 = ui_button_elm_hero | |||
| 世界 = ui_button_elm_world | |||
| 無限 = ui_button_elm_infinity | |||
| 零 = ui_button_elm_zero | |||
| 神 = icon_element_god | |||
| #default = none | |||
}} | |||
}} | |||
{{#vardefine:availability|{{#switch:{{lc:{{{availability|}}}}} | {{#vardefine:availability|{{#switch:{{lc:{{{availability|}}}}} | ||
Line 37: | Line 72: | ||
| unobtainable = Unobtainable | | unobtainable = Unobtainable | ||
| scheduled = Scheduled | | scheduled = Scheduled | ||
| enemy = Enemy | |||
| current | | current | ||
|#default = Current | |#default = Current | ||
Line 107: | Line 143: | ||
}} | }} | ||
{{#arraydefine:voice actor|{{{voice actor|}}}|;}} | {{#arraydefine:voice actor|{{#replace:{{{voice actor|}}}|,|;}}|;}} | ||
{{#vardefine:counter|0}} | {{#vardefine:counter|0}} | ||
Line 124: | Line 160: | ||
}} | }} | ||
{{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }} | {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }} | ||
}} | |||
{{#vardefine:max lv|{{#switch:{{{rarity|3}}} | |||
| 5 = 70 | |||
| 4 = 65 | |||
| 3 = 60 | |||
| 2 = 55 | |||
| 1 = 50 | |||
}} | |||
}} | }} | ||
Line 142: | Line 187: | ||
|{{#ask: | |{{#ask: | ||
[[Has game context::Skill]] | [[Has game context::Skill]] | ||
[[Has | [[Has ID::{{{base skill 1 id}}}]] | ||
[[Has effect ID::1]] | [[Has effect ID::1]] | ||
|link=none | |link=none | ||
Line 150: | Line 195: | ||
}} | }} | ||
}} | }} | ||
}} | |||
{{#if: {{#var:base skill 1 subobj|}}| | |||
<!--{{#if:{{#vardefineecho:base skill 1 evo|{{#show: {{#var:base skill 1 subobj}} |?Has evolved skill|link=none}}}}|{{#vardefine:has skill evo|true}}}}--> | |||
{{#if:{{#show: {{#var:base skill 1 subobj}} |?Has evolved skill|link=none}}|{{#arraydefine:base skill 1 evo|{{#show: {{#var:base skill 1 subobj}} |?Has evolved skill|link=none}} }}{{#vardefine:has skill evo|true}} }} | |||
}} | }} | ||
Line 155: | Line 205: | ||
{{#if: {{#var:base skill 1 subobj|}} | {{#if: {{#var:base skill 1 subobj|}} | ||
|{{#show: {{#var:base skill 1 subobj}} |?Has English name }} | |{{#show: {{#var:base skill 1 subobj}} |?Has English name }} | ||
}} | |||
}} | |||
{{#vardefine:base skill 1 range| | |||
{{#if: {{#var:base skill 1 subobj|}} | |||
|{{#show: {{#var:base skill 1 subobj}} |?Has range }} | |||
}} | }} | ||
}} | }} | ||
{{#vardefine:base skill 1 desc| | {{#vardefine:base skill 1 desc| | ||
<!-- | |||
{{#if: {{#var:base skill 1 subobj|}} | {{#if: {{#var:base skill 1 subobj|}} | ||
|{{#show: {{#var:base skill 1 subobj}} |?Has preformatted English description }} | |{{#show: {{#var:base skill 1 subobj}} |?Has preformatted English description |sep=<br> }} | ||
|{{#masterdata:SkillDescription|{{#masterdata:Skill|{{{base skill 1}}}|id:name}}|link-radius-image=true}} | |||
}} | }} | ||
--> | |||
{{{base skill 1 bundle|{{#masterdata:SkillDescription| {{#if: {{#var:base skill 1 subobj|}}|{{formatnum:{{#show: {{#var:base skill 1 subobj}} |?Has ID}}|R}}|{{#masterdata:Skill|{{{base skill 1}}}|id:name}}}}|link-radius-image=true}}}}} | |||
}} | }} | ||
<!-- escape semi-colons to not run into issues when setting it as a value in the record property --> | <!-- escape semi-colons to not run into issues when setting it as a value in the record property --> | ||
<!-- | |||
{{#vardefine:base skill 1 raw desc| | {{#vardefine:base skill 1 raw desc| | ||
{{#if: {{#var:base skill 1 subobj|}} | {{#if: {{#var:base skill 1 subobj|}} | ||
|{{#replace:{{#tag:strip|{{#show: {{#var:base skill 1 subobj}} |?Has preformatted English description }}}}|;|\;}} | |{{#replace:{{#tag:strip|{{#show: {{#var:base skill 1 subobj}} |?Has preformatted English description |sep=<br>}}}}|;|\;}} | ||
}} | }} | ||
}} | }} | ||
--> | |||
{{#vardefine:base skill 2 subobj| | {{#vardefine:base skill 2 subobj| | ||
{{#if: {{{base skill 2|}}} | {{#if: {{{base skill 2|}}} | ||
|{{#ask: | |{{#ask: | ||
[[Has game context::Skill]] | [[Has game context::Skill]] | ||
[[Has | [[Has ID::{{{base skill 2 id}}}]] | ||
[[Has effect ID::1]] | [[Has effect ID::1]] | ||
|link=none | |link=none | ||
Line 183: | Line 244: | ||
}} | }} | ||
}} | }} | ||
}} | |||
{{#if: {{#var:base skill 2 subobj|}}| | |||
<!--{{#if:{{#vardefineecho:base skill 2 evo|{{#show: {{#var:base skill 2 subobj}} |?Has evolved skill|link=none}}}}|{{#vardefine:has skill evo|true}}}}--> | |||
{{#if:{{#show: {{#var:base skill 2 subobj}} |?Has evolved skill|link=none}}|{{#arraydefine:base skill 2 evo|{{#show: {{#var:base skill 2 subobj}} |?Has evolved skill|link=none}} }}{{#vardefine:has skill evo|true}} }} | |||
}} | }} | ||
Line 190: | Line 256: | ||
}} | }} | ||
}} | }} | ||
{{#vardefine:base skill 2 range| | |||
{{#if: {{#var:base skill 2 subobj|}} | |||
|{{#show: {{#var:base skill 2 subobj}} |?Has range }} | |||
}} | |||
}} | |||
{{#vardefine:base skill 2 desc| | {{#vardefine:base skill 2 desc| | ||
<!-- | |||
{{#if: {{#var:base skill 2 subobj|}} | {{#if: {{#var:base skill 2 subobj|}} | ||
|{{#show: {{#var:base skill 2 subobj}} |?Has preformatted English description }} | |{{#show: {{#var:base skill 2 subobj}} |?Has preformatted English description |sep=<br>}} | ||
|{{#masterdata:SkillDescription|{{#masterdata:Skill|{{{base skill 2}}}|id:name}}}} | |||
}} | }} | ||
--> | |||
{{{base skill 2 bundle|{{#masterdata:SkillDescription| {{#if: {{#var:base skill 2 subobj|}}|{{formatnum:{{#show: {{#var:base skill 2 subobj}} |?Has ID}}|R}}|{{#masterdata:Skill|{{{base skill 2}}}|id:name}}}}|link-radius-image=true}}}}} | |||
}} | }} | ||
<!-- | |||
{{#vardefine:base skill 2 raw desc| | {{#vardefine:base skill 2 raw desc| | ||
{{#if: {{#var:base skill 2 subobj|}} | {{#if: {{#var:base skill 2 subobj|}} | ||
|{{#replace:{{#tag:strip|{{#show: {{#var:base skill 2 subobj}} |?Has preformatted English description }}}}|;|\;}} | |{{#replace:{{#tag:strip|{{#show: {{#var:base skill 2 subobj}} |?Has preformatted English description |sep=<br>}}}}|;|\;}} | ||
}} | }} | ||
}} | }} | ||
--> | |||
{{#vardefine:base skill 3 subobj| | {{#vardefine:base skill 3 subobj| | ||
{{#if: {{{base skill 3|}}} | {{#if: {{{base skill 3|}}} | ||
|{{#ask: | |{{#ask: | ||
[[Has game context::Skill]] | [[Has game context::Skill]] | ||
[[Has | [[Has ID::{{{base skill 3 id}}}]] | ||
[[Has effect ID::1]] | [[Has effect ID::1]] | ||
|link=none | |link=none | ||
Line 215: | Line 292: | ||
}} | }} | ||
}} | }} | ||
}} | |||
{{#if: {{#var:base skill 3 subobj|}}| | |||
<!--{{#if:{{#vardefineecho:base skill 3 evo|{{#show: {{#var:base skill 3 subobj}} |?Has evolved skill|link=none}}}}|{{#vardefine:has skill evo|true}}}}--> | |||
{{#if:{{#show: {{#var:base skill 3 subobj}} |?Has evolved skill|link=none}}|{{#arraydefine:base skill 3 evo|{{#show: {{#var:base skill 3 subobj}} |?Has evolved skill|link=none}} }}{{#vardefine:has skill evo|true}} }} | |||
}} | }} | ||
Line 223: | Line 305: | ||
}} | }} | ||
{{#vardefine:base skill 3 | {{#vardefine:base skill 3 range| | ||
{{#if: {{#var:base skill 3 subobj|}} | {{#if: {{#var:base skill 3 subobj|}} | ||
|{{#show: {{#var:base skill 3 subobj}} |?Has | |{{#show: {{#var:base skill 3 subobj}} |?Has range }} | ||
}} | }} | ||
}} | }} | ||
{{#vardefine:base skill 3 desc| | |||
<!-- | |||
{{#if: {{#var:base skill 3 subobj|}} | |||
|{{#show: {{#var:base skill 3 subobj}} |?Has preformatted English description |sep=<br>}} | |||
|{{#masterdata:SkillDescription|{{#masterdata:Skill|{{{base skill 3}}}|id:name}}}} | |||
}} | |||
--> | |||
{{{base skill 3 bundle|{{#masterdata:SkillDescription| {{#if: {{#var:base skill 3 subobj|}}|{{formatnum:{{#show: {{#var:base skill 3 subobj}} |?Has ID}}|R}}|{{#masterdata:Skill|{{{base skill 3}}}|id:name}}}}|link-radius-image=true}}}}} | |||
}} | |||
<!-- | |||
{{#vardefine:base skill 3 raw desc| | {{#vardefine:base skill 3 raw desc| | ||
{{#if: {{#var:base skill 3 subobj|}} | {{#if: {{#var:base skill 3 subobj|}} | ||
|{{#replace:{{#tag:strip|{{#show: {{#var:base skill 3 subobj}} |?Has preformatted English description }}}}|;|\;}} | |{{#replace:{{#tag:strip|{{#show: {{#var:base skill 3 subobj}} |?Has preformatted English description |sep=<br>}}}}|;|\;}} | ||
}} | }} | ||
}} | }} | ||
--> | |||
{{#vardefine:base skill 4 subobj| | {{#vardefine:base skill 4 subobj| | ||
{{#if: {{{base skill 4|}}} | {{#if: {{{base skill 4|}}} | ||
|{{#ask: | |{{#ask: | ||
[[Has game context::Skill]] | [[Has game context::Skill]] | ||
[[Has | [[Has ID::{{{base skill 4 id}}}]] | ||
[[Has effect ID::1]] | [[Has effect ID::1]] | ||
|link=none | |link=none | ||
Line 253: | Line 346: | ||
|{{#show: {{#var:base skill 4 subobj}} |?Has English name }} | |{{#show: {{#var:base skill 4 subobj}} |?Has English name }} | ||
}} | }} | ||
}} | |||
{{#vardefine:base skill 4 range| | |||
{{#if: {{#var:base skill 4 subobj|}} | |||
|{{#show: {{#var:base skill 4 subobj}} |?Has range }} | |||
}} | |||
}} | |||
{{#if: {{#var:base skill 4 subobj|}}| | |||
<!--{{#if:{{#vardefineecho:base skill 4 evo|{{#show: {{#var:base skill 4 subobj}} |?Has evolved skill|link=none}}}}|{{#vardefine:has skill evo|true}}}}--> | |||
{{#if:{{#show: {{#var:base skill 4 subobj}} |?Has evolved skill|link=none}}|{{#arraydefine:base skill 4 evo|{{#show: {{#var:base skill 4 subobj}} |?Has evolved skill|link=none}} }}{{#vardefine:has skill evo|true}} }} | |||
}} | }} | ||
{{#vardefine:base skill 4 desc| | {{#vardefine:base skill 4 desc| | ||
<!-- | |||
{{#if: {{#var:base skill 4 subobj|}} | {{#if: {{#var:base skill 4 subobj|}} | ||
|{{#show: {{#var:base skill 4 subobj}} |?Has preformatted English description }} | |{{#show: {{#var:base skill 4 subobj}} |?Has preformatted English description |sep=<br>}} | ||
|{{#masterdata:SkillDescription|{{#masterdata:Skill|{{{base skill 4}}}|id:name}}}} | |||
}} | }} | ||
--> | |||
{{{base skill 4 bundle|{{#masterdata:SkillDescription| {{#if: {{#var:base skill 4 subobj|}}|{{formatnum:{{#show: {{#var:base skill 4 subobj}} |?Has ID}}|R}}|{{#masterdata:Skill|{{{base skill 4}}}|id:name}}}}|link-radius-image=true}}}}} | |||
}} | }} | ||
<!-- | |||
{{#vardefine:base skill 4 raw desc| | {{#vardefine:base skill 4 raw desc| | ||
{{#if: {{#var:base skill 4 subobj|}} | {{#if: {{#var:base skill 4 subobj|}} | ||
|{{#replace:{{#tag:strip|{{#show: {{#var:base skill 4 subobj}} |?Has preformatted English description }}}}|;|\;}} | |{{#replace:{{#tag:strip|{{#show: {{#var:base skill 4 subobj}} |?Has preformatted English description |sep=<br>}}}}|;|\;}} | ||
}} | }} | ||
}} | }} | ||
--> | |||
{{#vardefine:charge skill subobj| | {{#vardefine:charge skill subobj| | ||
{{#if: {{{ | {{#if: {{{charge skill id|}}} | ||
|{{#ask: | |{{#ask: | ||
[[Has game context::Skill]] | [[Has game context::Skill]] | ||
[[Has ID::{{{ | [[Has ID::{{{charge skill id|}}}]] | ||
[[Has effect ID::1]] | [[Has effect ID::1]] | ||
|link=none | |link=none | ||
Line 281: | Line 390: | ||
}} | }} | ||
{{#vardefine:charge skill en name| | <!--{{#vardefine:charge skill en name| | ||
{{#if: {{#var:charge skill subobj|}} | {{#if: {{#var:charge skill subobj|}} | ||
|{{#show: {{#var:charge skill subobj}} |?Has English name }} | |{{#show: {{#var:charge skill subobj}} |?Has English name }} | ||
Line 292: | Line 401: | ||
}} | }} | ||
}} | }} | ||
<!-- | |||
{{#vardefine:charge skill raw desc| | {{#vardefine:charge skill raw desc| | ||
{{#if: {{#var:charge skill subobj|}} | {{#if: {{#var:charge skill subobj|}} | ||
Line 298: | Line 407: | ||
}} | }} | ||
}} | }} | ||
--> | |||
--> | --> | ||
{{#vardefine:base skill 1 jp-en name| | {{#vardefine:base skill 1 jp-en name| | ||
Line 333: | Line 443: | ||
}} | }} | ||
{{#vardefine:strategy|{{#ifexist:{{{en name|}}}/Strategy|{{{en name|}}}/Strategy|}}}} | {{#vardefine:strategy|{{#ifexist:{{{en name|}}}/Strategy|{{{en name|}}}/Strategy|}}}} | ||
{{#vardefine:enemy|{{#ifexist:{{{en name|}}}/Enemy|{{{en name|}}}/Enemy|}}}} | |||
{{#vardefine:transient id|{{{id|{{#if:{{{jp title|}}}|{{#masterdata:Card|{{{jp title|}}}|id:name.title}}}}}}}}} | {{#vardefine:transient id|{{{id|{{#if:{{{jp title|}}}|{{#masterdata:Card|{{{jp title|}}}|id:name.title}}}}}}}}} | ||
{{#ifexpr:{{#var:transient id|}}<2|{{#vardefine:transient id|}}}} | {{#ifexpr:{{#var:transient id|}}<2|{{#vardefine:transient id|}}}} | ||
{{#vardefine:charge skill weapon|{{Weapons|{{#replace:{{{charge skill pattern|{{#ifeq:{{#var:weapon type}}|?||{{#var:weapon type}}}}}}}|Weapon Spread |}}}}}} | {{#vardefine:charge skill weapon|{{Weapons|{{#replace:{{{charge skill pattern|{{#ifeq:{{#var:weapon type}}|?||{{#var:weapon type}}}}}}}|Weapon Spread |}}}}}} | ||
{{#vardefine:height|{{#var:transient height|{{{height|}}}}}}} | |||
{{#vardefine:weight|{{#var:transient weight|{{{weight|}}}}}}} | |||
{{#vardefine:summon date|{{#var:transient summon date|{{{summon date|}}}}}}} | |||
{{#vardefine:guild|{{#var:transient en affiliation|{{{guild|}}}}}}} | |||
{{#vardefine:school|{{#var:transient en school|{{{school|}}}}}}} | |||
{{#vardefine:group|{{#var:transient en group|}}}} | |||
{{#vardefine:release date|{{#var:transient release date|{{{release date|2016-12-01}}}}}}} | |||
{{#vardefine:release version|{{#var:transient release version|{{{release version|0.0.0}}}}}}} | |||
{{#arraydefine:skin list|{{{cdn skin artwork|}}}|;}} | |||
}}<!--create vars end-->{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> | <!-- | }}<!--create vars end-->{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> | <!-- | ||
Line 345: | Line 463: | ||
| Has game context = Transient | | Has game context = Transient | ||
| Has ID = {{#var:transient id|}} | | Has ID = {{#var:transient id|}} | ||
| Has character ID = {{{chara id| | | Has character ID = {{{chara id|}}} | ||
| Has Japanese name ={{{jp name|?}}} | | Has Japanese name ={{{jp name|?}}} | ||
| Has English name ={{{en name|?}}} | | Has English name ={{{en name|?}}} | ||
Line 353: | Line 471: | ||
| Has Japanese-English title = {{{jp-en title|}}} | | Has Japanese-English title = {{{jp-en title|}}} | ||
| Has filename = {{{filename|}}} | | Has filename = {{{filename|}}} | ||
| Has skins = {{#arrayprint:skin list|;|@@@@|{{#ifeq:{{#explode:@@@@|:|0}}|utage-name||@@@@}}}}|+sep=; | |||
| Has artwork = {{#ifexist:File:{{{artwork|}}}.png|File:{{{artwork}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|}}}} | | Has artwork = {{#ifexist:File:{{{artwork|}}}.png|File:{{{artwork}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|}}}} | ||
| Has icon = {{#ifexist:File:{{{icon|}}}.png|File:{{{icon}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|File:Unknown icon.png}}}} | | Has icon = {{#ifexist:File:{{{icon|}}}.png|File:{{{icon}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|File:Unknown icon.png}}}} | ||
| Has strategy = {{#var:strategy|}} | | Has strategy = {{#var:strategy|}} | ||
| Has enemies = {{#var:enemy|}} | |||
| Has rarity ={{#ifeq: {{{rarity|0}}} | 0 | 0 | {{{rarity}}} }} | | Has rarity ={{#ifeq: {{{rarity|0}}} | 0 | 0 | {{{rarity}}} }} | ||
| Has card cost ={{#ifeq: {{{cost|0}}} | 0 | 0 | {{{cost}}} }} | | Has card cost ={{#ifeq: {{{cost|0}}} | 0 | 0 | {{{cost}}} }} | ||
Line 367: | Line 487: | ||
| Has atk value = {{{atk|0}}} | | Has atk value = {{{atk|0}}} | ||
| Has atk growth value = {{{atk growth|0}}} | | Has atk growth value = {{{atk growth|0}}} | ||
| Has base skill ={{#if:{{{base skill 1|}}}|{{#var:base skill 1 subobj|-}};0;{{{base skill 1}}};{{#var:base skill 1 en name|{{{base skill 1}}}}}; | | Has charge skill multiplier = {{{charge skill multiplier|0}}} | ||
| Has base skill ={{#if:{{{base skill 2|}}}|{{#var:base skill 2 subobj|-}};1;{{{base skill 2}}};{{#var:base skill 2 en name|{{{base skill 2}}}}}; | | Has charge skill weapon type = {{#var:charge skill weapon}} | ||
| Has base skill ={{#if:{{{base skill 3|}}}|{{#var:base skill 3 subobj|-}};2;{{{base skill 3}}};{{#var:base skill 3 en name|{{{base skill 3}}}}}; | | Has species = {{{species|}}} | ||
| Has base skill ={{#if:{{{base skill 4|}}}|{{#var:base skill 4 subobj|-}};3;{{{base skill 4}}};{{#var:base skill 4 en name|{{{base skill 4}}}}};{{# | | Has sex = {{{sex|}}} | ||
| Has | | Has gate = {{Gate|{{{gate|Unknown}}}|format=name}} | ||
| Has summon date = {{#var:summon date}} | |||
| Has weight = {{#var:weight}} | |||
| Has height = {{#var:height}} | |||
| Has guild = {{#var:guild}} | |||
| Has school = {{#var:school}} | |||
| Has group = {{#var:group}} | |||
| Has release date = {{#var:release date}} | |||
| Has release version = {{#var:release version}} | |||
| Has base skill ={{#if:{{{base skill 1|}}}|{{#var:base skill 1 subobj|-}};0;{{{base skill 1}}};{{#var:base skill 1 en name|{{{base skill 1}}}}};[?] ? / ?%;[?] ? / ?%;{{{base skill 1 id}}}}} | |||
| Has base skill ={{#if:{{{base skill 2|}}}|{{#var:base skill 2 subobj|-}};1;{{{base skill 2}}};{{#var:base skill 2 en name|{{{base skill 2}}}}};[?] ? / ?%;[?] ? / ?%;{{{base skill 2 id}}}}} | |||
| Has base skill ={{#if:{{{base skill 3|}}}|{{#var:base skill 3 subobj|-}};2;{{{base skill 3}}};{{#var:base skill 3 en name|{{{base skill 3}}}}};[?] ? / ?%;[?] ? / ?%;{{{base skill 3 id}}}}} | |||
| Has base skill ={{#if:{{{base skill 4|}}}|{{#var:base skill 4 subobj|-}};3;{{{base skill 4}}};{{#var:base skill 4 en name|{{{base skill 4}}}}};[?] ? / ?%;[?] ? / ?%;{{{base skill 4 id}}}}} | |||
| Has evolved skill = {{#arrayprint:base skill 1 evo|;|@@@@|[[@@@@]]}}|+sep=; | |||
| Has evolved skill = {{#arrayprint:base skill 2 evo|;|@@@@|[[@@@@]]}}|+sep=; | |||
| Has evolved skill = {{#arrayprint:base skill 3 evo|;|@@@@|[[@@@@]]}}|+sep=; | |||
| Has evolved skill = {{#arrayprint:base skill 4 evo|;|@@@@|[[@@@@]]}}|+sep=; | |||
| Has charge skill ={{{charge skill name|}}};{{{charge skill jp name|}}};-;{{#var:charge skill weapon}};{{{charge skill id|}}} | |||
| Has illustrator ={{#if:{{{illustrator|}}}| | | Has illustrator ={{#if:{{{illustrator|}}}| | ||
{{#vardefine:counter|0}} | {{#vardefine:counter|0}} | ||
Line 401: | Line 538: | ||
}} | }} | ||
}}<!-- end subobject | }}<!-- end subobject | ||
-->{{#css: | -->{{#ifeq:{{#var:transientnumber}}|0|{{#css: | ||
div.transient-infobox { | div.transient-infobox { | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
Line 409: | Line 546: | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
border-spacing: 0px; | border-spacing: 0px; | ||
-webkit-text-size-adjust: none; | |||
-moz-text-size-adjust: none; | |||
-ms-text-size-adjust: none; | |||
} | |||
div.transient-container > .footer { | |||
text-align: center; | |||
padding-left: 75px; | |||
} | } | ||
Line 423: | Line 567: | ||
} | } | ||
div.transient-infobox > div > .header .caption { | div.transient-infobox > div > .header .icon > img { | ||
padding: 1%; | |||
} | |||
div.transient-infobox > div > .header .weapon-attribute { | |||
<!-- position: relative; | |||
top: -27px;--> | |||
display: flex; | |||
} | |||
<!-- | |||
div.transient-infobox > div > .header .weapon-attribute > img { | |||
position: absolute; | |||
} | |||
--> | |||
<!--div.transient-infobox > div > -->.header .caption { | |||
color: #000000; | color: #000000; | ||
font-size: 1.5em; | font-size: 1.5em; | ||
text-align: center; | text-align: center; | ||
vertical-align: middle; | vertical-align: middle; | ||
width: | width: 86.5%; | ||
} | } | ||
div.transient-infobox > div > .header .caption > .name { | <!--div.transient-infobox > div > -->.header .caption > .name { | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
div.transient-infobox > div > .header .caption > .sub { | <!--div.transient-infobox > div > -->.header .caption > .sub { | ||
font-size: 0.8em; | font-size: 0.8em; | ||
} | } | ||
Line 442: | Line 601: | ||
clear: both; | clear: both; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
width: 99%; | |||
} | } | ||
Line 470: | Line 630: | ||
border-top: 2px solid #f9f9f9; | border-top: 2px solid #f9f9f9; | ||
border-right: 2px solid #f9f9f9; | border-right: 2px solid #f9f9f9; | ||
min-width: 100px; | |||
} | } | ||
Line 562: | Line 723: | ||
/* all, demon, none */ | /* all, demon, none */ | ||
div.all > .header, | div.all > .header, | ||
div.all-round | div.all-round > .header { | ||
background-color: #d4d4d4; | background-color: #d4d4d4; | ||
} | } | ||
Line 574: | Line 734: | ||
div.all > .body .data tr > th, | div.all > .body .data tr > th, | ||
div.all-round | div.all-round > .body .data tr > th { | ||
background-color: #dcdcdc; | background-color: #dcdcdc; | ||
} | } | ||
Line 587: | Line 746: | ||
div.all > .body .data tr > th + th, | div.all > .body .data tr > th + th, | ||
width: 100px; | width: 100px; | ||
div.all-round | div.all-round > .body .data tr > th + th { | ||
width: 100px; | width: 100px; | ||
background-color: #e3e3e3; | background-color: #e3e3e3; | ||
Line 633: | Line 790: | ||
width: 100px; | width: 100px; | ||
background-color: #ffde9f; | background-color: #ffde9f; | ||
} | |||
/* infinity */ | |||
div.infinity > .header { | |||
background-color: #faa357; | |||
} | |||
div.infinity > .body .data tr > th { | |||
background-color: #f2af74; | |||
} | |||
div.infinity > .body .data tr > th + th { | |||
width: 100px; | |||
background-color: #fccb9f; | |||
} | |||
/* zero */ | |||
div.zero > .header { | |||
background-color: #f488cb; | |||
} | |||
div.zero > .body .data tr > th { | |||
background-color: #f7a6d8; | |||
} | |||
div.zero > .body .data tr > th + th { | |||
width: 100px; | |||
background-color: #fcbde4; | |||
} | |||
/* god */ | |||
div.god > .header { | |||
background-color: #32b4b4; | |||
} | |||
div.god > .body .data tr > th { | |||
background-color: #55C9C9; | |||
} | |||
div.god > .body .data tr > th + th { | |||
width: 100px; | |||
background-color: #85E0E0; | |||
} | |||
/* none */ | |||
div.none > .header { | |||
background-color: #696969; | |||
} | |||
div.none > .body .data tr > th { | |||
background-color: #696969; | |||
} | |||
div.none > .body .data tr > th + th { | |||
width: 100px; | |||
background-color: #696969; | |||
} | } | ||
Line 646: | Line 859: | ||
width: 100%; | width: 100%; | ||
} | } | ||
div.tabs > | div.tabs > span { | ||
display: inline-block; | display: inline-block; | ||
padding: 0px 10px 0px 10px; | padding: 0px 10px 0px 10px; | ||
text-align: center; | text-align: center; | ||
margin: 4px; | margin: 4px; | ||
} | } | ||
.transientBox { | |||
position: absolute; | |||
right: 0; | |||
display: inline-block; | |||
<!--width: 320px;--> | |||
border: #aaa 1px solid; | |||
padding: 18px; | |||
background-color: #f9f9f9; | |||
max-width: 640px; | |||
} | |||
.spriteSelector { | |||
width: 100%; | |||
display: block; | |||
} | |||
.transientBox > * > .artwork > img { | |||
height: 452px; | |||
width: auto; | |||
} | |||
.transientBox > * > .body > .data { | |||
width: 100%; | |||
} | |||
@media only screen and (max-width: 1760px) { | |||
.transientBox { | |||
position: unset; | |||
right: unset; | |||
margin-bottom: 10px; | |||
} | |||
} | } | ||
}} | }} | ||
<div class="transient-infobox" id="transient{{#var:transientnumber}}"> | }} | ||
{{#ifeq:{{#var:transientnumber}}|0|<div class="tabs"></div>}} | {{#ifeq:{{#var:transientnumber}}|0|<h2>Transient Information</h2><div class='transientBox'><div class="tabs"></div></div>}}<div class="transient-infobox" id="transient{{#var:transientnumber}}"> | ||
<div class="transient-container {{#ifeq:{{#var:energy}}|?|none|{{lc:{{Energy|{{#var:energy}}}}}}}} transient{{#var:transientnumber}}"> | {{#ifeq:{{#var:transientnumber}}|0|<!--div class="tabs"></div-->}} | ||
<div class="transient-container {{#ifeq:{{#var:energy}}|?|none|{{lc:{{Energy|{{#var:energy}}}}}}}} transient{{#var:transientnumber}}" data-id="{{#var:transient id|}}"> | |||
<div class="header"> | <div class="header"> | ||
<table> | <table> | ||
<tr> | <tr> | ||
{{#if:{{#var:transient cdn icon|}}||{{#vardefine:transient cdn icon|{{{cdn icon|}}}}}}} | {{#if:{{#var:transient cdn icon|}}||{{#vardefine:transient cdn icon|{{{cdn icon|}}}}}}} | ||
<td class="icon">{{#if:{{#var:transient no cdn|}}|[[File:{{{icon}}}.png|60px]]|{{#if:{{#var:transient cdn icon|}}|{{#tag:mediator|{{#var:transient cdn icon|}}|width=60|height=60}}|{{#ifexist:File:{{{icon|}}}.png|[[File:{{{icon}}}.png|60px]]|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|[[File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|60px]]|{{#ifexist:File:{{{en name}}}_{{{rarity}}}star_icon.png|[[File:{{{en name}}}_{{{rarity}}}star_icon.png|60px]]|[[File:Unknown icon.png|60px]]}}}}}}}}}}</td>{{#vardefine:transient cdn icon|}} | <td class="icon transient{{#var:transientnumber}}">{{#if:{{#var:transient no cdn|}}|[[File:{{{icon}}}.png|60px]]|{{#if:{{#var:transient cdn icon|}}|{{#tag:mediator|{{#var:transient cdn icon|}}|width=60|height=60|loading=lazy}}|{{#ifexist:File:{{{icon|}}}.png|[[File:{{{icon}}}.png|60px]]|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|[[File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|60px]]|{{#ifexist:File:{{{en name}}}_{{{rarity}}}star_icon.png|[[File:{{{en name}}}_{{{rarity}}}star_icon.png|60px]]|[[File:Unknown icon.png|60px]]}}}}}}}}}}</td>{{#vardefine:transient cdn icon|}} | ||
<td class="caption"> | <td class="weapon-attribute">{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/ui/button/{{#var:energy filename|ui_button_elm_none}}.png|width=60|height=60|loading=lazy}}{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon/icon_weapon_{{#var:weapon type filename|nothing}}.png|width=60|height=60|loading=lazy}}</td><td class="caption"> | ||
<div class="name">[{{#if:{{{en title|}}}|{{#if:{{{jp-en title|}}}|<u><span title="{{{jp-en title|}}}">{{{en title}}}</span></u>|{{{en title}}}}}|?}}] {{#if:{{{id|}}}|[https://app.housamo.xyz/cards/{{{id}}}/ {{{en name|?}}}]|{{{en name|?}}}}}</div> | <div class="name">[{{#if:{{{en title|}}}|{{#if:{{{jp-en title|}}}|<u><span title="{{{jp-en title|}}}">{{{en title}}}</span></u>|{{{en title}}}}}|?}}] {{#if:{{{id|}}}|[https://app.housamo.xyz/cards/{{{id}}}/ {{{en name|?}}}]|{{{en name|?}}}}}<!--{{#ifeq:{{{surname|―}}}|―||{{{surname}}}}}--></div> | ||
<div class="sub">【{{#if:{{{jp title|}}}|{{{jp title}}}|?}}】{{#if:{{{jp name|}}}|{{{jp name}}}|{{#ifeq: {{#var:availability}} | Unobtainable | |?}}}}</div> | <div class="sub">【{{#if:{{{jp title|}}}|{{{jp title}}}|?}}】{{#if:{{{jp name|}}}|{{#ifeq:{{{surname|―}}}|―||{{{surname}}}}}{{{jp name}}}|{{#ifeq: {{#var:availability}} | Unobtainable | |?}}}}</div> | ||
</td> | </td> | ||
{{#if:{{{extended|}}}|<td><div class="extended">[[File:sprite_btn_favorite_on.png|Using the extended template]]</div></td>}} | <!--{{#if:{{{extended|}}}|<td><div class="extended">[[File:sprite_btn_favorite_on.png|Using the extended template]]</div></td>}}--> | ||
{{#ifeq:{{Weapon type|{{#var:weapon type}}}}|?| | | |||
<td rowspan="2" style="width:50px; padding: 0px;">{{#ifexist:File:Weapon_Spread_{{Weapon type|{{#var:weapon type}}}}.png|[[File:Weapon_Spread_{{Weapon type|{{#var:weapon type}}}}.png|50px|link={{Weapon type|{{#var:weapon type}}}}]]|}}</td> | |||
}} | |||
</tr> | </tr> | ||
</table> | </table> | ||
Line 679: | Line 920: | ||
<tr> | <tr> | ||
{{#if:{{#var:transient cdn artwork|}}||{{#vardefine:transient cdn artwork|{{{cdn artwork|}}}}}}} | {{#if:{{#var:transient cdn artwork|}}||{{#vardefine:transient cdn artwork|{{{cdn artwork|}}}}}}} | ||
<td><div class="artwork">{{#if:{{#var:transient no cdn|}}|[[File:{{{artwork}}}.png]]|{{#if:{{#var:transient cdn artwork|}}|{{#tag:mediator|{{#var:transient cdn artwork|}}}}|{{#ifexist:File:{{{artwork|}}}.png|[[File:{{{artwork}}}.png]]|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|[[File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png]]|No artwork uploaded.}}|}}|}}}}</div>{{#vardefine:transient cdn artwork|}} | <td><div class="transient{{#var:transientnumber}} {{#ifeq:{{#var:energy}}|?|none|{{lc:{{Energy|{{#var:energy}}}}}}}}"><div class="header"></div><div class="artwork">{{#if:{{#var:transient no cdn|}}|[[File:{{{artwork}}}.png]]|{{#if:{{#var:transient cdn artwork|}}|{{#tag:mediator|{{#var:transient cdn artwork|}}|loading=lazy}}|{{#ifexist:File:{{{artwork|}}}.png|[[File:{{{artwork}}}.png]]|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|[[File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png]]|No artwork uploaded.}}|}}|}}}}</div><div class="body" data-chara-a="{{{chara id|}}}" data-chara-b="{{#var:transient chara id|}}"></div></div>{{#vardefine:transient cdn artwork|}} | ||
</td> | </td> | ||
{{#ifeq: {{{acquisition|}}}|Skin|| | {{#ifeq: {{{acquisition|}}}|Skin|| | ||
<td> | <td> | ||
<table class="data"> | <table class="data"> | ||
<tr> | <tr> | ||
<!--<th>Acquisition</th> | |||
<td>{{{acquisition|?}}}</td>--> | |||
{{#if: {{{variant|}}} | {{#ifeq: {{lc:{{{variant}}}}} | standard | | | |||
<th>Variant</th> | <th>Variant</th> | ||
<td>{{{variant| | <td>{{Event link|{{{variant|}}}|unit={{{en name|}}}}}</td> | ||
}} | }} | ||
}} | }} | ||
</tr> | |||
<tr> | |||
{{#ifeq: {{{rarity|0}}} | 0 || | {{#ifeq: {{{rarity|0}}} | 0 || | ||
<th>[[Rarity]]</th> | |||
<th>Rarity</th> | |||
<td>{{{rarity}}}</td> | <td>{{{rarity}}}</td> | ||
}} | }} | ||
{{#ifeq: {{{cost|0}}} | 0 || | {{#ifeq: {{{cost|0}}} | 0 || | ||
<th>[[Cost]]</th> | |||
<th>Cost</th> | |||
<td>{{{cost}}}</td> | <td>{{{cost}}}</td> | ||
}} | }} | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th> | <th>[[HP]]</th> | ||
<td>{{{ | <td>{{{hp|?}}}+{{{hp growth|?}}}*(Lv-1)</td> | ||
<th>[[ATK]]</th> | |||
<td>{{{atk|?}}}+{{{atk growth|?}}}*(Lv-1)</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th>HP</th> | <th>HP @ Lv {{#var:max lv|}}</th> | ||
<td>{{{hp| | <td>{{#expr: {{{hp|0}}}+{{{hp growth|0}}}*({{#var:max lv|0}}-1) }}</td> | ||
<th>ATK @ Lv {{#var:max lv|}}</th> | |||
<td>{{#expr: {{{atk|0}}}+{{{atk growth|0}}}*({{#var:max lv|0}}-1) }}</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th>ATK</th> | <th>{{Tooltip|Max HP|+20 Lv, +2000 HP}}</th> | ||
<td>{{{atk| | <td>{{#expr: {{{hp|0}}}+{{{hp growth|0}}}*({{#var:max lv|0}}+20-1) + 2000 }}</td> | ||
<th>{{Tooltip|Max ATK|+20 Lv, +2000 ATK}}</th> | |||
<td>{{#expr: {{{atk|0}}}+{{{atk growth|0}}}*({{#var:max lv|0}}+20-1) + 2000 }}</td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
<table class="data"> | <table class="data"> | ||
<!-- | |||
<tr> | <tr> | ||
{{#ifeq:{{Energy|{{#energy}}}}|?| | | {{#ifeq:{{Energy|{{#var:energy}}}}|?| | | ||
<th>Energy</th> | <th>Energy</th> | ||
<td>{{Energy|{{#var:energy}}}}</td> | <td>{{Energy|{{#var:energy}}}}</td> | ||
Line 754: | Line 978: | ||
</tr> | </tr> | ||
}} | }} | ||
--> | |||
</table> | </table> | ||
<!--{{#if: {{#var:base skill 1 subobj|}} | i dont remember if i did this part uncommented when first adding card skins--> | <!--{{#if: {{#var:base skill 1 subobj|}} | i dont remember if i did this part uncommented when first adding card skins--> | ||
<table class="data"> | <table class="data"> | ||
<tr> | <tr> | ||
<th colspan="3"> | <th colspan="3">[[Skills]]</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
{{#if:{{{skill | <!-- {{#if: {{#var:base skill 1 subobj|}}|{{#if:{{#show: {{#var:base skill 1 subobj}} |?Has additional skills }}|<tr><th colspan="3"><b>The skill below has its additional effects viewable [[{{#show: {{#var:base skill 1 subobj}} |?Has additional skills }}|here]].</b></th></tr>}}}}--> | ||
<tr> | <tr> | ||
< | <th data-spread="{{#var:base skill 1 range|0 0 0 0}}">{{#if: {{#var:base skill 1 subobj|}} | [[{{#var:base skill 1 subobj|}}|{{#var:base skill 1 en name|{{{base skill 1}}} }}]] | {{#if:{{{base skill 1|}}}|[[{{{base skill 1}}}]] ({{{base skill 1 id|}}}){{#ifeq:{{#var:availability|}}|Current|[[Category:Transients with missing skill pages]]}}|?}} }}</th> | ||
<td>{{#var:base skill 1 desc| ? }}</td> | |||
<td>{{# | |||
</tr> | </tr> | ||
<!-- {{#if: {{#var:base skill 2 subobj|}}|{{#if:{{#show: {{#var:base skill 2 subobj}} |?Has additional skills }}|<tr><th colspan="3"><b>The skill below has its additional effects viewable [[{{#show: {{#var:base skill 2 subobj}} |?Has additional skills }}|here]].</b></th></tr>}}}}--> | |||
<tr> | <tr> | ||
< | <th data-spread="{{#var:base skill 2 range|0 0 0 0}}">{{#if: {{#var:base skill 2 subobj|}} | [[{{#var:base skill 2 subobj|}}|{{#var:base skill 2 en name|{{{base skill 2}}} }}]] | {{#if:{{{base skill 2|}}}|[[{{{base skill 2}}}]] ({{{base skill 2 id|}}}){{#ifeq:{{#var:availability|}}|Current|[[Category:Transients with missing skill pages]]}}|?}} }}</th> | ||
<td>{{#var:base skill 2 desc| ? }}</td> | |||
<td>{{#var:base skill | |||
</tr> | </tr> | ||
}} | <!-- {{#if: {{#var:base skill 3 subobj|}}|{{#if:{{#show: {{#var:base skill 3 subobj}} |?Has additional skills }}|<tr><th colspan="3"><b>The skill below has its additional effects viewable [[{{#show: {{#var:base skill 3 subobj}} |?Has additional skills }}|here]].</b></th></tr>}}}}--> | ||
{{#if:{{{skill | |||
<tr> | <tr> | ||
< | <th data-spread="{{#var:base skill 3 range|0 0 0 0}}">{{#if: {{#var:base skill 3 subobj|}} | [[{{#var:base skill 3 subobj|}}|{{#var:base skill 3 en name|{{{base skill 3}}} }}]] | {{#if:{{{base skill 3|}}}|[[{{{base skill 3}}}]] ({{{base skill 3 id|}}}){{#ifeq:{{#var:availability|}}|Current|[[Category:Transients with missing skill pages]]}}|?}} }}</th> | ||
<td>{{#var:base skill 3 desc| ? }}</td> | |||
<td>{{# | |||
</tr> | </tr> | ||
<!-- {{#if: {{#var:base skill 4 subobj|}}|{{#if:{{#show: {{#var:base skill 4 subobj}} |?Has additional skills }}|<tr><th colspan="3"><b>The skill below has its additional effects viewable [[{{#show: {{#var:base skill 4 subobj}} |?Has additional skills }}|here]].</b></th></tr>}}}}--> | |||
<tr> | <tr> | ||
< | <th data-spread="{{#var:base skill 4 range|0 0 0 0}}">{{#if: {{#var:base skill 4 subobj|}} | [[{{#var:base skill 4 subobj|}}|{{#var:base skill 4 en name|{{{base skill 4}}} }}]] | {{#if:{{{base skill 4|}}}|[[{{{base skill 4}}}]] ({{{base skill 4 id|}}}){{#ifeq:{{#var:availability|}}|Current|[[Category:Transients with missing skill pages]]}}|?}} }}</th> | ||
<td>{{#var:base skill 4 desc| ? }}</td> | |||
<td>{{#var:base skill | |||
</tr> | </tr> | ||
}} | </table> | ||
{{#if:{{ | {{#if: {{#var:has skill evo|}} | | ||
<table class="data"> | |||
<tr> | |||
<th colspan="3">[[Skill Evolution]](s)</th> | |||
</tr> | |||
<!-- {{#if: {{#var:base skill 1 evo|}} | | |||
<tr> | <tr> | ||
<th>[[{{#var:base skill 1 evo|}}|{{#var:base skill 1 en name|{{{base skill 1}}} }} Plus]]</th> | |||
<th>{{# | <td>{{#masterdata:SkillDescription|{{#show: {{#var:base skill 1 evo}} |?Has ID}}}}</td> | ||
<td>{{#masterdata: | |||
</tr> | </tr> | ||
}} | |||
{{#if: {{#var:base skill 2 evo|}} | | |||
<tr> | <tr> | ||
< | <th>[[{{#var:base skill 2 evo|}}|{{#var:base skill 2 en name|{{{base skill 2}}} }} Plus]]</th> | ||
<td>{{#masterdata:SkillDescription|{{#show: {{#var:base skill 2 evo}} |?Has ID}}}}</td> | |||
<td>{{#var:base skill | |||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{ | {{#if: {{#var:base skill 3 evo|}} | | ||
<tr> | <tr> | ||
<th>[[{{#var:base skill 3 evo|}}|{{#var:base skill 3 en name|{{{base skill 3}}} }} Plus]]</th> | |||
<th>{{# | <td>{{#masterdata:SkillDescription|{{#show: {{#var:base skill 3 evo}} |?Has ID}}}}</td> | ||
<td>{{#masterdata: | |||
</tr> | </tr> | ||
}} | |||
{{#if: {{#var:base skill 4 evo|}} | | |||
<tr> | <tr> | ||
< | <th>[[{{#var:base skill 4 evo|}}|{{#var:base skill 4 en name|{{{base skill 4}}} }} Plus]]</th> | ||
< | <td>{{#masterdata:SkillDescription|{{#show: {{#var:base skill 4 evo}} |?Has ID}}}}</td> | ||
<td>{{# | </tr> | ||
}}--> | |||
{{#arrayprint:base skill 1 evo||@@@@ | |||
|<tr> | |||
<th>[[@@@@|{{#if:{{#show:@@@@|?Has English name}}|{{#show:@@@@|?Has English name|link=none}}|{{#show:@@@@|?Has Japanese name|link=none}}}}]]</th> | |||
<td>{{#masterdata:SkillDescription|{{formatnum:{{#show: @@@@ |?Has ID}}|R}}}}</td> | |||
</tr> | |||
}} | |||
{{#arrayprint:base skill 2 evo||@@@@ | |||
|<tr> | |||
<th>[[@@@@|{{#if:{{#show:@@@@|?Has English name}}|{{#show:@@@@|?Has English name|link=none}}|{{#show:@@@@|?Has Japanese name|link=none}}}}]]</th> | |||
<td>{{#masterdata:SkillDescription|{{formatnum:{{#show: @@@@ |?Has ID}}|R}}}}</td> | |||
</tr> | |||
}} | |||
{{#arrayprint:base skill 3 evo||@@@@ | |||
|<tr> | |||
<th>[[@@@@|{{#if:{{#show:@@@@|?Has English name}}|{{#show:@@@@|?Has English name|link=none}}|{{#show:@@@@|?Has Japanese name|link=none}}}}]]</th> | |||
<td>{{#masterdata:SkillDescription|{{formatnum:{{#show: @@@@ |?Has ID}}|R}}}}</td> | |||
</tr> | |||
}} | |||
{{#arrayprint:base skill 4 evo||@@@@ | |||
|<tr> | |||
<th>[[@@@@|{{#if:{{#show:@@@@|?Has English name}}|{{#show:@@@@|?Has English name|link=none}}|{{#show:@@@@|?Has Japanese name|link=none}}}}]]</th> | |||
<td>{{#masterdata:SkillDescription|{{formatnum:{{#show: @@@@ |?Has ID}}|R}}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
</table> | </table> | ||
}} | |||
<table class="data"> | <table class="data"> | ||
<tr> | <tr> | ||
<th colspan="3"> | <th colspan="3">{{#if:{{{charge skill name|}}}|{{#if:{{{charge skill jp-en name|}}}|<u><span title="{{{charge skill jp-en name}}}">{{#if:{{#var:charge skill subobj}}|[[{{#var:charge skill subobj}}|{{{charge skill name}}}]]|{{{charge skill name}}} ({{{charge skill id|}}})}}</span></u>|{{#if:{{#var:charge skill subobj}}|[[{{#var:charge skill subobj}}|{{{charge skill name}}}]]|{{{charge skill name}}} ({{{charge skill id|}}}){{#ifeq:{{#var:availability|}}|Current|[[Category:Transients with missing charge skill pages]]}}}}}}|?}}</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th>{{#if:{{{charge skill name|}}}|{{#if:{{{charge skill jp-en name|}}}|<u><span title="{{{charge skill jp-en name}}}">{{{charge skill name}}}</span></u>|{{{charge skill name}}}}}|?}}</th> | <!--th>{{#if:{{{charge skill name|}}}|{{#if:{{{charge skill jp-en name|}}}|<u><span title="{{{charge skill jp-en name}}}">{{{charge skill name}}}</span></u>|{{{charge skill name}}}}}|?}}</th--> | ||
<td>{{#if:{{{charge skill name|}}}|{{{charge skill description | <td>{{#if:{{{charge skill name|}}}|{{{charge skill description|?}}}|?}}</td> | ||
<td style="width:50px; padding: 0px;">[[File:Weapon Spread {{#var:charge skill weapon|}}.png|50px|link={{#var:charge skill weapon|}}]]{{#if:{{{charge skill multiplier|}}}|<br><div style='text-align:center'>{{{charge skill multiplier}}}<!--~{{#expr:2 * {{{charge skill multiplier}}}}}-->x</div>}}</td> | |||
<td style="width:50px; padding: 0px;">[[File:Weapon Spread {{#var:charge skill weapon|}}.png|50px]]{{#if:{{{charge skill multiplier|}}}|<br><div style='text-align:center'>{{{charge skill multiplier}}}x</div>}}</td> | |||
</tr> | </tr> | ||
{{#ifeq:{{#var:availability|}}|Current|<tr> | |||
<td colspan="3">{{Equippable AR Equipment|{{{en name|{{{jp name|?}}}}}};{{Weapon type|{{#var:weapon type|?}}}};{{Energy|{{#var:energy|?}}}}}}</td> | |||
</tr>}} | |||
</table> | </table> | ||
<!--}}--> | <!--}}--> | ||
<table class="data"> | <table class="data transientInfo{{#var:transientnumber}}"> | ||
<tr> | <tr> | ||
<th>Illustration</th> | <th>Illustration</th> | ||
Line 878: | Line 1,121: | ||
| —— | | —— | ||
}}</td> | }}</td> | ||
</tr> | |||
{{#if:{{{species|}}}| | |||
<tr> | |||
<th>{{Tooltip|Species|Tends to be based on the transient's skillset}}</th> | |||
<td>{{{species}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{sex|}}}| | |||
<tr> | |||
<th>{{Tooltip|Sex/Gender|As defined in the game data, might not be accurate to official localization}}</th> | |||
<td>{{#switch:{{lc:{{{sex|}}}}} | |||
| man = Male | |||
| woman = Female | |||
| 無 = None | |||
|#default = {{{sex|Unknown gender}}} | |||
}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{gate|}}}| | |||
<tr> | |||
<th>Gate</th> | |||
<td>{{#ifeq:{{{gate|}}}|Unknown|Unknown|[[{{Gate|{{{gate}}}|format=name}}]]}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{guild|}}}| | |||
<tr> | |||
<th>Guild</th> | |||
<td>{{#ifeq:{{{guild|}}}|Unknown|Unknown|{{{guild}}}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{school|}}}| | |||
<tr> | |||
<th>School</th> | |||
<td>{{#ifeq:{{{school|}}}|Unknown|Unknown|{{{school}}}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{#var:group}}| | |||
<tr> | |||
<th>Group/Affiliation</th> | |||
<td>{{Affiliation|{{#var:group}}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{#var:weight}}| | |||
<tr> | |||
<th>Weight (kg)</th> | |||
<td>{{#var:weight}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{#var:height}}| | |||
<tr> | |||
<th>Height (cm)</th> | |||
<td>{{#var:height}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{#var:summon date}}| | |||
<tr> | |||
<th>Summon Date</th> | |||
<td>{{#var:summon date}}</td> | |||
</tr> | |||
}} | |||
{{#ifeq:{{#var:release date}}|2016-12-01|<!--default value, skip-->| | |||
<tr> | |||
<th>Release Date</th> | |||
<td>{{#var:release date}} {{#ifeq:{{#var:release version}}|0.0.0|<!--default value, skip-->|(v{{#var:release version}})}}</td> | |||
</tr> | |||
}} | |||
</table> | |||
{{#if:{{#var:strategy|}}| | |||
<table class="data transientInfo{{#var:transientnumber}}"> | |||
<tr> | |||
<th colspan="3">[[{{#var:strategy}}|{{#if:{{#pos:{{#show:{{#var:strategy}}|?Category|link=none}}|Strategy pages}}|Strategy|Strategy (placeholder)}}]]</th> | |||
</tr> | |||
</table> | |||
|}} | |||
{{#if:{{#var:enemy|}}| | |||
<table class="data transientInfo{{#var:transientnumber}}"> | |||
<tr> | |||
<th colspan="3">[[{{#var:enemy}}|Enemy-only]]</th> | |||
</tr> | </tr> | ||
</table> | </table> | ||
{{# | |}} | ||
<table class="data"> | {{#ifeq:{{{partial|}}}|true| | ||
<table class="data transientInfo{{#var:transientnumber}}"> | |||
<tr> | <tr> | ||
<th colspan="3"> | <th colspan="3">Partial Entry</th> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Line 891: | Line 1,213: | ||
</tr> | </tr> | ||
</table> | </table> | ||
{{#if:{{{skin artwork|}}}|{{#tag:galleryscript|{{#ifexist:File:{{{artwork|}}}.png|{{{artwork}}}|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full|}}}};{{{skin artwork|}}}|number={{#var:transientnumber}}}}|}} | <div class="footer"></div> | ||
{{#if:{{{cdn skin artwork|}}}|{{#tag:masterdataskins|{{{cdn skin artwork|}}}|voice={{#var:transient voice filename|}}|selector-fg= | <div>{{#if:{{{skin artwork|}}}|{{#tag:galleryscript|{{#ifexist:File:{{{artwork|}}}.png|{{{artwork}}}|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full|}}}};{{{skin artwork|}}}|number={{#var:transientnumber}}}}|}} | ||
</div></div><!-- | {{#if:{{{cdn skin artwork|}}}|{{#tag:masterdataskins|{{{cdn skin artwork|}}}|selector-chara-relations=#charaRelations{{{chara id|0}}}|voice={{#var:transient voice filename|}}|selector-fg=div.transient{{#var:transientnumber}} > .artwork > img|selector-icon=td.icon.transient{{#var:transientnumber}} > img|flags={{#var:transient voice condition|}}}}{{#vardefine:transient voice filename|}}{{#vardefine:transient voice condition|}}|}}</div> | ||
</div></div>{{#ifexpr:{{{charge skill id|0}}}>0|{{#masterdata:Skill|{{{charge skill id|0}}}|format=blank}}}}{{#arraydefine:base skill 1 evo|}}{{#arraydefine:base skill 2 evo|}}{{#arraydefine:base skill 3 evo|}}{{#arraydefine:base skill 4 evo|}}{{#vardefine:has skill evo|}}<!-- | |||
auto categorization | auto categorization | ||
Line 909: | Line 1,232: | ||
<!--species--> | <!--species--> | ||
[[Category:{{#if:{{{species|}}}|{{{species}}}|Unknown species}} transients]] | [[Category:{{#if:{{{species|}}}|{{{species}}}|Unknown species}} transients]] | ||
<!--gate--> | |||
{{#if:{{{gate|}}}|[[Category:Transients from {{Gate|{{{gate}}}|use-name=true}}]]}} | |||
<!--sex--> | <!--sex--> | ||
[[Category:{{#switch:{{lc:{{{sex|}}}}} | [[Category:{{#switch:{{lc:{{{sex|}}}}} | ||
| man = Male | | man = Male | ||
| woman = Female | | woman = Female | ||
| 無 | none = Unknown gender | |||
|#default = {{{sex|Unknown gender}}} | |#default = {{{sex|Unknown gender}}} | ||
}} transients]] | }} transients]] | ||
Line 929: | Line 1,255: | ||
|titlemode=replace | |titlemode=replace | ||
|keywords=tokyo,afterschool,summoners,housamo,wiki,東京放課後サモナーズ,放サモ,{{{jp name|}}},{{{en name|}}} | |keywords=tokyo,afterschool,summoners,housamo,wiki,東京放課後サモナーズ,放サモ,{{{jp name|}}},{{{en name|}}} | ||
|description={{Star | |description={{Star}}{{{rarity|0}}}, {{Energy|{{#var:energy}}}}-typed {{Weapon type|{{#var:weapon type}}}} unit. | ||
|og:image={{filepath:{{#ifexist:File:{{{icon|}}}.png|{{{icon}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{#ifexist:File:{{{en name}}}_{{{rarity}}}star_icon.png|{{{en name}}}_{{{rarity}}}star_icon.png|}}}}}}}} | |og:image={{filepath:{{#ifexist:File:{{{icon|}}}.png|{{{icon}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{#ifexist:File:{{{en name}}}_{{{rarity}}}star_icon.png|{{{en name}}}_{{{rarity}}}star_icon.png|}}}}}}}} | ||
|og:title={{{en name|{{{jp name|}}}}}} - Tokyo Afterschool Summoners Wiki | |og:title={{{en name|{{{jp name|}}}}}} - Tokyo Afterschool Summoners Wiki | ||
}}}}}}</includeonly><noinclude> | }}}}}}</includeonly><noinclude>{{Documentation}}</noinclude> | ||
</noinclude> |
Latest revision as of 12:20, 14 July 2024
Description
This templates creates an infobox and subobject for a Transient. Please do not directly invoke this template.
An example to feed override parameters (such as translation names) are:
{{#vardefine:transient en name|Name}} {{#vardefine:transient en title|Title}} {{#vardefine:transient availability|Available}} {{#vardefine:transient acquisition|Gacha}} {{#vardefine:transient en jingi|Charge Skill Name}} {{#vardefine:transient species|Species}} {{#vardefine:transient en group|Affiliation Name}} {{#vardefine:transient gate|Gate Name}} {{#vardefine:transient jp en research file|Translation for Japanese Research File}} {{#vardefine:transient release date|2016-12-01}} {{#vardefine:transient release version|1.0.0}} {{#vardefine:transient height|166}} {{#vardefine:transient weight|96}} {{#vardefine:transient summon date|8/7}}
To invoke this template properly, use (after the vardefines):
{{#masterdata:Card|CARDID}}
Example:
Example
[Burning Jotunn] [1]
【黒炎の巨人】スルト
|
|
Research Files
| ||
| ||
|
Relation | From Others | To Others | |
---|---|---|---|
Like | → | → | |
Dislike | → | → |
Consult other transient pages for additional undocumented options.
The above documentation is transcluded from Template:Transient extended infobox/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. |