Difference between revisions of "Template:Transient extended infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(Undo revision 50464 by SurtrFan8511 (talk))
Tag: Undo
 
(224 intermediate revisions by 5 users not shown)
Line 11: Line 11:
| 7 | 英雄 | hero | valiant = 英雄
| 7 | 英雄 | hero | valiant = 英雄
| 8 | 世界 | world = 世界
| 8 | 世界 | world = 世界
| 9 | | none =
| 9 | 無限 | infinity | infinite | mugen = 無限
| 10 | 零 | zero | null =
|#default = ?
|#default = ?
}}
}}
Line 25: Line 26:
| 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 | 無し = none
| 0 | 無し = 無し
| 9 | 無 = none
| 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}}
| 全 = none
| 火 = fire
| 水 = water
| 木 = earth
| 天 = light
| 冥 = dark
| 魔 = evil
| 英雄 = hero
| 世界 = world
| 無限 = infinity
| 零 = zero
| #default = none
}}
}}


{{#vardefine:availability|{{#switch:{{lc:{{{availability|}}}}}
{{#vardefine:availability|{{#switch:{{lc:{{{availability|}}}}}
Line 37: Line 70:
| unobtainable = Unobtainable
| unobtainable = Unobtainable
| scheduled = Scheduled
| scheduled = Scheduled
| enemy = Enemy
| current
| current
|#default = Current
|#default = Current
Line 107: Line 141:
}}
}}


{{#arraydefine:voice actor|{{{voice actor|}}}|;}}
{{#arraydefine:voice actor|{{#replace:{{{voice actor|}}}|,|;}}|;}}


{{#vardefine:counter|0}}
{{#vardefine:counter|0}}
Line 124: Line 158:
   }}
   }}
   {{#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 185:
  |{{#ask:
  |{{#ask:
   [[Has game context::Skill]]
   [[Has game context::Skill]]
   [[Has Japanese name::{{{base skill 1}}}]]
   [[Has ID::{{{base skill 1 id}}}]]
   [[Has effect ID::1]]
   [[Has effect ID::1]]
   |link=none
   |link=none
Line 150: Line 193:
   }}  
   }}  
  }}
  }}
}}
{{#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 203:
  {{#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 |sep=<br> }}
  |{{#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|}}
Line 170: Line 229:
  }}
  }}
}}
}}
 
-->
{{#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 Japanese name::{{{base skill 2}}}]]
   [[Has ID::{{{base skill 2 id}}}]]
   [[Has effect ID::1]]
   [[Has effect ID::1]]
   |link=none
   |link=none
Line 183: Line 242:
   }}  
   }}  
  }}
  }}
}}
{{#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 254:
  }}
  }}
}}
}}
{{#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 |sep=<br>}}
  |{{#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|}}
Line 202: Line 277:
  }}
  }}
}}
}}
 
-->
{{#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 Japanese name::{{{base skill 3}}}]]
   [[Has ID::{{{base skill 3 id}}}]]
   [[Has effect ID::1]]
   [[Has effect ID::1]]
   |link=none
   |link=none
Line 215: Line 290:
   }}  
   }}  
  }}
  }}
}}
{{#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 222: Line 302:
  }}
  }}
}}
}}
{{#vardefine:base skill 3 range|
{{#if: {{#var:base skill 3 subobj|}}
|{{#show: {{#var:base skill 3 subobj}} |?Has range }}
}}
}}


{{#vardefine:base skill 3 desc|
{{#vardefine:base skill 3 desc|
{{#if: {{#var:base skill 3 subobj|}}
<!--
{{#if: {{#var:base skill 3 subobj|}}
  |{{#show: {{#var:base skill 3 subobj}} |?Has preformatted English description |sep=<br>}}
  |{{#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|}}
Line 234: Line 325:
  }}
  }}
}}
}}
 
-->
{{#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 Japanese name::{{{base skill 4|}}}]]
   [[Has ID::{{{base skill 4 id}}}]]
   [[Has effect ID::1]]
   [[Has effect ID::1]]
   |link=none
   |link=none
Line 253: Line 344:
  |{{#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 |sep=<br>}}
  |{{#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|}}
Line 266: Line 372:
  }}
  }}
}}
}}
<!--
-->
 
{{#vardefine:charge skill subobj|
{{#vardefine:charge skill subobj|
  {{#if: {{{cs|}}}
  {{#if: {{{charge skill id|}}}
  |{{#ask:
  |{{#ask:
   [[Has game context::Skill]]
   [[Has game context::Skill]]
   [[Has ID::{{{cs|}}}]]
   [[Has ID::{{{charge skill id|}}}]]
   [[Has effect ID::1]]
   [[Has effect ID::1]]
   |link=none
   |link=none
Line 281: Line 388:
}}
}}


{{#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 399:
  }}
  }}
}}
}}
 
<!--
{{#vardefine:charge skill raw desc|
{{#vardefine:charge skill raw desc|
  {{#if: {{#var:charge skill subobj|}}
  {{#if: {{#var:charge skill subobj|}}
Line 298: Line 405:
  }}
  }}
}}
}}
-->
-->
-->
{{#vardefine:base skill 1 jp-en name|
{{#vardefine:base skill 1 jp-en name|
Line 333: Line 441:
}}
}}
{{#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 461:
| Has game context = Transient
| Has game context = Transient
| Has ID = {{#var:transient id|}}
| Has ID = {{#var:transient id|}}
| Has character ID = {{{chara id|{{#var:transient 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 469:
| 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 485:
| 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 charge skill multiplier = {{{charge skill multiplier|0}}}
| Has charge skill weapon type = {{#var:charge skill weapon}}
| Has species = {{{species|}}}
| Has species = {{{species|}}}
| Has sex = {{{sex|}}}
| Has sex = {{{sex|}}}
| Has gate = {{{gate|}}}
| Has gate = {{Gate|{{{gate|Unknown}}}|format=name}}
| 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}}}}};{{#var:base skill 1 desc|[?] ? / ?%}};{{#var:base skill 1 raw desc|[?] ? / ?%}}}}
| Has summon date = {{#var:summon date}}
| 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}}}}};{{#var:base skill 2 desc|[?] ? / ?%}};{{#var:base skill 2 raw desc|[?] ? / ?%}}}}
| Has weight = {{#var:weight}}
| 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}}}}};{{#var:base skill 3 desc|[?] ? / ?%}};{{#var:base skill 3 raw desc|[?] ? / ?%}}}}
| Has height = {{#var:height}}
| 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}}}}};{{#var:base skill 4 desc|[?] ? / ?%}};{{#var:base skill 4 raw desc|[?] ? / ?%}}}}
| Has guild = {{#var:guild}}
| Has charge skill ={{{charge skill name|}}};{{{charge skill jp name|}}};{{{charge skill description|}}};{{#var:charge skill weapon}}
| 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 404: Line 536:
}}
}}
}}<!-- end subobject
}}<!-- end subobject
-->{{#css:
-->{{#ifeq:{{#var:transientnumber}}|0|{{#css:
div.transient-infobox {
div.transient-infobox {
     background-color: #f9f9f9;
     background-color: #f9f9f9;
Line 412: Line 544:
     border: 1px solid #aaa;
     border: 1px solid #aaa;
     border-spacing: 0px;
     border-spacing: 0px;
     margin: 30px;
     -webkit-text-size-adjust: none;
     float: right;
     -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
}
}


Line 419: Line 552:
   text-align: center;
   text-align: center;
   padding-left: 75px;
   padding-left: 75px;
}
@media only screen and (max-width: 1100px) {
    div.transient-infobox {
        width: 90%;
        float: left;
    }
}
}


Line 443: Line 569:
}
}


div.transient-infobox > div > .header .icon > .weapon-attribute {
div.transient-infobox > div > .header .weapon-attribute {
    position: relative;
    top: -27px;
}
 
 
div.transient-infobox > div > .header .weapon-attribute > img {
     position: absolute;
     position: absolute;
}
}


div.transient-infobox > div > .header .caption {
<!--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: 78.5%;
     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 466: Line 598:
     clear: both;
     clear: both;
     border-collapse: collapse;
     border-collapse: collapse;
    width: 99%;
}
}


Line 494: Line 627:
     border-top: 2px solid #f9f9f9;
     border-top: 2px solid #f9f9f9;
     border-right: 2px solid #f9f9f9;
     border-right: 2px solid #f9f9f9;
    min-width: 100px;
}
}


Line 586: Line 720:
/* all, demon, none */
/* all, demon, none */
div.all > .header,
div.all > .header,
div.all-round > .header,
div.all-round > .header {
div.none > .header {
     background-color: #d4d4d4;
     background-color: #d4d4d4;
}
}
Line 598: Line 731:


div.all > .body .data tr > th,
div.all > .body .data tr > th,
div.all-round > .body .data tr > th,
div.all-round > .body .data tr > th {
div.none > .body .data tr > th {
     background-color: #dcdcdc;
     background-color: #dcdcdc;
}
}
Line 611: Line 743:
div.all > .body .data tr > th + th,
div.all > .body .data tr > th + th,
     width: 100px;
     width: 100px;
div.all-round > .body .data tr > th + th,
div.all-round > .body .data tr > th + th {
    width: 100px;
div.none > .body .data tr > th + th {
     width: 100px;
     width: 100px;
     background-color: #e3e3e3;
     background-color: #e3e3e3;
Line 657: Line 787:
     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;
}
/* 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 675: Line 847:
   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|}}
     <div class="weapon-attribute"></div>
     <td class="weapon-attribute">{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/ui/button/ui_button_elm_{{#var:energy filename|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">
    <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}}}}}|?}}]&nbsp; {{#if:{{{id|}}}|[https://app.housamo.xyz/cards/{{{id}}}/ {{{en name|?}}}]|{{{en name|?}}}}}<!--{{#ifeq:{{{surname|―}}}|―||{{{surname}}}}}--></div>
     <div class="name">[{{#if:{{{en title|}}}|{{#if:{{{jp-en title|}}}|<u><span title="{{{jp-en title|}}}">{{{en title}}}</span></u>|{{{en title}}}}}|?}}]&nbsp; {{#if:{{{id|}}}|[https://app.housamo.xyz/cards/{{{id}}}/ {{{en name|?}}}]|{{{en name|?}}}}}<!--{{#ifeq:{{{surname|―}}}|―||{{{surname}}}}}--></div>
     <div class="sub">&#x3010;{{#if:{{{jp title|}}}|{{{jp title}}}|&#xFF1F;}}&#x3011;{{#if:{{{jp name|}}}|{{#ifeq:{{{surname|―}}}|―||{{{surname}}}}}{{{jp name}}}|{{#ifeq: {{#var:availability}} | Unobtainable | |&#xFF1F;}}}}</div>
     <div class="sub">&#x3010;{{#if:{{{jp title|}}}|{{{jp title}}}|&#xFF1F;}}&#x3011;{{#if:{{{jp name|}}}|{{#ifeq:{{{surname|―}}}|―||{{{surname}}}}}{{{jp name}}}|{{#ifeq: {{#var:availability}} | Unobtainable | |&#xFF1F;}}}}</div>
Line 693: Line 895:
   <!--{{#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}}}}|?| |
{{#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=Category:{{Weapon type|{{#var:weapon type}}}} transients]]|}}</td>
<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>
Line 701: Line 903:
   <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">
    <!--{{#ifeq:{{{surname|―}}}|―||
    <tr>
      <th>Surname</th>
      <td>{{{surname}}}</td>
    </tr>
    }}-->
     <tr>
     <tr>
       <th>Acquisition</th>
       <!--<th>Acquisition</th>
       <td>{{{acquisition|?}}}</td>
       <td>{{{acquisition|?}}}</td>-->
     {{#if: {{{variant|}}} | {{#ifeq: {{lc:{{{variant}}}}} | standard | {{#if:{{{gate|}}}|
     {{#if: {{{variant|}}} | {{#ifeq: {{lc:{{{variant}}}}} | standard | |
      <th>Gate</th>
      <td>{{{gate}}}</td>
    }} |
       <th>Variant</th>
       <th>Variant</th>
       <td>{{{variant|Standard}}}</td>
       <td>{{Event link|{{{variant|}}}|unit={{{en name|}}}}}</td>
     }}
     }}
     }}
     }}
Line 726: Line 919:
     <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>
    {{#if:{{{species|}}}|
      <th>[[HP]]</th>
       <th>Species</th>
      <td>{{{hp|?}}}+{{{hp growth|?}}}*(Lv-1)</td>
       <td>{{{species}}}</td>
       <th>[[ATK]]</th>
    }}
       <td>{{{atk|?}}}+{{{atk growth|?}}}*(Lv-1)</td>
    {{#if:{{{sex|}}}|
    </tr>
       <th>Gender</th>
    <tr>
       <td>{{#switch:{{lc:{{{sex|}}}}}
      <th>HP @ Lv {{#var:max lv|}}</th>
| man = Male
      <td>{{#expr: {{{hp|0}}}+{{{hp growth|0}}}*({{#var:max lv|0}}-1) }}</td>
| woman = Female
       <th>ATK @ Lv {{#var:max lv|}}</th>
|#default = {{{sex|Unknown gender}}}
       <td>{{#expr: {{{atk|0}}}+{{{atk growth|0}}}*({{#var:max lv|0}}-1) }}</td>
}}</td>
    }}
     </tr>
     </tr>
     <tr>
     <tr>
       <th>HP</th>
       <th>{{Tooltip|Max HP|+20 Lv, +2000 HP}}</th>
       <td>{{{hp|?}}} (+{{{hp growth|?}}} per level)</td>
       <td>{{#expr: {{{hp|0}}}+{{{hp growth|0}}}*({{#var:max lv|0}}+20-1) + 2000 }}</td>
       <th>ATK</th>
       <th>{{Tooltip|Max ATK|+20 Lv, +2000 ATK}}</th>
       <td>{{{atk|?}}} (+{{{atk growth|?}}} per level)</td>
       <td>{{#expr: {{{atk|0}}}+{{{atk growth|0}}}*({{#var:max lv|0}}+20-1) + 2000 }}</td>
     </tr>
     </tr>
     </table>
     </table>
Line 775: Line 966:
     <table class="data">
     <table class="data">
     <tr>
     <tr>
       <th colspan="3">Base skills</th>
       <th colspan="3">[[Skills]]</th>
     </tr>
     </tr>
     <tr>
     <tr>
{{#if:{{{skill id 1|}}}|
<!--    {{#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>Default</th-->
       <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>
      <th>{{#masterdata:Skill|{{{skill id 1}}}|name}}</th>
       <td>{{#var:base skill 1 desc| ? }}</td>
       <td>{{#masterdata:Skill|{{{skill id 1}}}|effects}}</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>}}}}-->
    {{#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><abbr title="{{#var:base skill 1 jp-en name|}}">Def.</abbr></th-->
       <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>
      <th>{{#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}}}|?}} }}</th>
       <td>{{#var:base skill 2 desc| ? }}</td>
       <td>{{#var:base skill 1 desc| ? }}</td>
     </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 id 2|}}}|
     <tr>
     <tr>
       <!--th>LB1</th-->
       <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>
      <th>{{#masterdata:Skill|{{{skill id 2}}}|name}}</th>
       <td>{{#var:base skill 3 desc| ? }}</td>
       <td>{{#masterdata:Skill|{{{skill id 2}}}|effects}}</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>}}}}-->
    {{#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>LB1</th-->
       <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>
      <th>{{#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}}}|?}} }}</th>
       <td>{{#var:base skill 4 desc| ? }}</td>
       <td>{{#var:base skill 2 desc| ? }}</td>
     </tr>
     </tr>
}}
    </table>
{{#if:{{{skill id 3|}}}|
  {{#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>LB2</th-->
       <th>[[{{#var:base skill 1 evo|}}|{{#var:base skill 1 en name|{{{base skill 1}}} }} Plus]]</th>
       <th>{{#masterdata:Skill|{{{skill id 3}}}|name}}</th>
       <td>{{#masterdata:SkillDescription|{{#show: {{#var:base skill 1 evo}} |?Has ID}}}}</td>
       <td>{{#masterdata:Skill|{{{skill id 3}}}|effects}}</td>
     </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: {{#var:base skill 2 evo|}} |
     <tr>
     <tr>
       <!--th>LB2</th-->
       <th>[[{{#var:base skill 2 evo|}}|{{#var:base skill 2 en name|{{{base skill 2}}} }} Plus]]</th>
      <th>{{#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}}}|?}} }}</th>
       <td>{{#masterdata:SkillDescription|{{#show: {{#var:base skill 2 evo}} |?Has ID}}}}</td>
       <td>{{#var:base skill 3 desc| ? }}</td>
     </tr>
     </tr>
}}
    }}
{{#if:{{{skill id 4|}}}|
    {{#if: {{#var:base skill 3 evo|}} |
     <tr>
     <tr>
      <!--th>LB3</th-->
       <th>[[{{#var:base skill 3 evo|}}|{{#var:base skill 3 en name|{{{base skill 3}}} }} Plus]]</th>
       <th>{{#masterdata:Skill|{{{skill id 4}}}|name}}</th>
       <td>{{#masterdata:SkillDescription|{{#show: {{#var:base skill 3 evo}} |?Has ID}}}}</td>
       <td>{{#masterdata:Skill|{{{skill id 4}}}|effects}}</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>}}}}
    {{#if: {{#var:base skill 4 evo|}} |
     <tr>
     <tr>
       <!--th>LB3</th-->
       <th>[[{{#var:base skill 4 evo|}}|{{#var:base skill 4 en name|{{{base skill 4}}} }} Plus]]</th>
       <th>{{#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}}}|?}} }}</th>
       <td>{{#masterdata:SkillDescription|{{#show: {{#var:base skill 4 evo}} |?Has ID}}}}</td>
       <td>{{#var:base skill 4 desc| ? }}</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">Charge skill</th>
       <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>
       <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>
      <th>[[{{#var:charge skill subobj|}}|{{#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>{{#var:charge skill desc|{{{charge skill description|?}}}}}</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 895: Line 1,104:
   | &mdash;&mdash;
   | &mdash;&mdash;
   }}</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>
   {{#if:{{#var:strategy|}}|
  |}}
     <table class="data">
   {{#ifeq:{{{partial|}}}|true|
     <table class="data transientInfo{{#var:transientnumber}}">
     <tr>
     <tr>
       <th colspan="3">[[{{#var:strategy}}|Strategy]]</th>
       <th colspan="3">Partial Entry</th>
     </tr>
     </tr>
     </table>
     </table>
Line 910: Line 1,198:
<div class="footer"></div>
<div class="footer"></div>
<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>{{#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}}}}|}}
{{#if:{{{cdn skin artwork|}}}|{{#tag:masterdataskins|{{{cdn skin artwork|}}}|voice={{#var:transient voice filename|}}|selector-fg=#transient{{#var:transientnumber}} > div > table > tbody > tr > td:nth-child(1) > div > img|selector-icon=#transient{{#var:transientnumber}} > div > div > table > tbody > tr > td.icon > img|flags={{#var:transient voice condition|}}}}{{#vardefine:transient voice filename|}}{{#vardefine:transient voice condition|}}|}}</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><!--
</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 928: Line 1,216:
   [[Category:{{#if:{{{species|}}}|{{{species}}}|Unknown species}} transients]]
   [[Category:{{#if:{{{species|}}}|{{{species}}}|Unknown species}} transients]]
   <!--gate-->
   <!--gate-->
   {{#if:{{{gate|}}}|[[Category:Transients from {{Gate|{{{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 949: Line 1,238:
|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|{{{rarity|0}}}}}, {{Energy|{{#var:energy}}}}-typed {{Weapon type|{{#var:weapon type}}}} unit.
|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>
== 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:
<pre>
{{#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 jp en research file|Translation for Japanese Research File}}
</pre>
 
[[Category:Infobox templates]][[Category:Subobject templates]]
</noinclude>

Latest revision as of 14:53, 2 November 2023

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

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]
【黒炎の巨人】スルト
Weapon Spread Thrust.png
Rarity 3 Cost 8
HP 412+103.153*(Lv-1) ATK 196+54.01*(Lv-1)
HP @ Lv 60 6498.027 ATK @ Lv 60 3382.59
Max HP+20 Lv, +2000 HP 10561.087 Max ATK+20 Lv, +2000 ATK 6462.79
Skills
終わらせる者敵専用 (736) [After HittingFor each unit with >0HP hit. Triggered and applied after damage calculation, after attack damage is applied, after the target's [When Hit] effects. Effects of the same timing from same unit are all triggered together before they are applied.] Apply Nullify BuffPrevent receiving buff once for 4 turns. Vanishes after use. (Debuff) to hit units / 30~60%
Helmeted One [Before Being AttackedThis unit must have >0HP when attacked. Triggered and applied before damage calculation, before the attack hits anyone, before the attacker's [Before Hitting] effects. Effects of the same timing from same unit are all triggered together before they are applied.] Apply DEF UpDEF Up by 0.9x ~ 0.45x for 4 turns (Buff) to self
    Apply DEF UpDEF Up by 0.9x ~ 0.45x for 4 turns (Buff) to allies behind self / 23~46%
[When Hit′This unit must have >0HP before being hit. Triggered and applied after damage calculation, before attack damage is applied, after [Before Hitting] effects, before [After Hitting] effects from the attacker. Effects of the same timing from same unit are all triggered together before they are applied. (Trigger id 13; occurs before trigger id 12)] Apply Burn-300~-600HP/turn for 5 turns (Debuff) to hitting units / 30~60%
Persistor [Phase StartTriggers on their player's first turn of each phase, before [Turn Start] effects. Effects of the same timing from same unit are all triggered together before they are applied.] Apply EvasionDEF Up by 0.01x ~ 0.005x for 1 turn (Buff) to self
    +9~18 CP to self / 45~90%
[Forced Movement ResistancePrevents skill effect-mediated movement in the given trajectories, regardless of which unit applied it.] Resists forced backward movement / 100%
Memory Keeper [After MovingAfter this unit is held and released by their player. Triggered and applied before [After Not Moving] effects. Effects of the same timing from same unit are all triggered together before they are applied.] Apply ProtectionDEF Up by 0.9x ~ 0.45x for 1 turn (Buff) to self and allies directly adjacent to self
    +250~500 HP to self and allies directly adjacent to self / 45~90%
[When Hit″This unit must have >0HP when hit. Triggered and applied after damage calculation, before attack damage is applied, after [Before Hitting] effects, before [After Hitting] effects from the attacker. Effects of the same timing from same unit are all triggered together before they are applied. (Trigger id 12; occurs after trigger id 13)] Apply BerserkATK Up and DEF Down by 1.3x ~ 2.6x for 4 turns (Buff) to self / 8~16%
封薪救火ズヴィーガ・レーヴィ
Deal 1.6x damage to Immortal enemies + EvasionDEF Up by 0.01x ~ 0.005x for 1 turn (Buff) (x100) + ProtectionDEF Up by 0.9x ~ 0.45x for 1 turn (Buff) (x2.3) + Immortal King of The Jungle (x1.6) + Immortal (x1.6) Weapon Spread Slash.png
2x
Illustration Sousuke
Scenario ――
Voice Kenta Miyake
Sex/GenderAs defined in the game data, might not be accurate to official localization Male


Research Files

Official English
"A Transient from the world of Yggdrasil and member of the Otemachi Genociders. In addition to his flaming Sword Sacred Artifact, which can burn the safeguards of worlds to ash, he also wears a black Helmet Sacred Artifact which etches fear into his target. In memory of his perished children, he will never remove the helm. Any who express their flame-like existence are beloved as his children."
Translated from Japanese
Official Japanese
異世界ユグドラシル出身の「転光生」。大手町ギルド・ジェノサイダーズに所属する。世界の守護を焼き滅ぼす炎剣の「神器」に加え、恐怖を刻み込む黒兜の「神器」を常に被る。これを外す事は、決してない。何故なら、それこそが滅び去った我が子らへの思いを示すが故である。炎たる在り方を示す者を、我が子として愛する。
Relation From Others To Others
Like
Dislike

Consult other transient pages for additional undocumented options.