Difference between revisions of "Template:Transient infobox"

Jump to navigation Jump to search
28,702 bytes removed ,  00:30, 13 December 2018
no edit summary
(dont break)
Line 8: Line 8:
#if:{{{variant|}}}|{{#vardefine:transient variant|{{{variant|}}}}}}}{{
#if:{{{variant|}}}|{{#vardefine:transient variant|{{{variant|}}}}}}}{{
#masterdata:Card|{{#var:transient id}}|no-research
#masterdata:Card|{{#var:transient id}}|no-research
}}|{{#if: <!-- define vars -->
}}|Invalid invocation.}}</includeonly><noinclude>
 
{{#vardefine:energy|{{#switch:{{lc:{{{energy|{{{element|}}}}}}}}
| 1 | 火 | fire = 火
| 2 | 水 | water = 水
| 3 | 木 | wood | grass | earth | tree = 木
| 4 | 天 | heaven | holy | light | divine | aether = 天
| 5 | 冥 | dark | nether = 冥
| 6 | 魔 | demon | shadow | infernal = 魔
| 0 | 全 | all | all-round = 全
| 7 | 英雄 | hero | valiant = 英雄
| 8 | 世界 | world = 世界
| 9 | 無 | none = 無
|#default = ?
}}
}}
 
{{#vardefine:weapon type|{{#switch:{{lc:{{{weapon type|}}}}}
| 1 | 斬撃 | 斬 | slash = 斬撃
| 3 | 打撃 | 打 | strike | blow = 打撃
| 2 | 突撃 | 突 | pierce | thrust = 突撃
| 4 | 射撃 | 射 | ranged | shot = 射撃
| 5 | 魔法 | 魔 | magic = 魔法
| 7 | 狙撃 | 狙 | snipe = 狙撃
| 6 | 横一文字 | wide slash | wide-slash | wide-slash | long slash = 横一文字
| 8 | 全域 | wide magic | wide-magic | all = 全域
| 0 | 無し = none
| 9 | 無 = none
|#default = ?
}}
}}
 
{{#vardefine:availability|{{#switch:{{lc:{{{availability|}}}}}
| limited = Limited
| event = Event
| unavailable = Unobtainable
| unobtainable = Unobtainable
| scheduled = Scheduled
| current
|#default = Current
}}
}}
 
{{#ifeq:{{lc:{{{acquisition|}}}}} | unobtainable | {{#vardefine:availability|Unobtainable}}
}}
 
{{#arraydefine:illustrator|{{{illustrator|}}}|;}}
 
{{#vardefine:counter|0}}
{{#arrayprint:illustrator
|
| @@@
| {{#vardefine:illustrator subobj {{#var:counter}}|
    {{#ask:
      [[Has game context::Illustrator]]
      [[Has Japanese name::@@@]]
    |link=none
    |limit=1
    |headers=hide
    |searchlabel=
    }}
  }}
  {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
}}
 
{{#vardefine:counter|0}}
{{#arrayprint:illustrator
|
| @@@
| {{#vardefine:illustrator en name {{#var:counter}}|
    {{#if: {{#var:illustrator subobj {{#var:counter}} }}
    | {{#show: {{#var:illustrator subobj {{#var:counter}} }} |?Has English name }}
    }}
  }}
  {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
}}
 
{{#arraydefine:scenario writer|{{{scenario writer|}}}|;}}
 
{{#vardefine:counter|0}}
{{#arrayprint:scenario writer
|
| @@@
| {{#vardefine:scenario writer subobj {{#var:counter}}|
    {{#ask:
      [[Has game context::Scenario writer]]
      [[Has Japanese name::@@@]]
    |link=none
    |limit=1
    |headers=hide
    |searchlabel=
    }}
  }}
  {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
}}
 
{{#vardefine:counter|0}}
{{#arrayprint:scenario writer
|
| @@@
| {{#vardefine:scenario writer en name {{#var:counter}}|
    {{#if: {{#var:scenario writer subobj {{#var:counter}} }}
    | {{#show: {{#var:scenario writer subobj {{#var:counter}} }} |?Has English name }}
    }}
  }}
  {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
}}
 
{{#arraydefine:voice actor|{{{voice actor|}}}|;}}
 
{{#vardefine:counter|0}}
{{#arrayprint:voice actor
|
| @@@
| {{#vardefine:voice actor subobj {{#var:counter}}|
    {{#ask:
      [[Has game context::Voice actor]]
      [[Has Japanese name::@@@]]
    |link=none
    |limit=1
    |headers=hide
    |searchlabel=
    }}
  }}
  {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
}}
 
{{#vardefine:counter|0}}
{{#arrayprint:voice actor
|
| @@@
| {{#vardefine:voice actor en name {{#var:counter}}|
    {{#if: {{#var:voice actor subobj {{#var:counter}} }}
    | {{#show: {{#var:voice actor subobj {{#var:counter}} }} |?Has English name }}
    }}
  }}
  {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
}}
 
{{#vardefine:base skill 1 subobj|
{{#if: {{{base skill 1|}}}
|{{#ask:
  [[Has game context::Skill]]
  [[Has Japanese name::{{{base skill 1}}}]]
  [[Has effect ID::1]]
  |link=none
  |limit=1
  |headers=hide
  |searchlabel=
  }}
}}
}}
 
{{#vardefine:base skill 1 en name|
{{#if: {{#var:base skill 1 subobj|}}
|{{#show: {{#var:base skill 1 subobj}} |?Has English name }}
}}
}}
 
{{#vardefine:base skill 1 desc|
{{#if: {{#var:base skill 1 subobj|}}
|{{#show: {{#var:base skill 1 subobj}} |?Has preformatted English description }}
}}
}}
 
<!-- escape semi-colons to not run into issues when setting it as a value in the record property -->
{{#vardefine:base skill 1 raw desc|
{{#if: {{#var:base skill 1 subobj|}}
|{{#replace:{{#tag:strip|{{#show: {{#var:base skill 1 subobj}} |?Has preformatted English description }}}}|;|\;}}
}}
}}
 
{{#vardefine:base skill 2 subobj|
{{#if: {{{base skill 2|}}}
|{{#ask:
  [[Has game context::Skill]]
  [[Has Japanese name::{{{base skill 2}}}]]
  [[Has effect ID::1]]
  |link=none
  |limit=1
  |headers=hide
  |searchlabel=
  }}
}}
}}
 
{{#vardefine:base skill 2 en name|
{{#if: {{#var:base skill 2 subobj|}}
|{{#show: {{#var:base skill 2 subobj}} |?Has English name }}
}}
}}
 
{{#vardefine:base skill 2 desc|
{{#if: {{#var:base skill 2 subobj|}}
|{{#show: {{#var:base skill 2 subobj}} |?Has preformatted English description }}
}}
}}
 
{{#vardefine:base skill 2 raw desc|
{{#if: {{#var:base skill 2 subobj|}}
|{{#replace:{{#tag:strip|{{#show: {{#var:base skill 2 subobj}} |?Has preformatted English description }}}}|;|\;}}
}}
}}
 
{{#vardefine:base skill 3 subobj|
{{#if: {{{base skill 3|}}}
|{{#ask:
  [[Has game context::Skill]]
  [[Has Japanese name::{{{base skill 3}}}]]
  [[Has effect ID::1]]
  |link=none
  |limit=1
  |headers=hide
  |searchlabel=
  }}
}}
}}
 
{{#vardefine:base skill 3 en name|
{{#if: {{#var:base skill 3 subobj|}}
|{{#show: {{#var:base skill 3 subobj}} |?Has English name }}
}}
}}
 
{{#vardefine:base skill 3 desc|
{{#if: {{#var:base skill 3 subobj|}}
|{{#show: {{#var:base skill 3 subobj}} |?Has preformatted English description }}
}}
}}
 
{{#vardefine:base skill 3 raw desc|
{{#if: {{#var:base skill 3 subobj|}}
|{{#replace:{{#tag:strip|{{#show: {{#var:base skill 3 subobj}} |?Has preformatted English description }}}}|;|\;}}
}}
}}
 
{{#vardefine:base skill 4 subobj|
{{#if: {{{base skill 4|}}}
|{{#ask:
  [[Has game context::Skill]]
  [[Has Japanese name::{{{base skill 4|}}}]]
  [[Has effect ID::1]]
  |link=none
  |limit=1
  |headers=hide
  |searchlabel=
  }}
}}
}}
 
{{#vardefine:base skill 4 en name|
{{#if: {{#var:base skill 4 subobj|}}
|{{#show: {{#var:base skill 4 subobj}} |?Has English name }}
}}
}}
 
{{#vardefine:base skill 4 desc|
{{#if: {{#var:base skill 4 subobj|}}
|{{#show: {{#var:base skill 4 subobj}} |?Has preformatted English description }}
}}
}}
 
{{#vardefine:base skill 4 raw desc|
{{#if: {{#var:base skill 4 subobj|}}
|{{#replace:{{#tag:strip|{{#show: {{#var:base skill 4 subobj}} |?Has preformatted English description }}}}|;|\;}}
}}
}}
 
{{#vardefine:base skill 1 jp-en name|
{{#if: {{#var:base skill 1 subobj|}}
|{{#show: {{#var:base skill 1 subobj}} |?Has Japanese-English name }}
}}
}}
{{#vardefine:base skill 2 jp-en name|
{{#if: {{#var:base skill 2 subobj|}}
|{{#show: {{#var:base skill 2 subobj}} |?Has Japanese-English name }}
}}
}}
{{#vardefine:base skill 3 jp-en name|
{{#if: {{#var:base skill 3 subobj|}}
|{{#show: {{#var:base skill 3 subobj}} |?Has Japanese-English name }}
}}
}}
{{#vardefine:base skill 4 jp-en name|
{{#if: {{#var:base skill 4 subobj|}}
|{{#show: {{#var:base skill 4 subobj}} |?Has Japanese-English name }}
}}
}}
<!-- overrides -->
{{#if:{{{skill id 1|}}}|
{{#vardefine:base skill 1 desc|{{#masterdata:Skill|{{{skill id 1}}}|effects}}}}{{#vardefine:base skill 1 raw desc|{{#replace:{{#tag:strip|{{#var:base skill 1 desc}}}}}}|;|\;}}
}}
{{#if:{{{skill id 2|}}}|
{{#vardefine:base skill 2 desc|{{#masterdata:Skill|{{{skill id 2}}}|effects}}}}{{#vardefine:base skill 2 raw desc|{{#replace:{{#tag:strip|{{#var:base skill 2 desc}}}}}}|;|\;}}
}}
{{#if:{{{skill id 3|}}}|
{{#vardefine:base skill 3 desc|{{#masterdata:Skill|{{{skill id 3}}}|effects}}}}{{#vardefine:base skill 3 raw desc|{{#replace:{{#tag:strip|{{#var:base skill 3 desc}}}}}}|;|\;}}
}}
{{#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:strategy|{{#ifexist:{{{en name|}}}/Strategy|{{{en name|}}}/Strategy|}}}}
 
{{#vardefine:charge skill weapon|{{Weapons|{{#replace:{{{charge skill pattern|{{#ifeq:{{#var:weapon type}}|?||{{#var:weapon type}}}}}}}|Weapon Spread |}}}}}}
 
}}<!--create vars end-->{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> | <!--
 
For Has base skill as well as Has illustrator, Has scenario writer and Has voice actor, the subobject is set to "-" if no subobject is available to return a result in queries in order to properly match names to subobjects in Template:Transient list table result format. Otherwise, name, description, unlocked limit break and subobject (for skills) and name and subobject (for voice actor, scenario writer and illustrator) may be mismatched.
 
-->{{#subobject:transient{{#vardefineecho:transientnumber|{{#expr:{{#var:transientnumber|-1}}+1}}}}
| Has game context = Transient
| Has ID = {{#var:transient id|}}
| Has Japanese name ={{{jp name|?}}}
| Has English name ={{{en name|?}}}
| Has lowercase English name ={{lc:{{{en name|?}}}}}
| Has Japanese title ={{{jp title|}}}
| Has English title ={{{en title|}}}
| Has Japanese-English title = {{{jp-en title|}}}
| 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|{{#ifexist:File:{{{en name}}}_{{{rarity}}}star_icon.png|File:{{{en name}}}_{{{rarity}}}star_icon.png|File:Unknown icon.png}}}}}}
| Has portrait = {{#ifexist:File:{{{portrait|}}}.png|File:{{{portrait}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_portrait.png|File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_portrait.png|File:Unknown icon.png}}}}
| Has skin artwork ={{#ifexist:File:{{{skin artwork|}}}.png|File:{{{skin artwork}}}.png}}
| Has strategy = {{#var:strategy|}}
| Has rarity ={{#ifeq: {{{rarity|0}}} | 0 | 0 | {{{rarity}}} }}
| Has card cost ={{#ifeq: {{{cost|0}}} | 0 | 0 | {{{cost}}} }}
| Has variant ={{{variant|Standard}}}
| Has availability ={{#var:availability}}
| Has acquisition ={{{acquisition|}}}
| Has energy ={{#ifeq:{{#var:energy}}|?||{{#var:energy}}}}
| Has weapon type ={{#ifeq:{{#var:weapon type}}|?||{{#var:weapon type}}}}
| Has hp value = {{{hp|0}}}
| Has hp growth value = {{{hp growth|0}}}
| Has atk value = {{{atk|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}}}}};{{#var:base skill 1 desc|[?] ? / ?%}};{{#var:base skill 1 raw desc|[?] ? / ?%}}}}
| 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 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 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 charge skill ={{{charge skill name|}}};{{{charge skill jp name|}}};{{{charge skill description|}}};{{#var:charge skill weapon}}
| Has illustrator ={{#if:{{{illustrator|}}}|
  {{#vardefine:counter|0}}
  {{#arrayprint:illustrator
  | ###
  | @@@
  | {{#var:illustrator subobj {{#var:counter}}|-}};@@@;{{#var:illustrator en name {{#var:counter}}|@@@}}
    {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
  }}
}}|+sep=###
| Has scenario writer ={{#if:{{{scenario writer|}}}|
  {{#vardefine:counter|0}}
  {{#arrayprint:scenario writer
  | ###
  | @@@
  | {{#var:scenario writer subobj {{#var:counter}}|-}};@@@;{{#var:scenario writer en name {{#var:counter}}|@@@}}
    {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
  }}
}}|+sep=###
| Has voice actor ={{#if:{{{voice actor|}}}|
  {{#vardefine:counter|0}}
  {{#arrayprint:voice actor
  | ###
  | @@@
  | {{#var:voice actor subobj {{#var:counter}}|-}};@@@;{{#var:voice actor en name {{#var:counter}}|@@@}}
    {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
  }}
}}|+sep=###
}}
}}<!-- end subobject
-->{{#css:
div.transient-infobox {
    background-color: #f9f9f9;
    padding-bottom: 2px;
    position: relative;
    width: 850px;
    border: 1px solid #aaa;
    border-spacing: 0px;
}
 
div.transient-infobox > .header {
    width: auto;
    margin: 4px 4px 2px 4px;
    padding: 0px;
}
 
div.transient-infobox > .header .icon {
    float: left;
    vertical-align: bottom;
}
 
div.transient-infobox > .header .caption {
    color: #000000;
    font-size: 1.5em;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}
 
div.transient-infobox > .header .caption > .name {
    font-weight: bold;
}
 
div.transient-infobox > .header .caption > .sub {
    font-size: 0.8em;
}
 
div.transient-infobox .body {
    clear: both;
    border-collapse: collapse;
}
 
div.transient-infobox .body tr td {
    margin: 0px; padding: 0px;
}
 
div.transient-infobox .body .artwork {
    margin: 0px 2px 4px 4px;
    width: 300px;
    text-align: center;
}
 
div.transient-infobox .body .artwork img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    width: auto\9;
}
 
div.transient-infobox .body .data {
    width: 99%;
    margin: 0px 2px 2px 2px;
    border-collapse: collapse;
}
 
div.transient-infobox .body .data tr:not(:first-child) th {
    border-top: 2px solid #f9f9f9;
    border-right: 2px solid #f9f9f9;
}
 
div.transient-infobox .body .data  tr  td {
    padding-left: 0.5em;
    padding-right: 0.5em;
    border-left: 2px solid #f9f9f9;
}
 
div.transient-infobox .body .data  tr:not(:first-child)  td {
    border-top: 2px solid #f9f9f9;
}
 
/* fire */
div.fire > .header {
    background-color: #ffbfbf;
}
 
div.fire > .body .data tr > th {
    background-color: #ffd2d0;
}
 
div.fire > .body .data tr > th + th {
    width: 100px;
    background-color: #ffdddc;
}
 
/* water */
div.water > .header {
    background-color: #bfd9ff;
}
 
div.water > .body .data tr > th {
    background-color: #d0e3ff;
}
 
div.water > .body .data tr > th + th {
    width: 100px;
    background-color: #dceaff;
}
 
/* wood */
div.wood > .header {
    background-color: #bfffbf;
}
 
div.wood > .body .data tr > th {
    background-color: #dcffdc;
}
 
div.wood > .body .data tr > th + th {
    width: 100px;
    background-color: #e3ffe3;
}
 
/* light */
div.light > .header,
div.aether > .header {
    background-color: #ffd4bf;
}
 
div.light > .body .data tr > th,
div.aether > .body .data tr > th {
    background-color: #ffe0d0;
}
 
div.light > .body .data tr > th + th,
    width: 100px;
div.aether > .body .data tr > th + th {
    width: 100px;
    background-color: #ffe8dc;
}
 
/* nether */
div.nether > .header,
div.dark > .header {
    background-color: #e5ccff;
}
 
div.nether > .body .data tr > th,
div.dark > .body .data tr > th {
    background-color: #e3d3f3;
}
 
div.nether > .body .data tr > th + th,
    width: 100px;
div.dark > .body .data tr > th + th {
    width: 100px;
    background-color: #f0e0ff;
}
 
/* all, demon, none */
div.all > .header,
div.all-round > .header,
div.none > .header {
    background-color: #d4d4d4;
}
 
div.demon > .header,
div.shadow > .header,
div.infernal > .header {
    background-color: #a1a1a1;
}
 
div.all > .body .data tr > th,
div.all-round > .body .data tr > th,
div.none > .body .data tr > th {
    background-color: #dcdcdc;
}
 
div.demon > .body .data tr > th,
div.shadow > .body .data tr > th,
div.infernal > .body .data tr > th {
    background-color: #aaaaaa;
}
 
div.all > .body .data tr > th + th,
    width: 100px;
div.all-round > .body .data tr > th + th,
    width: 100px;
div.none > .body .data tr > th + th {
    width: 100px;
    background-color: #e3e3e3;
}
 
div.demon > .body .data tr > th + th,
    width: 100px;
div.shadow > .body .data tr > th + th,
    width: 100px;
div.infernal > .body .data tr > th + th {
    width: 100px;
    background-color: #b0b0b0;
}
 
/* hero */
div.hero > .header,
div.valiant > .header {
    background-color: #e9e8ed;
}
 
div.hero > .body .data tr > th,
div.valiant > .body .data tr > th {
    background-color: #ebeaee;
}
 
div.hero > .body .data tr > th + th,
    width: 100px;
div.valiant > .body .data tr > th + th {
    width: 100px;
    background-color: #f5f4f9;
}
 
/* world */
div.world > .header {
    background-color: #a67a45;
}
 
div.world> .body .data tr > th {
    background-color: #ebbe85;
}
 
div.world > .body .data tr > th + th {
    width: 100px;
    background-color: #ffde9f;
}
 
div.extended > a > img {
    width: 30px;
    height: 30px;
}
 
ruby > rt {
    font-size: 80%;
}
 
}}
<div class="transient-infobox {{#ifeq:{{#var:energy}}|?|none|{{lc:{{Energy|{{#var:energy}}}}}}}}" id="transient{{#var:transientnumber}}">
<div class="header">
  <table>
  <tr>
    {{#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="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|?}}}}}</div>
    <div class="sub">&#x3010;{{#if:{{{jp title|}}}|{{{jp title}}}|&#xFF1F;}}&#x3011;{{#if:{{{jp name|}}}|{{{jp name}}}|{{#ifeq: {{#var:availability}} | Unobtainable | |&#xFF1F;}}}}</div>
  </td>
  {{#if:{{{extended|}}}|<td><div class="extended">[[File:sprite_btn_favorite_on.png|Using the extended template]]</div></td>}}
  </tr>
  </table>
</div>
<table class="body">
  <tr>
  {{#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>
  {{#ifeq: {{{acquisition|}}}|Skin||
  <td>
    <table class="data">
    {{#if: {{{variant|}}} | {{#ifeq: {{lc:{{{variant}}}}} | standard | |
    <tr>
      <th>Variant</th>
      <td>{{{variant|Standard}}}</td>
    </tr>
    }}
    }}
    {{#ifeq: {{{rarity|0}}} | 0 ||
    <tr>
      <th>Rarity</th>
      <td>{{{rarity}}}</td>
    </tr>
    }}
    {{#ifeq: {{#var:availability}} | Unobtainable | |
    {{#ifeq: {{{cost|0}}} | 0 ||
    <tr>
      <th>Cost</th>
      <td>{{{cost}}}</td>
    </tr>
    }}
    }}
    <tr>
      <th>Acquisition</th>
      <td>{{{acquisition|?}}}</td>
    </tr>
    </table>
    {{#ifeq: {{#var:availability}} | Unobtainable | |
    <table class="data">
    <tr>
      <th>HP</th>
      <td>{{{hp|?}}} (+{{{hp growth|?}}} per level)</td>
    </tr>
    <tr>
      <th>ATK</th>
      <td>{{{atk|?}}} (+{{{atk growth|?}}} per level)</td>
    </tr>
    </table>
    }}
    <table class="data">
    <tr>
      {{#ifeq:{{Energy|{{#energy}}}}|?| |
      <th>Energy</th>
      <td>{{Energy|{{#var:energy}}}}</td>
      }}
    </tr>
    {{#ifeq:{{Weapon type|{{#var:weapon type}}}}|?| |
    <tr>
      <th>Weapon type</th>
      <td>{{Weapon type|{{#var:weapon type}}}}</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]]|}}</td>
    </tr>
    }}
    </table>
    <!--{{#if: {{#var:base skill 1 subobj|}} | i dont remember if i did this part uncommented when first adding card skins-->
    <table class="data">
    <tr>
      <th colspan="3">Base skills</th>
    </tr>
    <tr>
{{#if:{{{skill id 1|}}}|
    <tr>
      <th>Default</th>
      <th>{{#masterdata:Skill|{{{skill id 1}}}|name}}</th>
      <td>{{#masterdata:Skill|{{{skill id 1}}}|effects}}</td>
    </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>
      <th><abbr title="{{#var:base skill 1 jp-en name|}}">Def.</abbr></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 1 desc| ? }}</td>
    </tr>
}}
{{#if:{{{skill id 2|}}}|
    <tr>
      <th>LB1</th>
      <th>{{#masterdata:Skill|{{{skill id 2}}}|name}}</th>
      <td>{{#masterdata:Skill|{{{skill id 2}}}|effects}}</td>
    </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>
      <th>LB1</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 2 desc| ? }}</td>
    </tr>
}}
{{#if:{{{skill id 3|}}}|
    <tr>
      <th>LB2</th>
      <th>{{#masterdata:Skill|{{{skill id 3}}}|name}}</th>
      <td>{{#masterdata:Skill|{{{skill id 3}}}|effects}}</td>
    </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>
      <th>LB2</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>{{#var:base skill 3 desc| ? }}</td>
    </tr>
}}
{{#if:{{{skill id 4|}}}|
    <tr>
      <th>LB3</th>
      <th>{{#masterdata:Skill|{{{skill id 4}}}|name}}</th>
      <td>{{#masterdata:Skill|{{{skill id 4}}}|effects}}</td>
    </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>
      <th>LB3</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>{{#var:base skill 4 desc| ? }}</td>
    </tr>
}}
    </table>
    <table class="data">
    <tr>
      <th colspan="3">Charge skill</th>
    </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>
      <td>{{#if:{{{charge skill name|}}}|{{{charge skill description}}}|?}}</td>
      <td rowspan="2" style="width:50px; padding: 0px;">[[File:Weapon Spread {{#var:charge skill weapon|}}.png|50px]]</td>
    </tr>
    </table>
    <!--}}-->
    <table class="data">
    <tr>
      <th>Illustration</th>
      <td>{{#vardefine:counter|0}}{{#if: {{{illustrator|}}}
  | {{#arrayprint:illustrator
    |,&#32;
    |@@@
    | {{#if: {{#var:illustrator subobj {{#var:counter}}|}}
      | [[{{#var:illustrator subobj {{#var:counter}}}}|{{#var:illustrator en name {{#var:counter}}|@@@ }}]]
      | @@@
      }}
      {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
    }}
  | &mdash;&mdash;
  }}</td>
    </tr>
    <tr>
      <th>Scenario</th>
      <td>{{#vardefine:counter|0}}{{#if: {{{scenario writer|}}}
  | {{#arrayprint:scenario writer
    |,&#32;
    |@@@
    | {{#if: {{#var:scenario writer subobj {{#var:counter}}|}}
      | [[{{#var:scenario writer subobj {{#var:counter}}}}|{{#var:scenario writer en name {{#var:counter}}|@@@ }}]]
      | @@@
      }}
      {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
    }}
  | &mdash;&mdash;
  }}</td>
    </tr>
    <tr>
      <th>Voice</th>
      <td>{{#vardefine:counter|0}}{{#if: {{{voice actor|}}}
  | {{#arrayprint:voice actor
    |,&#32;
    |@@@
    | {{#if: {{#var:voice actor subobj {{#var:counter}}|}}
      | [[{{#var:voice actor subobj {{#var:counter}}}}|{{#var:voice actor en name {{#var:counter}}|@@@ }}]]
      | @@@
      }}
      {{#vardefine:counter|{{#expr:{{#var:counter}}+1}} }}
    }}
  | &mdash;&mdash;
  }}</td>
    </tr>
    </table>
  {{#if:{{#var:strategy|}}|
    <table class="data">
    <tr>
      <th colspan="3">[[{{#var:strategy}}|Strategy]]</th>
    </tr>
    </table>
  |}}
  </td>
|}}
  </tr>
</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}}}}|}}
{{#if:{{{cdn skin artwork|}}}|{{#tag:masterdataskins|{{{cdn skin artwork|}}}|voice={{#var:transient voice filename|}}|selector-fg=#transient{{#var:transientnumber}} > table > tbody > tr > td:nth-child(1) > div > img|selector-icon=#transient{{#var:transientnumber}} > div > table > tbody > tr > td.icon > img|flags={{#var:transient voice condition|}}}}{{#vardefine:transient voice filename|}}{{#vardefine:transient voice condition|}}|}}
</div><!--
 
    auto categorization
 
-->{{#if: {{#ifeq: {{{categorize|y}}} | n | n }} <!-- categorize is set to don't categorize -->
      {{NAMESPACE}} <!-- don't categorize if outside namespace -->
| <!-- don't categorize -->
|
  <!-- new template type -- >
  {{#if:{{#var:transient id|}}|[[Category:Transient using new data structure]]|[[Category:Transient page that needs updating]]}}
  <!-- energy -->
  {{#ifeq: {{Energy|{{#var:energy}}}} | ? | [[Category:Transients with unknown energy]] |
    [[Category:{{Energy|{{#var:energy}}}} transients]]
  }}
 
  <!-- weapon type -->
  {{#ifeq: {{Weapon type|{{{weapon type|}}}}} | ? | [[Category:Transients with unknown weapon type]] |
    [[Category:{{Weapon type|{{{weapon type}}}}} transients]]
  }}
 
  <!-- availability -->
  {{#ifeq: {{#var:availability}} | Current | |
    [[Category:{{#var:availability}} transients]]
  }}
 
}}</includeonly><includeonly>{{#ifeq:{{PAGENAME}}|Transient infobox||{{#ifeq:{{#var:transientnumber|0}}|0|{{#seo:
|title={{{en name|{{{jp name|}}}}}} - Tokyo Afterschool Summoners Wiki
|titlemode=replace
|keywords=tokyo,afterschool,summoners,housamo,wiki,東京放課後サモナーズ,放サモ,{{{jp name|}}},{{{en name|}}}
|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:title={{{en name|{{{jp name|}}}}}} - Tokyo Afterschool Summoners Wiki
}}}}}}}}</includeonly><noinclude>
== Description ==
== Description ==
This templates is a proxy for the [[Template:Transient extended infobox]] extended template.
This templates is a proxy for the [[Template:Transient extended infobox]] extended template.

Navigation menu