Difference between revisions of "Template:CardInfo"

From A3! Wiki
m (Reverted edits by Yukari25mbcms (talk) to last revision by Mátame)
(Tag: Rollback)
m
Line 51: Line 51:
 
|-
 
|-
 
| 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"><tab name="Bloomed">{{#cargo_query:table=Card_Files,Cards|join on=Card_Files.number = Cards.number|fields=CONCAT('[[File:', image2, '|350px]]') = display|where=Cards.cardname LIKE "%{{#titleparts: {{PAGENAME}} | 2 | 3 }}%" AND Cards.chara LIKE "{{#titleparts: {{FULLPAGENAME}} | 1 | 2 }}"}}</tab></tabs> | no | No | #default = <tabs plain style="margin:0 auto"><tab name="Unbloomed">{{#cargo_query:table=Card_Files,Cards|join on=Card_Files.number = Cards.number|fields=CONCAT('[[File:', image1, '|350px]]') = display|where=Cards.cardname LIKE "%{{#titleparts: {{PAGENAME}} | 2 | 3 }}%" AND Cards.chara LIKE "{{#titleparts: {{FULLPAGENAME}} | 1 | 2 }}" }}</tab><tab name="Bloomed">{{#cargo_query:table=Card_Files,Cards|join on=Card_Files.number = Cards.number|fields=CONCAT('[[File:', image2, '|350px]]') = display|where=Cards.cardname LIKE "%{{#titleparts: {{PAGENAME}} | 2 | 3 }}%" AND Cards.chara LIKE "{{#titleparts: {{FULLPAGENAME}} | 1 | 2 }}"}}</tab></tabs> }}
+
{{#switch: {{{prebloomed|}}} | yes | Yes= <tabs plain style="margin:0 auto"><tab name="Bloomed">{{#cargo_query:table=Card_Files,Cards|join on=Card_Files.number = Cards.number|fields=CONCAT('[[File:', image2, '|350px]]') = display|where=Cards.cardname = "{{{cardname|}}}" AND Cards.chara LIKE "{{#titleparts: {{FULLPAGENAME}} | 1 | 2 }}"}}</tab></tabs> | no | No | #default = <tabs plain style="margin:0 auto"><tab name="Unbloomed">{{#cargo_query:table=Card_Files,Cards|join on=Card_Files.number = Cards.number|fields=CONCAT('[[File:', image1, '|350px]]') = display|where=Cards.cardname = "{{{cardname|}}}" AND Cards.chara LIKE "{{#titleparts: {{FULLPAGENAME}} | 1 | 2 }}" }}</tab><tab name="Bloomed">{{#cargo_query:table=Card_Files,Cards|join on=Card_Files.number = Cards.number|fields=CONCAT('[[File:', image2, '|350px]]') = display|where=Cards.cardname LIKE "%{{#titleparts: {{PAGENAME}} | 2 | 3 }}%" AND Cards.chara LIKE "{{#titleparts: {{FULLPAGENAME}} | 1 | 2 }}"}}</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|}}}】

Revision as of 01:07, 15 May 2020