Template:Info grid card: Difference between revisions

From Tears of Themis Wiki
imported>Elaeagnifolia
(Created page with "<noinclude>{{doc}}Category:Templates</noinclude><includeonly>{{Page header |left={{{rarity|}}} |center={{{name|{{PAGENAME}}}}} |right={{Card type icon|{{{attribute|}}}}} }...")
 
(size limit on new still images)
 
(34 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}}}}}
|right={{Card type icon|{{{attribute|}}}}}
|centerSubheader={{{character|}}}
|right={{Attribute icon|{{{attribute|}}}|size=32px}}
}}
}}


<div class="info-grid">
<div class="info-grid">
<div class="info-grid-image">
<div class="info-grid-image">
[[File:{{{image|}}}|link=]]
{{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
|content=
|content=
{{Info grid table row|label=Name|content={{{name|}}}}}
{{Info grid table row|label=Card Name|content={{{name|{{PAGENAME}}}}}}}
{{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|}}}}}
{{Info grid table row|label=Max Defense|content={{{maxDefense|}}}}}
{{Info grid table row|label=Max Defense|content={{{maxDefense|}}}}}
}}
{{Info grid table
|header=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>

Latest revision as of 21:35, 2 November 2023