Difference between revisions of "Template:CardInfo"
From A3! Wiki
Line 48: | Line 48: | ||
{| {{#if: {{{character|}}} |class="infobox {{Character to Troupe |characterfirst={{{character}}} }} }}table" | {| {{#if: {{{character|}}} |class="infobox {{Character to Troupe |characterfirst={{{character}}} }} }}table" | ||
|- | |- | ||
− | ! colspan="2 | + | ! colspan="2" style="font-size:1.1rem; padding:0.5em" | [[File:{{{attribute|}}}.png|30px|link=]] [[File:{{Template:Character to Troupe|character={{{character}}} }} troupe.png|30px|link=]] {{Rarity|rarity={{{rarity|}}}|size=30}}<br>{{{cardname|}}} |
|- | |- | ||
| colspan="2" style="padding:0.5em; text-align:center" | | | colspan="2" style="padding:0.5em; text-align:center" | | ||
{{#switch: {{{prebloomed|}}} | yes | Yes= <tabs plain style="margin:0 auto"> | {{#switch: {{{prebloomed|}}} | yes | Yes= <tabs plain style="margin:0 auto"> | ||
− | <tab name="Bloomed">[[File:({{{cardname}}}) {{Character to Troupe |characterfirst={{{character}}} }} {{{attribute|}}} {{{rarity}}}+.png| | + | <tab name="Bloomed">[[File:({{{cardname}}}) {{Character to Troupe |characterfirst={{{character}}} }} {{{attribute|}}} {{{rarity}}}+.png|300px]]</tab></tabs> | no | No |
| #default = <tabs plain style="margin:0 auto"> | | #default = <tabs plain style="margin:0 auto"> | ||
− | <tab name="Unbloomed">[[File:({{{cardname}}}) {{Character to Troupe |characterfirst={{{character}}} }} {{{attribute|}}} {{{rarity}}}.png| | + | <tab name="Unbloomed">[[File:({{{cardname}}}) {{Character to Troupe |characterfirst={{{character}}} }} {{{attribute|}}} {{{rarity}}}.png|300px]]</tab> |
− | <tab name="Bloomed">[[File:({{{cardname}}}) {{Character to Troupe |characterfirst={{{character}}} }} {{{attribute|}}} {{{rarity}}}+.png| | + | <tab name="Bloomed">[[File:({{{cardname}}}) {{Character to Troupe |characterfirst={{{character}}} }} {{{attribute|}}} {{{rarity}}}+.png|300px]]</tab></tabs> }} |
|- | |- | ||
| colspan="2" align="center" style="font-size:1.1rem; padding:0.5em;" | 【{{{cardnamejp|}}}】 | | colspan="2" align="center" style="font-size:1.1rem; padding:0.5em;" | 【{{{cardnamejp|}}}】 | ||
Line 101: | Line 101: | ||
|heights=300px | |heights=300px | ||
}} | }} | ||
+ | {{#tag: gallery| | ||
+ | {{#switch: {{{prebloomed|}}} | yes | Yes=({{{cardname}}}) {{Character to Troupe |characterfirst={{{character}}} }} {{{attribute|}}} {{{rarity}}}+.png | ||
+ | |#default= | ||
+ | ({{{cardname}}}) {{Character to Troupe |characterfirst={{{character}}} }} {{{attribute|}}} {{{rarity}}}.png | ||
+ | ({{{cardname}}}) {{Character to Troupe |characterfirst={{{character}}} }} {{{attribute|}}} {{{rarity}}}+.png | ||
+ | }} | ||
=Chibis= | =Chibis= | ||
{{#cargo_query:tables=Cards,Card_Chibis | {{#cargo_query:tables=Cards,Card_Chibis |