Difference between revisions of "Template:Scout"
From A3! Wiki
Fimbulvetr (talk | contribs) |
Fimbulvetr (talk | contribs) |
||
Line 5: | Line 5: | ||
</ul></div> | </ul></div> | ||
{{#if: {{{banner|}}} | [[File:{{{banner}}}|frameless|link=|{{{scoutname}}}]] | }}</div> | {{#if: {{{banner|}}} | [[File:{{{banner}}}|frameless|link=|{{{scoutname}}}]] | }}</div> | ||
− | {{#cargo_query:tables=Scout,Cards, | + | {{#cargo_query:tables=Scout,Cards,Card_Files|join on=Scout.name_en = Cards.cardset, Cards.number = Card_Files.number|fields=Cards.rarity,Cards.chara,Card_Files.image1,CONCAT(Cards.rarity,' [[',Cards.chara,']]')=caption|where=Scout.name_en="{{{scout1|}}}" OR Scout.name_en="{{{scout2|}}}"|order by=rarity DESC|format=gallery|mode=nolines|show bytes=0|show filename=0|caption field=caption|default=' '}} | <ul>{{#cargo_query:tables=Scout,Cards|join on=Scout.name_en = Cards.cardset|fields=Cards.rarity,Cards.cardname,Cards.chara|where=Scout.name_en="{{{scoutname|}}}"|order by=rarity DESC|format=template|template=Scout/Cards|named args=yes}} |
</ul></div> | </ul></div> | ||
{{#if: {{{banner|}}} | [[File:{{{banner}}}|frameless|link=|{{{scoutname}}}]] | }}</div> | {{#if: {{{banner|}}} | [[File:{{{banner}}}|frameless|link=|{{{scoutname}}}]] | }}</div> | ||
− | {{#cargo_query:tables=Scout,Cards, | + | {{#cargo_query:tables=Scout,Cards,Card_Files|join on=Scout.name_en = Cards.cardset, Cards.number = Card_Files.number|fields=Cards.rarity,Cards.chara,Card_Files.image1,CONCAT(Cards.rarity,' [[',Cards.chara,']]')=caption|where=Scout.name_en="{{{scoutname|}}}"|order by=rarity DESC|format=gallery|mode=nolines|show bytes=0|show filename=0|caption field=caption|default=' '}} |
}} | }} | ||
</includeonly> | </includeonly> | ||
<noinclude>[[Category:Templates]]</noinclude> | <noinclude>[[Category:Templates]]</noinclude> |