Difference between revisions of "Template:Transient extended infobox"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) (Put the equippable ar template in) |
SurtrFan8511 (talk | contribs) (Separating element icon from weapon icon) |
||
(50 intermediate revisions by 5 users not shown) | |||
Line 11: | Line 11: | ||
| 7 | 英雄 | hero | valiant = 英雄 | | 7 | 英雄 | hero | valiant = 英雄 | ||
| 8 | 世界 | world = 世界 | | 8 | 世界 | world = 世界 | ||
| 9 | | | 9 | 無限 | infinity | infinite | mugen = 無限 | ||
| 10 | 零 | zero | null = 零 | |||
| 11 | 神 | god = 神 | |||
|#default = ? | |#default = ? | ||
}} | }} | ||
Line 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 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 444: | 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 451: | 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 459: | 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 478: | 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}}}}}; | | 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 524: | 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 547: | 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 697: | 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 709: | 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 722: | 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 768: | 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 827: | 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/ | <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 842: | 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 879: | Line 957: | ||
</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 908: | 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>}}}}--> | |||
<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>}}}}--> | |||
<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>}}}}--> | |||
<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>}}}}--> | |||
<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 986: | 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> | ||
Line 1,046: | 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,052: | 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,065: | Line 1,143: | ||
<th>Gate</th> | <th>Gate</th> | ||
<td>{{#ifeq:{{{gate|}}}|Unknown|Unknown|[[{{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,083: | 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,089: | 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,153: | Line 1,255: | ||
|titlemode=replace | |titlemode=replace | ||
|keywords=tokyo,afterschool,summoners,housamo,wiki,東京放課後サモナーズ,放サモ,{{{jp name|}}},{{{en name|}}} | |keywords=tokyo,afterschool,summoners,housamo,wiki,東京放課後サモナーズ,放サモ,{{{jp name|}}},{{{en name|}}} | ||
|description={{Star | |description={{Star}}{{{rarity|0}}}, {{Energy|{{#var:energy}}}}-typed {{Weapon type|{{#var:weapon type}}}} unit. | ||
|og:image={{filepath:{{#ifexist:File:{{{icon|}}}.png|{{{icon}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{#ifexist:File:{{{en name}}}_{{{rarity}}}star_icon.png|{{{en name}}}_{{{rarity}}}star_icon.png|}}}}}}}} | |og:image={{filepath:{{#ifexist:File:{{{icon|}}}.png|{{{icon}}}.png|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|{{#ifexist:File:{{{en name}}}_{{{rarity}}}star_icon.png|{{{en name}}}_{{{rarity}}}star_icon.png|}}}}}}}} | ||
|og:title={{{en name|{{{jp name|}}}}}} - Tokyo Afterschool Summoners Wiki | |og:title={{{en name|{{{jp name|}}}}}} - Tokyo Afterschool Summoners Wiki | ||
}}}}}}</includeonly><noinclude> | }}}}}}</includeonly><noinclude>{{Documentation}}</noinclude> | ||
{{ | |||
</noinclude> |
Latest revision as of 12:20, 14 July 2024
Description
This templates creates an infobox and subobject for a Transient. Please do not directly invoke this template.
An example to feed override parameters (such as translation names) are:
{{#vardefine:transient en name|Name}} {{#vardefine:transient en title|Title}} {{#vardefine:transient availability|Available}} {{#vardefine:transient acquisition|Gacha}} {{#vardefine:transient en jingi|Charge Skill Name}} {{#vardefine:transient species|Species}} {{#vardefine:transient en group|Affiliation Name}} {{#vardefine:transient gate|Gate Name}} {{#vardefine:transient jp en research file|Translation for Japanese Research File}} {{#vardefine:transient release date|2016-12-01}} {{#vardefine:transient release version|1.0.0}} {{#vardefine:transient height|166}} {{#vardefine:transient weight|96}} {{#vardefine:transient summon date|8/7}}
To invoke this template properly, use (after the vardefines):
{{#masterdata:Card|CARDID}}
Example:
Example
[Burning Jotunn] [1]
【黒炎の巨人】スルト
|
|
Research Files
| ||
| ||
|
Relation | From Others | To Others | |
---|---|---|---|
Like | → | → | |
Dislike | → | → |
Consult other transient pages for additional undocumented options.
The above documentation is transcluded from Template:Transient extended infobox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |