Template:Info grid card: Difference between revisions
From Tears of Themis Wiki
imported>Elaeagnifolia No edit summary |
(size limit on new still images) |
||
(30 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{Page header | <noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly><!-- | ||
|left={{{rarity|}}} | ### CSS | ||
-->{{#css: | |||
.info-grid-image .no-history-tabber-panel .oo-ui-widget.oo-ui-selectWidget { | |||
text-align: center; | |||
} | |||
.info-grid-image video { | |||
width: auto !important; | |||
height: auto !important; | |||
max-height: 600px !important; | |||
} | |||
}}<!-- | |||
### Template Display | |||
-->{{Page header | |||
|left=[[File:{{{rarity|}}} icon.png|link=|x36px|alt={{{rarity|}}} icon]] | |||
|center={{{name|{{PAGENAME}}}}} | |center={{{name|{{PAGENAME}}}}} | ||
|centerSubheader={{{character|}}} | |||
|right={{Attribute icon|{{{attribute|}}}|size=32px}} | |right={{Attribute icon|{{{attribute|}}}|size=32px}} | ||
}} | }} | ||
Line 7: | Line 26: | ||
<div class="info-grid"> | <div class="info-grid"> | ||
<div class="info-grid-image"> | <div class="info-grid-image"> | ||
[[File:{{{ | {{tab/start}} | ||
{{#ifeq:{{{rarity|}}} | R |<nowiki/> | |||
{{tab/header|Base}} | |||
[[File:{{{image1|}}}|300px]] | |||
{{tab/header|Evolve 1}} | |||
[[File:{{{image2|}}}|300px]] | |||
|<nowiki/> | |||
{{tab/header|Base}} | |||
[[File:{{{image1|}}}]] | |||
{{tab/header|Evolve 1}} | |||
[[File:{{{image2|}}}]] | |||
{{#switch:{{{rarity|}}} | |||
|SR | |||
|SSR | |||
|SSS= | |||
{{tab/header|Evolve 2}} | |||
[[File:{{{image3|}}}]] | |||
}} | |||
{{tab/header|Base (Still)}} | |||
[[File:{{{still1|}}}|600x600px]] | |||
{{tab/header|Evolve 1 (Still)}} | |||
[[File:{{{still2|}}}|600x600px]] | |||
{{#switch:{{{rarity|}}} | |||
|SR | |||
|SSR | |||
|SSS= | |||
{{tab/header|Evolve 2 (Still)}} | |||
[[File:{{{still3|}}}|600x600px]] | |||
}} | |||
}} | |||
{{tab/end}} | |||
</div> | </div> | ||
<div class="info-grid-general"> | <div class="info-grid-general" style="padding-top: 1em;"> | ||
{{Info grid table | {{Info grid table | ||
|header=General | |header=General | ||
Line 16: | Line 65: | ||
{{Info grid table row|label=Character|content={{{character|}}}}} | {{Info grid table row|label=Character|content={{{character|}}}}} | ||
{{Info grid table row|label=Rarity|content={{{rarity|}}}}} | {{Info grid table row|label=Rarity|content={{{rarity|}}}}} | ||
{{Info grid table row|label=Attribute|content={{{attribute|}}}}} | {{Info grid table row|label=Attribute|content={{Attribute icon|{{{attribute|}}}|size=24px}} {{{attribute|}}}}} | ||
{{Info grid table row|label=Max Power|content={{{maxPower|}}}}} | {{Info grid table row|label=Max Power|content={{{maxPower|}}}}} | ||
{{Info grid table row|label=Max Influence|content={{{maxInfluence|}}}}} | {{Info grid table row|label=Max Influence|content={{{maxInfluence|}}}}} | ||
Line 24: | Line 73: | ||
{{Info grid table | {{Info grid table | ||
|header=Obtain | |header=Obtain | ||
|content={{{obtain|-}}} | |content= | ||
{{Info grid table row|label=Source|content={{{obtain|}}}}} | |||
{{#ifeq:{{{originalEvent|}}} | | | <nowiki/> | |||
{{Info grid table row|label=Introduced in Event|content={{{originalEvent|}}}}} | |||
}} | |||
{{Info grid table row|label=Release Date|content={{#explode:{{{releaseDate|2021-07-29 12:00:00}}}| |0}}}} | |||
}} | |||
{{#ifeq:{{{obtainQuote|}}} | | | <nowiki/> | |||
{{Info grid table | |||
|header=Obtain Quote | |||
|content= | |||
{{Info grid table row|content=''"{{{obtainQuote|}}}"''}} | |||
}} | |||
}} | |||
{{#ifeq:{{{nameCH|}}} | | | <nowiki/> | |||
{{Info grid table | |||
|header=Card Name in Other Language(s) | |||
|content= | |||
{{Info grid table row|label=Chinese|content={{{nameCH|}}}}} | |||
{{Info grid table row|label=Japanese|content={{{nameJP|}}}}} | |||
{{Info grid table row|label=Korean|content={{{nameKR|}}}}} | |||
}} | |||
}} | }} | ||
</div> | </div> | ||
</div></includeonly> | </div></includeonly> |