Template:Info grid card: Difference between revisions
From Tears of Themis Wiki
imported>Elaeagnifolia No edit summary |
(size limit on new still images) |
||
(26 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 8: | Line 27: | ||
<div class="info-grid-image"> | <div class="info-grid-image"> | ||
{{tab/start}} | {{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}} | {{tab/header|Evolve 1}} | ||
[[File:{{{ | [[File:{{{image2|}}}]] | ||
{{# | {{#switch:{{{rarity|}}} | ||
|SR | |||
|SSR | |||
|SSS= | |||
{{tab/header|Evolve 2}} | {{tab/header|Evolve 2}} | ||
[[File:{{{ | [[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}} | {{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 36: | Line 74: | ||
|header=Obtain | |header=Obtain | ||
|content= | |content= | ||
{{Info grid table row|content={{{obtain|}}}}} | {{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> |