Difference between revisions of "Template:Card Page"
From A3! Wiki
m |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{#cargo_query: tables=Cards,Card_Stats,Card_Data,Card_Files | {{#cargo_query: tables=Cards,Card_Stats,Card_Data,Card_Files | ||
|join on=Cards.number=Card_Stats.number, Cards.number=Card_Data.number, Cards.number=Card_Files.number | |join on=Cards.number=Card_Stats.number, Cards.number=Card_Data.number, Cards.number=Card_Files.number | ||
− | |fields=Cards.number=number,Cards.prebloomed=prebloomed,Cards.trainingcard,Cards.chara=character,Cards.attribute=attribute,Cards.rarity=rarity,Cards.troupe=troupe,Cards.cardset=cardset,Cards.cardname=cardname,Card_Data.cardname_jp=cardnamejp,Card_Data.leadskill_en=leadskill,Card_Data.adlib_en=adlibskill,Card_Data.quote_jp=quotejp,Card_Data.quote_en=quote,Card_Data.backstage_jp,Card_Data.backstage_en=backstagename,Card_Data.bsother_jp,Card_Data.bsother_en=bsother,Card_Data.bsother_type=bsother_type,Card_Data.ssr_jp=ssr_jp,Card_Data.ssr_en=ssr_en | + | |fields=Cards.number=number,Cards.prebloomed=prebloomed,Cards.trainingcard,Cards.chara=character,Cards.attribute=attribute,Cards.rarity=rarity,Cards.troupe=troupe,Cards.cardset=cardset,Cards.cardname=cardname,Card_Data.cardname_jp=cardnamejp,Card_Data.leadskill_jp=leadskill_jp,Card_Data.leadskill_en=leadskill,Card_Data.adlib_jp=adlib_jp,Card_Data.adlib_en=adlibskill,Card_Data.quote_jp=quotejp,Card_Data.quote_en=quote,Card_Data.backstage_jp=backstage_jp,Card_Data.backstage_en=backstagename,Card_Data.bsother_jp,Card_Data.bsother_en=bsother,Card_Data.bsother_type=bsother_type,Card_Data.ssr_jp=ssr_jp,Card_Data.ssr_en=ssr_en |
− | |where=Cards.cardname="{{ | + | |where=Cards.cardname="{{#titleparts: {{PAGENAME}} | 2 | 3 }}" AND Cards.chara="{{#titleparts: {{PAGENAME}} | 1 | 2 }}" |
|format=template | |format=template | ||
|template=CardInfo | |template=CardInfo |