Difference between revisions of "Template:Transient extended infobox"
Jump to navigation
Jump to search
Filipyena222 (talk | contribs) |
|||
(101 intermediate revisions by 6 users not shown) | |||
Line 5: | Line 5: | ||
| 2 | 水 | water = 水 | | 2 | 水 | water = 水 | ||
| 3 | 木 | wood | grass | earth | tree = 木 | | 3 | 木 | wood | grass | earth | tree = 木 | ||
| 4 | 天 | heaven | holy | light | | 4 | 天 | heaven | holy | light | aether = 天 | ||
| 5 | 冥 | dark | nether = 冥 | | 5 | 冥 | dark | nether = 冥 | ||
| 6 | 魔 | demon | shadow | infernal = 魔 | | 6 | 魔 | demon | shadow | infernal = 魔 | ||
Line 11: | Line 11: | ||
| 7 | 英雄 | hero | valiant = 英雄 | | 7 | 英雄 | hero | valiant = 英雄 | ||
| 8 | 世界 | world = 世界 | | 8 | 世界 | world = 世界 | ||
| 9 | | | 9 | 無限 | infinity | infinite | mugen = 無限 | ||
| 10 | 零 | zero | null = 零 | |||
| 11 | 神 | god | divine = 神 | |||
|#default = ? | |#default = ? | ||
}} | }} | ||
Line 47: | Line 49: | ||
{{#vardefine:energy filename|{{#switch:{{#var:energy}} | {{#vardefine:energy filename|{{#switch:{{#var:energy}} | ||
| 全 = | | 全 = ui_button_elm_none | ||
| 火 = | | 火 = ui_button_elm_fire | ||
| 水 = | | 水 = ui_button_elm_water | ||
| 木 = | | 木 = ui_button_elm_earth | ||
| 天 = | | 天 = ui_button_elm_light | ||
| 冥 = | | 冥 = ui_button_elm_dark | ||
| 魔 = | | 魔 = ui_button_elm_evil | ||
| 英雄 = | | 英雄 = ui_button_elm_hero | ||
| 世界 = | | 世界 = ui_button_elm_world | ||
| 無限 = ui_button_elm_infinity | |||
| 零 = ui_button_elm_zero | |||
| 神 = icon_element_god | |||
| #default = none | |||
}} | }} | ||
}} | }} | ||
Line 181: | Line 187: | ||
|{{#ask: | |{{#ask: | ||
[[Has game context::Skill]] | [[Has game context::Skill]] | ||
[[Has | [[Has ID::{{{base skill 1 id}}}]] | ||
[[Has effect ID::1]] | [[Has effect ID::1]] | ||
|link=none | |link=none | ||
Line 192: | Line 198: | ||
{{#if: {{#var:base skill 1 subobj|}}| | {{#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:{{#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 198: | Line 205: | ||
{{#if: {{#var:base skill 1 subobj|}} | {{#if: {{#var:base skill 1 subobj|}} | ||
|{{#show: {{#var:base skill 1 subobj}} |?Has English name }} | |{{#show: {{#var:base skill 1 subobj}} |?Has English name }} | ||
}} | |||
}} | |||
{{#vardefine:base skill 1 range| | |||
{{#if: {{#var:base skill 1 subobj|}} | |||
|{{#show: {{#var:base skill 1 subobj}} |?Has range }} | |||
}} | }} | ||
}} | }} | ||
Line 208: | Line 221: | ||
}} | }} | ||
--> | --> | ||
{{#masterdata:SkillDescription| {{#if: {{#var:base skill 1 subobj|}}|{{#show: {{#var:base skill 1 subobj}} |?Has ID}}|{{#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 223: | Line 236: | ||
|{{#ask: | |{{#ask: | ||
[[Has game context::Skill]] | [[Has game context::Skill]] | ||
[[Has | [[Has ID::{{{base skill 2 id}}}]] | ||
[[Has effect ID::1]] | [[Has effect ID::1]] | ||
|link=none | |link=none | ||
Line 234: | Line 247: | ||
{{#if: {{#var:base skill 2 subobj|}}| | {{#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 242: | Line 256: | ||
}} | }} | ||
}} | }} | ||
{{#vardefine:base skill 2 range| | |||
{{#if: {{#var:base skill 2 subobj|}} | |||
|{{#show: {{#var:base skill 2 subobj}} |?Has range }} | |||
}} | |||
}} | |||
{{#vardefine:base skill 2 desc| | {{#vardefine:base skill 2 desc| | ||
Line 250: | Line 271: | ||
}} | }} | ||
--> | --> | ||
{{#masterdata:SkillDescription| {{#if: {{#var:base skill 2 subobj|}}|{{#show: {{#var:base skill 2 subobj}} |?Has ID}}|{{#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 263: | Line 284: | ||
|{{#ask: | |{{#ask: | ||
[[Has game context::Skill]] | [[Has game context::Skill]] | ||
[[Has | [[Has ID::{{{base skill 3 id}}}]] | ||
[[Has effect ID::1]] | [[Has effect ID::1]] | ||
|link=none | |link=none | ||
Line 274: | Line 295: | ||
{{#if: {{#var:base skill 3 subobj|}}| | {{#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:{{#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 282: | Line 304: | ||
}} | }} | ||
}} | }} | ||
{{#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| | ||
Line 290: | Line 319: | ||
}} | }} | ||
--> | --> | ||
{{#masterdata:SkillDescription| {{#if: {{#var:base skill 3 subobj|}}|{{#show: {{#var:base skill 3 subobj}} |?Has ID}}|{{#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 303: | Line 332: | ||
|{{#ask: | |{{#ask: | ||
[[Has game context::Skill]] | [[Has game context::Skill]] | ||
[[Has | [[Has ID::{{{base skill 4 id}}}]] | ||
[[Has effect ID::1]] | [[Has effect ID::1]] | ||
|link=none | |link=none | ||
Line 316: | Line 345: | ||
{{#if: {{#var:base skill 4 subobj|}} | {{#if: {{#var:base skill 4 subobj|}} | ||
|{{#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: {{#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:{{#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}} }} | |||
}} | }} | ||
Line 330: | Line 366: | ||
}} | }} | ||
--> | --> | ||
{{#masterdata:SkillDescription| {{#if: {{#var:base skill 4 subobj|}}|{{#show: {{#var:base skill 4 subobj}} |?Has ID}}|{{#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 339: | Line 375: | ||
}} | }} | ||
--> | --> | ||
{{#vardefine:charge skill subobj| | {{#vardefine:charge skill subobj| | ||
{{#if: {{{ | {{#if: {{{charge skill id|}}} | ||
|{{#ask: | |{{#ask: | ||
[[Has game context::Skill]] | [[Has game context::Skill]] | ||
[[Has ID::{{{ | [[Has ID::{{{charge skill id|}}}]] | ||
[[Has effect ID::1]] | [[Has effect ID::1]] | ||
|link=none | |link=none | ||
Line 354: | Line 390: | ||
}} | }} | ||
{{#vardefine:charge skill en name| | <!--{{#vardefine:charge skill en name| | ||
{{#if: {{#var:charge skill subobj|}} | {{#if: {{#var:charge skill subobj|}} | ||
|{{#show: {{#var:charge skill subobj}} |?Has English name }} | |{{#show: {{#var:charge skill subobj}} |?Has English name }} | ||
Line 410: | Line 446: | ||
{{#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 420: | Line 463: | ||
| Has game context = Transient | | Has game context = Transient | ||
| Has ID = {{#var:transient id|}} | | Has ID = {{#var:transient id|}} | ||
| Has character ID = {{{chara id| | | Has character ID = {{{chara id|}}} | ||
| Has Japanese name ={{{jp name|?}}} | | Has Japanese name ={{{jp name|?}}} | ||
| Has English name ={{{en name|?}}} | | Has English name ={{{en name|?}}} | ||
Line 428: | 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 443: | Line 487: | ||
| Has atk value = {{{atk|0}}} | | Has atk value = {{{atk|0}}} | ||
| Has atk growth value = {{{atk growth|0}}} | | Has atk growth value = {{{atk growth|0}}} | ||
| Has 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 summon date = {{ | | Has summon date = {{#var:summon date}} | ||
| Has weight = {{ | | Has weight = {{#var:weight}} | ||
| Has | | 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}}}}}; | | 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}}}}}; | | 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}}}}}; | | 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}}}}};{{# | | Has release date = {{#var:release date}} | ||
| Has | | 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 491: | 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 514: | Line 572: | ||
div.transient-infobox > div > .header .weapon-attribute { | div.transient-infobox > div > .header .weapon-attribute { | ||
<!-- 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 664: | Line 723: | ||
/* all, demon, none */ | /* all, demon, none */ | ||
div.all > .header, | div.all > .header, | ||
div.all-round | div.all-round > .header { | ||
background-color: #d4d4d4; | background-color: #d4d4d4; | ||
} | } | ||
Line 676: | Line 734: | ||
div.all > .body .data tr > th, | div.all > .body .data tr > th, | ||
div.all-round | div.all-round > .body .data tr > th { | ||
background-color: #dcdcdc; | background-color: #dcdcdc; | ||
} | } | ||
Line 689: | Line 746: | ||
div.all > .body .data tr > th + th, | div.all > .body .data tr > th + th, | ||
width: 100px; | width: 100px; | ||
div.all-round | div.all-round > .body .data tr > th + th { | ||
width: 100px; | width: 100px; | ||
background-color: #e3e3e3; | background-color: #e3e3e3; | ||
Line 735: | 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, | |||
div.null > .header { | |||
background-color: #f488cb; | |||
} | |||
div.zero > .body .data tr > th, | |||
div.null > .body .data tr > th { | |||
background-color: #f7a6d8; | |||
} | |||
div.zero > .body .data tr > th + th, | |||
width: 100px; | |||
div.null > .body .data tr > th + th { | |||
width: 100px; | |||
background-color: #fcbde4; | |||
} | |||
/* god */ | |||
div.god > .header, | |||
div.divine > .header { | |||
background-color: #32b4b4; | |||
} | |||
div.god > .body .data tr > th, | |||
div.divine > .body .data tr > th { | |||
background-color: #55c9c9; | |||
} | |||
div.god > .body .data tr > th + th, | |||
width: 100px; | |||
div.divine > .body .data tr > th + th { | |||
width: 100px; | |||
background-color: #85e0e0; | |||
} | |||
div.none > .body .data tr > th { | |||
background-color: #696969; | |||
} | |||
div.none > .body .data tr > th + th { | |||
width: 100px; | |||
background-color: #696969; | |||
} | } | ||
Line 789: | Line 905: | ||
{{#ifeq:{{#var:transientnumber}}|0|<h2>Transient Information</h2><div class='transientBox'><div class="tabs"></div></div>}}<div class="transient-infobox" id="transient{{#var:transientnumber}}"> | {{#ifeq:{{#var:transientnumber}}|0|<h2>Transient Information</h2><div class='transientBox'><div class="tabs"></div></div>}}<div class="transient-infobox" id="transient{{#var:transientnumber}}"> | ||
{{#ifeq:{{#var:transientnumber}}|0|<!--div class="tabs"></div-->}} | {{#ifeq:{{#var:transientnumber}}|0|<!--div class="tabs"></div-->}} | ||
<div class="transient-container {{#ifeq:{{#var:energy}}|?|none|{{lc:{{Energy|{{#var:energy}}}}}}}} transient{{#var:transientnumber}}"> | <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 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/ | <td class="weapon-attribute">{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/ui/button/{{#var:energy filename|ui_button_elm_none}}.png|width=60|height=60|loading=lazy}}{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon/icon_weapon_{{#var:weapon type filename|nothing}}.png|width=60|height=60|loading=lazy}}</td><td class="caption"> | ||
<div class="name">[{{#if:{{{en title|}}}|{{#if:{{{jp-en title|}}}|<u><span title="{{{jp-en title|}}}">{{{en title}}}</span></u>|{{{en title}}}}}|?}}] {{#if:{{{id|}}}|[https://app.housamo.xyz/cards/{{{id}}}/ {{{en name|?}}}]|{{{en name|?}}}}}<!--{{#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}}}}}|?}}] {{#if:{{{id|}}}|[https://app.housamo.xyz/cards/{{{id}}}/ {{{en name|?}}}]|{{{en name|?}}}}}<!--{{#ifeq:{{{surname|―}}}|―||{{{surname}}}}}--></div> | ||
<div class="sub">【{{#if:{{{jp title|}}}|{{{jp title}}}|?}}】{{#if:{{{jp name|}}}|{{#ifeq:{{{surname|―}}}|―||{{{surname}}}}}{{{jp name}}}|{{#ifeq: {{#var:availability}} | Unobtainable | |?}}}}</div> | <div class="sub">【{{#if:{{{jp title|}}}|{{{jp title}}}|?}}】{{#if:{{{jp name|}}}|{{#ifeq:{{{surname|―}}}|―||{{{surname}}}}}{{{jp name}}}|{{#ifeq: {{#var:availability}} | Unobtainable | |?}}}}</div> | ||
Line 801: | Line 917: | ||
<!--{{#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= | <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 809: | Line 925: | ||
<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 819: | Line 935: | ||
{{#if: {{{variant|}}} | {{#ifeq: {{lc:{{{variant}}}}} | standard | | | {{#if: {{{variant|}}} | {{#ifeq: {{lc:{{{variant}}}}} | standard | | | ||
<th>Variant</th> | <th>Variant</th> | ||
<td>{{{variant| | <td>{{Event link|{{{variant|}}}|unit={{{en name|}}}}}</td> | ||
}} | }} | ||
}} | }} | ||
Line 825: | Line 941: | ||
<tr> | <tr> | ||
{{#ifeq: {{{rarity|0}}} | 0 || | {{#ifeq: {{{rarity|0}}} | 0 || | ||
<th>Rarity</th> | <th>[[Rarity]]</th> | ||
<td>{{{rarity}}}</td> | <td>{{{rarity}}}</td> | ||
}} | }} | ||
{{#ifeq: {{{cost|0}}} | 0 || | {{#ifeq: {{{cost|0}}} | 0 || | ||
<th>Cost</th> | <th>[[Cost]]</th> | ||
<td>{{{cost}}}</td> | <td>{{{cost}}}</td> | ||
}} | }} | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th>HP</th> | <th>[[HP]]</th> | ||
<td>{{{hp|?}}}+{{{hp growth|?}}}*(Lv-1)</td> | <td>{{{hp|?}}}+{{{hp growth|?}}}*(Lv-1)</td> | ||
<th>ATK</th> | <th>[[ATK]]</th> | ||
<td>{{{atk|?}}}+{{{atk growth|?}}}*(Lv-1)</td> | <td>{{{atk|?}}}+{{{atk growth|?}}}*(Lv-1)</td> | ||
</tr> | </tr> | ||
Line 846: | Line 962: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th> | <th>{{Tooltip|Max HP|+20 Lv, +2000 HP}}</th> | ||
<td>{{#expr: {{{hp|0}}}+{{{hp growth|0}}}*({{#var:max lv|0}}+ | <td>{{#expr: {{{hp|0}}}+{{{hp growth|0}}}*({{#var:max lv|0}}+20-1) + 2000 }}</td> | ||
<th> | <th>{{Tooltip|Max ATK|+20 Lv, +2000 ATK}}</th> | ||
<td>{{#expr: {{{atk|0}}}+{{{atk growth|0}}}*({{#var:max lv|0}}+ | <td>{{#expr: {{{atk|0}}}+{{{atk growth|0}}}*({{#var:max lv|0}}+20-1) + 2000 }}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Line 872: | Line 988: | ||
<table class="data"> | <table class="data"> | ||
<tr> | <tr> | ||
<th colspan="3">Skills</th> | <th colspan="3">[[Skills]]</th> | ||
</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>}}}}--> | |||
<tr> | <tr> | ||
<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> | <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>}}}}--> | |||
<tr> | <tr> | ||
<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> | <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>}}}}--> | |||
<tr> | <tr> | ||
<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> | <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>}}}}--> | |||
<tr> | <tr> | ||
<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> | <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> | ||
</table> | </table> | ||
{{#if: {{#var:has skill evo|}} | | {{#if: {{#var:has skill evo|}} | | ||
<table class="data> | <table class="data"> | ||
<tr> | <tr> | ||
<th colspan="3">Skill Evolution(s)</th> | <th colspan="3">[[Skill Evolution]](s)</th> | ||
</tr> | </tr> | ||
<!-- {{#if: {{#var:base skill 1 evo|}} | | |||
<tr> | <tr> | ||
<th>[[{{#var:base skill 1 evo|}}|{{#var:base skill 1 en name|{{{base skill 1}}} }} Plus]]</th> | <th>[[{{#var:base skill 1 evo|}}|{{#var:base skill 1 en name|{{{base skill 1}}} }} Plus]]</th> | ||
Line 923: | Line 1,039: | ||
<th>[[{{#var:base skill 4 evo|}}|{{#var:base skill 4 en name|{{{base skill 4}}} }} Plus]]</th> | <th>[[{{#var:base skill 4 evo|}}|{{#var:base skill 4 en name|{{{base skill 4}}} }} Plus]]</th> | ||
<td>{{#masterdata:SkillDescription|{{#show: {{#var:base skill 4 evo}} |?Has ID}}}}</td> | <td>{{#masterdata:SkillDescription|{{#show: {{#var:base skill 4 evo}} |?Has ID}}}}</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> | ||
}} | }} | ||
Line 929: | Line 1,069: | ||
<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}}}">{{{charge skill name}}}</span></u>|{{{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]]{{#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> | |||
<td colspan="3">{{Equippable AR Equipment|{{{en name|{{{jp name|?}}}}}};{{Weapon type|{{#var:weapon type|?}}}};{{Energy|{{#var:energy|?}}}}}}</td> | |||
</tr>}} | |||
</table> | </table> | ||
<!--}}--> | <!--}}--> | ||
Line 986: | Line 1,129: | ||
{{#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 992: | Line 1,135: | ||
{{#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,004: | Line 1,147: | ||
<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> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#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> | <tr> | ||
<th>Weight (kg)</th> | <th>Weight (kg)</th> | ||
<td>{{ | <td>{{#var:weight}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{ | {{#if:{{#var:height}}| | ||
<tr> | <tr> | ||
<th>Height (cm)</th> | <th>Height (cm)</th> | ||
<td>{{ | <td>{{#var:height}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{ | {{#if:{{#var:summon date}}| | ||
<tr> | <tr> | ||
<th>Summon Date</th> | <th>Summon Date</th> | ||
<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,029: | Line 1,196: | ||
<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,037: | Line 1,204: | ||
<tr> | <tr> | ||
<th colspan="3">[[{{#var:enemy}}|Enemy-only]]</th> | <th colspan="3">[[{{#var:enemy}}|Enemy-only]]</th> | ||
</tr> | |||
</table> | |||
|}} | |||
{{#ifeq:{{{partial|}}}|true| | |||
<table class="data transientInfo{{#var:transientnumber}}"> | |||
<tr> | |||
<th colspan="3">Partial Entry</th> | |||
</tr> | </tr> | ||
</table> | </table> | ||
Line 1,047: | Line 1,221: | ||
<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|}}}|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> | {{#if:{{{cdn skin artwork|}}}|{{#tag:masterdataskins|{{{cdn skin artwork|}}}|selector-chara-relations=#charaRelations{{{chara id|0}}}|voice={{#var:transient voice filename|}}|selector-fg=div.transient{{#var:transientnumber}} > .artwork > img|selector-icon=td.icon.transient{{#var:transientnumber}} > img|flags={{#var:transient voice condition|}}}}{{#vardefine:transient voice filename|}}{{#vardefine:transient voice condition|}}|}}</div> | ||
</div></div>{{#ifexpr:{{{charge skill id|0}}}>0|{{#masterdata:Skill|{{{charge skill id|0}}}|format=blank}}}}{{# | </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 1,069: | Line 1,243: | ||
| man = Male | | man = Male | ||
| woman = Female | | woman = Female | ||
| 無 = Unknown gender | | 無 | none = Unknown gender | ||
|#default = {{{sex|Unknown gender}}} | |#default = {{{sex|Unknown gender}}} | ||
}} transients]] | }} transients]] | ||
Line 1,086: | Line 1,260: | ||
|titlemode=replace | |titlemode=replace | ||
|keywords=tokyo,afterschool,summoners,housamo,wiki,東京放課後サモナーズ,放サモ,{{{jp name|}}},{{{en name|}}} | |keywords=tokyo,afterschool,summoners,housamo,wiki,東京放課後サモナーズ,放サモ,{{{jp name|}}},{{{en name|}}} | ||
|description={{Star | |description={{Star}}{{{rarity|0}}}, {{Energy|{{#var:energy}}}}-typed {{Weapon type|{{#var:weapon type}}}} unit. | ||
|og:image={{filepath:{{#ifexist:File:{{{icon|}}}.png|{{{icon}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{#ifexist:File:{{{en name}}}_{{{rarity}}}star_icon.png|{{{en name}}}_{{{rarity}}}star_icon.png|}}}}}}}} | |og:image={{filepath:{{#ifexist:File:{{{icon|}}}.png|{{{icon}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{#ifexist:File:{{{en name}}}_{{{rarity}}}star_icon.png|{{{en name}}}_{{{rarity}}}star_icon.png|}}}}}}}} | ||
|og:title={{{en name|{{{jp name|}}}}}} - Tokyo Afterschool Summoners Wiki | |og:title={{{en name|{{{jp name|}}}}}} - Tokyo Afterschool Summoners Wiki | ||
}}}}}}</includeonly><noinclude> | }}}}}}</includeonly><noinclude>{{Documentation}}</noinclude> | ||
{{ | |||
</noinclude> |
Latest revision as of 12:16, 2 December 2024
Description
This templates creates an infobox and subobject for a Transient. Please do not directly invoke this template.
An example to feed override parameters (such as translation names) are:
{{#vardefine:transient en name|Name}} {{#vardefine:transient en title|Title}} {{#vardefine:transient availability|Available}} {{#vardefine:transient acquisition|Gacha}} {{#vardefine:transient en jingi|Charge Skill Name}} {{#vardefine:transient species|Species}} {{#vardefine:transient en group|Affiliation Name}} {{#vardefine:transient gate|Gate Name}} {{#vardefine:transient jp en research file|Translation for Japanese Research File}} {{#vardefine:transient release date|2016-12-01}} {{#vardefine:transient release version|1.0.0}} {{#vardefine:transient height|166}} {{#vardefine:transient weight|96}} {{#vardefine:transient summon date|8/7}}
To invoke this template properly, use (after the vardefines):
{{#masterdata:Card|CARDID}}
Example:
Example
[Burning Jotunn] [1]
【黒炎の巨人】スルト
|
|
Research Files
| ||
| ||
|
Relation | From Others | To Others | |
---|---|---|---|
Like | → | → | |
Dislike | → | → |
Consult other transient pages for additional undocumented options.
The above documentation is transcluded from Template:Transient extended infobox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |