Bureaucrats, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
10,685
edits
m (Mrquiggles moved page Template:Companion infobox to Template:Transient infobox) |
|||
Line 283: | Line 283: | ||
}}<!--create vars end-->{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> | <!-- | }}<!--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: | 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: | -->{{#subobject:transient{{#vardefineecho:transientnumber|{{#expr:{{#var:transientnumber|-1}}+1}}}} | ||
| Has game context = | | Has game context = Transient | ||
| Has Japanese name ={{{jp name|?}}} | | Has Japanese name ={{{jp name|?}}} | ||
| Has English name ={{{en name|?}}} | | Has English name ={{{en name|?}}} | ||
Line 344: | Line 344: | ||
}}<!-- end subobject | }}<!-- end subobject | ||
-->{{#css: | -->{{#css: | ||
div. | div.transient-infobox { | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
padding-bottom: 2px; | padding-bottom: 2px; | ||
Line 353: | Line 353: | ||
} | } | ||
div. | div.transient-infobox > .header { | ||
width: auto; | width: auto; | ||
margin: 4px 4px 2px 4px; | margin: 4px 4px 2px 4px; | ||
Line 359: | Line 359: | ||
} | } | ||
div. | div.transient-infobox > .header .icon { | ||
float: left; | float: left; | ||
vertical-align: bottom; | vertical-align: bottom; | ||
} | } | ||
div. | div.transient-infobox > .header .caption { | ||
color: #000000; | color: #000000; | ||
font-size: 1.5em; | font-size: 1.5em; | ||
Line 372: | Line 372: | ||
} | } | ||
div. | div.transient-infobox > .header .caption > .name { | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
div. | div.transient-infobox > .header .caption > .sub { | ||
font-size: 0.8em; | font-size: 0.8em; | ||
} | } | ||
div. | div.transient-infobox .body { | ||
clear: both; | clear: both; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
} | } | ||
div. | div.transient-infobox .body tr td { | ||
margin: 0px; padding: 0px; | margin: 0px; padding: 0px; | ||
} | } | ||
div. | div.transient-infobox .body .artwork { | ||
margin: 0px 2px 4px 4px; | margin: 0px 2px 4px 4px; | ||
width: 300px; | width: 300px; | ||
Line 395: | Line 395: | ||
} | } | ||
div. | div.transient-infobox .body .artwork img { | ||
display: inline-block; | display: inline-block; | ||
max-width: 100%; | max-width: 100%; | ||
Line 402: | Line 402: | ||
} | } | ||
div. | div.transient-infobox .body .data { | ||
width: 388px; | width: 388px; | ||
margin: 0px 2px 2px 2px; | margin: 0px 2px 2px 2px; | ||
Line 408: | Line 408: | ||
} | } | ||
div. | div.transient-infobox .body .data tr:not(:first-child) th { | ||
border-top: 2px solid #f9f9f9; | border-top: 2px solid #f9f9f9; | ||
border-right: 2px solid #f9f9f9; | border-right: 2px solid #f9f9f9; | ||
} | } | ||
div. | div.transient-infobox .body .data tr td { | ||
padding-left: 0.5em; | padding-left: 0.5em; | ||
padding-right: 0.5em; | padding-right: 0.5em; | ||
Line 419: | Line 419: | ||
} | } | ||
div. | div.transient-infobox .body .data tr:not(:first-child) td { | ||
border-top: 2px solid #f9f9f9; | border-top: 2px solid #f9f9f9; | ||
} | } | ||
Line 548: | Line 548: | ||
}} | }} | ||
<div class=" | <div class="transient-infobox {{#ifeq:{{#var:energy}}|?|none|{{lc:{{Energy|{{#var:energy}}}}}}}}" id="transient{{#var:transientnumber}}"> | ||
<div class="header"> | <div class="header"> | ||
<table> | <table> | ||
Line 719: | Line 719: | ||
</tr> | </tr> | ||
</table> | </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: | {{#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><!-- | </div><!-- | ||
Line 729: | Line 729: | ||
| | | | ||
<!-- energy --> | <!-- energy --> | ||
{{#ifeq: {{Energy|{{#var:energy}}}} | ? | [[Category: | {{#ifeq: {{Energy|{{#var:energy}}}} | ? | [[Category:Transients with unknown energy]] | | ||
[[Category:{{Energy|{{#var:energy}}}} | [[Category:{{Energy|{{#var:energy}}}} transients]] | ||
}} | }} | ||
<!-- weapon type --> | <!-- weapon type --> | ||
{{#ifeq: {{Weapon type|{{{weapon type|}}}}} | ? | [[Category: | {{#ifeq: {{Weapon type|{{{weapon type|}}}}} | ? | [[Category:Transients with unknown weapon type]] | | ||
[[Category:{{Weapon type|{{{weapon type}}}}} | [[Category:{{Weapon type|{{{weapon type}}}}} transients]] | ||
}} | }} | ||
<!-- availability --> | <!-- availability --> | ||
{{#ifeq: {{#var:availability}} | Current | | | {{#ifeq: {{#var:availability}} | Current | | | ||
[[Category:{{#var:availability}} | [[Category:{{#var:availability}} transients]] | ||
}} | }} | ||
}}</includeonly><includeonly>{{#ifeq:{{PAGENAME}}| | }}</includeonly><includeonly>{{#ifeq:{{PAGENAME}}|Transient infobox||{{#ifeq:{{#var:transientnumber|0}}|0|{{#seo: | ||
|title={{{en name|{{{jp name|}}}}}} - Tokyo Afterschool Summoners Wiki | |title={{{en name|{{{jp name|}}}}}} - Tokyo Afterschool Summoners Wiki | ||
|titlemode=replace | |titlemode=replace | ||
Line 756: | Line 756: | ||
== Usage == | == Usage == | ||
<pre>{{ | <pre>{{Transient infobox | ||
| jp name = | | jp name = | ||
| en name = | | en name = | ||
Line 785: | Line 785: | ||
=== Parameters === | === Parameters === | ||
; jp name : Japanese name of the | ; jp name : Japanese name of the transient. | ||
; en name : English name of the | ; en name : English name of the transient. | ||
; jp title : Japanese title. | ; jp title : Japanese title. | ||
; en title : Translated English title. | ; en title : Translated English title. | ||
Line 792: | Line 792: | ||
; icon : Filename of the icon on the wiki. Automatically adds <code>.png</code> as the file extension. | ; icon : Filename of the icon on the wiki. Automatically adds <code>.png</code> as the file extension. | ||
; skin artwork : Filename of the skin artwork on the wiki. Automatically adds <code>.png</code> as the file extension. | ; skin artwork : Filename of the skin artwork on the wiki. Automatically adds <code>.png</code> as the file extension. | ||
; rarity : Rarity of the | ; rarity : Rarity of the transient. | ||
; cost : Team cost of the | ; cost : Team cost of the transient. | ||
; energy : Japanese energy of the | ; energy : Japanese energy of the transient. See [[Property:Has energy]] for a list of allowed values. | ||
; variant : Variant of the | ; variant : Variant of the transient. Defaults to ''Standard''. | ||
; availability : Availability of the | ; availability : Availability of the transient. See [[Property:Has availability]] for a list of allowed values. If set to ''Unobtainable'', many parameters will automatically be omitted. | ||
; acquisition : Method of acquisition of the | ; acquisition : Method of acquisition of the transient. | ||
; weapon type : Japanese weapon type of the | ; weapon type : Japanese weapon type of the transient. See [[Property:Has weapon type]] for a list of allowed values. | ||
; base skill 1 : Japanese skill name of the default base skill. | ; base skill 1 : Japanese skill name of the default base skill. | ||
; base skill 2 : Japanese skill name of the base skill learnt after the first limit break. | ; base skill 2 : Japanese skill name of the base skill learnt after the first limit break. | ||
Line 812: | Line 812: | ||
== Examples == | == Examples == | ||
<pre>{{ | <pre>{{Transient infobox | ||
| jp name = モリタカ | | jp name = モリタカ | ||
| en name = Moritaka | | en name = Moritaka | ||
Line 840: | Line 840: | ||
| voice actor = 山口勝平 | | voice actor = 山口勝平 | ||
}}</pre> | }}</pre> | ||
{{ | {{Transient infobox | ||
| jp name = モリタカ | | jp name = モリタカ | ||
| en name = Moritaka | | en name = Moritaka | ||
Line 869: | Line 869: | ||
}} | }} | ||
<pre>{{ | <pre>{{Transient infobox | ||
| jp name = モリタカ | | jp name = モリタカ | ||
| en name = Moritaka | | en name = Moritaka | ||
Line 899: | Line 899: | ||
| voice actor = 山口勝平 | | voice actor = 山口勝平 | ||
}}</pre> | }}</pre> | ||
{{ | {{Transient infobox | ||
| jp name = モリタカ | | jp name = モリタカ | ||
| en name = Moritaka | | en name = Moritaka | ||
Line 930: | Line 930: | ||
}} | }} | ||
<pre>{{ | <pre>{{Transient infobox | ||
| jp name = | | jp name = | ||
| en name = Tetsuya | | en name = Tetsuya | ||
Line 959: | Line 959: | ||
| voice actor = | | voice actor = | ||
}}</pre> | }}</pre> | ||
{{ | {{Transient infobox | ||
| jp name = | | jp name = | ||
| en name = Tetsuya | | en name = Tetsuya |