Difference between revisions of "Template:Transient extended infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(Separating element icon from weapon icon)
 
(57 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 = 零
| 11 | 神 | god =
|#default = ?
|#default = ?
}}
}}
Line 47: Line 49:


{{#vardefine:energy filename|{{#switch:{{#var:energy}}
{{#vardefine:energy filename|{{#switch:{{#var:energy}}
| 全 = none
| 全 = ui_button_elm_none
| 火 = fire
| 火 = ui_button_elm_fire
| 水 = water
| 水 = ui_button_elm_water
| 木 = earth
| 木 = ui_button_elm_earth
| 天 = light
| 天 = ui_button_elm_light
| 冥 = dark
| 冥 = ui_button_elm_dark
| 魔 = evil
| 魔 = ui_button_elm_evil
| 英雄 = hero
| 英雄 = ui_button_elm_hero
| 世界 = world
| 世界 = ui_button_elm_world
| 無限 = ui_button_elm_infinity
| 零 = ui_button_elm_zero
| 神 = icon_element_god
| #default = none
}}
}}
}}
}}
Line 215: Line 221:
  }}
  }}
-->
-->
{{#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}}
{{{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}}}}}
}}
}}


Line 265: Line 271:
  }}
  }}
-->
-->
{{#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}}
{{{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}}}}}
}}
}}
<!--
<!--
Line 313: Line 319:
  }}
  }}
-->
-->
{{#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}}
{{{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}}}}}
}}
}}
<!--
<!--
Line 360: Line 366:
  }}
  }}
-->
-->
{{#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}}
{{{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}}}}}
}}
}}
<!--
<!--
Line 435: Line 441:
{{#if:{{{skill id 4|}}}|
{{#if:{{{skill id 4|}}}|
{{#vardefine:base skill 4 desc|{{#masterdata:Skill|{{{skill id 4}}}|effects}}}}{{#vardefine:base skill 4 raw desc|{{#replace:{{#tag:strip|{{#var:base skill 4 desc}}}}}}|;|\;}}
{{#vardefine:base skill 4 desc|{{#masterdata:Skill|{{{skill id 4}}}|effects}}}}{{#vardefine:base skill 4 raw desc|{{#replace:{{#tag:strip|{{#var:base skill 4 desc}}}}}}|;|\;}}
}}
{{#ifeq:{{#var:availability|}}|Current|
{{#arraydefine:no restriction ar|{{#ask:
[[Has game context::AR Equipment]]
[[Has restrictions::No restrictions]]
|?Has ID #|mainlabel=-|link=none|headers=hide
}}}}{{#arraydefine:transient ar|{{#ask:
[[Has game context::AR Equipment]]
[[Has restrictions::{{{en name|{{{jp name|?}}}}}}]]
|?Has ID #|mainlabel=-|link=none|headers=hide
}}}}{{#arraydefine:weapon ar|{{#ask:
[[Has game context::AR Equipment]]
[[Has restrictions::{{Weapon type|{{#var:weapon type|?}}}}]]
|?Has ID #|mainlabel=-|link=none|headers=hide
}}}}{{#arraydefine:attribute ar|{{#ask:
[[Has game context::AR Equipment]]
[[Has restrictions::{{Energy|{{#var:energy|?}}}}]]
|?Has ID #|mainlabel=-|link=none|headers=hide
}}}}{{#arrayunion:available ar|no restriction ar|transient ar|weapon ar|attribute ar}}
}}
}}
{{#vardefine:strategy|{{#ifexist:{{{en name|}}}/Strategy|{{{en name|}}}/Strategy|}}}}
{{#vardefine:strategy|{{#ifexist:{{{en name|}}}/Strategy|{{{en name|}}}/Strategy|}}}}
Line 463: Line 450:
{{#vardefine:weight|{{#var:transient weight|{{{weight|}}}}}}}
{{#vardefine:weight|{{#var:transient weight|{{{weight|}}}}}}}
{{#vardefine:summon date|{{#var:transient summon date|{{{summon date|}}}}}}}
{{#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 470: 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|{{#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 478: 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}}}}
Line 497: Line 491:
| Has species = {{{species|}}}
| Has species = {{{species|}}}
| Has sex = {{{sex|}}}
| Has sex = {{{sex|}}}
| Has gate = {{{gate|}}}
| Has gate = {{Gate|{{{gate|Unknown}}}|format=name}}
| Has summon date = {{#var:summon date}}
| Has summon date = {{#var:summon date}}
| Has weight = {{#var:weight}}
| Has weight = {{#var:weight}}
| Has height = {{#var:height}}
| Has height = {{#var:height}}
| 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|[?] ? / ?%}};{{{base skill 1 id}}}}}
| Has guild = {{#var:guild}}
| 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|[?] ? / ?%}};{{{base skill 2 id}}}}}
| Has school = {{#var:school}}
| 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|[?] ? / ?%}};{{{base skill 3 id}}}}}
| Has group = {{#var:group}}
| 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|[?] ? / ?%}};{{{base skill 4 id}}}}}
| Has release date = {{#var:release date}}
| Has charge skill ={{{charge skill name|}}};{{{charge skill jp name|}}};{{{charge skill description|}}};{{#var:charge skill weapon}};{{{charge skill id|}}}
| 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 543: 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;
}
}


Line 566: Line 572:


div.transient-infobox > div > .header .weapon-attribute {
div.transient-infobox > div > .header .weapon-attribute {
    position: relative;
<!--    position: relative;
     top: -27px;
     top: -27px;-->
    display: flex;
}
}


 
<!--
div.transient-infobox > div > .header .weapon-attribute > img {
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;
Line 716: Line 723:
/* 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 728: Line 734:


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 741: Line 746:
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 787: 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 846: Line 905:
   <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 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}}|{{#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="weapon-attribute">{{#tag:mediator|https://cdn.housamo.xyz/housamo/builtin/icon_element_{{#var:energy filename|none}}.png|width=60|height=60}}{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon/icon_weapon_{{#var:weapon type filename|nothing}}.png|width=60|height=60}}</td><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}}}}}|?}}]&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 861: 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="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|}}}}|{{#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></div></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||
Line 898: Line 957:
     </tr>
     </tr>
     <tr>
     <tr>
       <th><abbr title="Fully seeded">Max HP</abbr></th>
       <th>{{Tooltip|Max HP|+20 Lv, +2000 HP}}</th>
       <td>{{#expr: {{{hp|0}}}+{{{hp growth|0}}}*({{#var:max lv|0}}+10-1) + 1000 }}</td>
       <td>{{#expr: {{{hp|0}}}+{{{hp growth|0}}}*({{#var:max lv|0}}+20-1) + 2000 }}</td>
       <th><abbr title="Fully seeded">Max ATK</abbr></th>
       <th>{{Tooltip|Max ATK|+20 Lv, +2000 ATK}}</th>
       <td>{{#expr: {{{atk|0}}}+{{{atk growth|0}}}*({{#var:max lv|0}}+10-1) + 1000 }}</td>
       <td>{{#expr: {{{atk|0}}}+{{{atk growth|0}}}*({{#var:max lv|0}}+20-1) + 2000 }}</td>
     </tr>
     </tr>
     </table>
     </table>
Line 927: Line 986:
     </tr>
     </tr>
     <tr>
     <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>}}}}
<!--    {{#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}}}]]|?}} }}</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>
       <td>{{#var:base skill 1 desc| ? }}</td>
       <td>{{#var:base skill 1 desc| ? }}</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 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}}}]]|?}} }}</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>
       <td>{{#var:base skill 2 desc| ? }}</td>
       <td>{{#var:base skill 2 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: {{#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>}}}}-->
     <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}}}]]|?}} }}</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>
       <td>{{#var:base skill 3 desc| ? }}</td>
       <td>{{#var:base skill 3 desc| ? }}</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 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}}}]]|?}} }}</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>
       <td>{{#var:base skill 4 desc| ? }}</td>
       <td>{{#var:base skill 4 desc| ? }}</td>
     </tr>
     </tr>
Line 1,005: Line 1,064:
     <table class="data">
     <table class="data">
     <tr>
     <tr>
       <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}}}}}</span></u>|{{#if:{{#var:charge skill subobj}}|[[{{#var:charge skill subobj}}|{{{charge skill name}}}]]|{{{charge skill name}}}}}}}|?}}</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}}}x</div>}}</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>
     </tr>
     </tr>
     {{#ifeq:{{#var:availability|}}|Current|<tr>
     {{#ifeq:{{#var:availability|}}|Current|<tr>
       <td colspan="3"><div class="toccolours mw-collapsible mw-collapsed" style="width:850px; overflow:auto;">
       <td colspan="3">{{Equippable AR Equipment|{{{en name|{{{jp name|?}}}}}};{{Weapon type|{{#var:weapon type|?}}}};{{Energy|{{#var:energy|?}}}}}}</td>
      <div style="font-weight:bold;line-height:1.6;">Show available ARs</div>
      <div class="mw-collapsible-content">
{{#arrayprint:available ar|<br>|@@@@|{{AR Equipment|id=@@@@}}}}
      </div></div></td>
     </tr>}}
     </tr>}}
     </table>
     </table>
Line 1,069: Line 1,124:
{{#if:{{{species|}}}|
{{#if:{{{species|}}}|
<tr>
<tr>
       <th>Species</th>
       <th>{{Tooltip|Species|Tends to be based on the transient's skillset}}</th>
       <td>{{{species}}}</td>
       <td>{{{species}}}</td>
</tr>
</tr>
Line 1,075: Line 1,130:
     {{#if:{{{sex|}}}|
     {{#if:{{{sex|}}}|
<tr>
<tr>
       <th>Gender</th>
       <th>{{Tooltip|Sex/Gender|As defined in the game data, might not be accurate to official localization}}</th>
       <td>{{#switch:{{lc:{{{sex|}}}}}
       <td>{{#switch:{{lc:{{{sex|}}}}}
| man = Male
| man = Male
Line 1,087: Line 1,142:
<tr>
<tr>
       <th>Gate</th>
       <th>Gate</th>
       <td>[[{{Gate|{{{gate}}}|format=name}}]]</td>
       <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>
</tr>
     }}
     }}
Line 1,106: Line 1,179:
     <th>Summon Date</th>
     <th>Summon Date</th>
     <td>{{#var:summon date}}</td>
     <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>
</tr>
     }}
     }}
Line 1,112: Line 1,191:
     <table class="data transientInfo{{#var:transientnumber}}">
     <table class="data transientInfo{{#var:transientnumber}}">
     <tr>
     <tr>
       <th colspan="3">[[{{#var:strategy}}|Strategy]]</th>
       <th colspan="3">[[{{#var:strategy}}|{{#if:{{#pos:{{#show:{{#var:strategy}}|?Category|link=none}}|Strategy pages}}|Strategy|Strategy (placeholder)}}]]</th>
     </tr>
     </tr>
     </table>
     </table>
Line 1,176: 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|{{{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 gate|Gate Name}}
{{#vardefine:transient jp en research file|Translation for Japanese Research File}}
 
{{#vardefine:transient height|166}}
{{#vardefine:transient weight|96}}
{{#vardefine:transient summon date|8/7}}
</pre>
 
To invoke this template properly, use (after the vardefines):
<pre>
{{#masterdata:Card|CARDID}}
</pre>
 
Consult other transient pages for additional undocumented options.
 
[[Category:Infobox templates]][[Category:Subobject templates]]
</noinclude>

Latest revision as of 12:20, 14 July 2024

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.