Template:Card navbox: Difference between revisions

From Tears of Themis Wiki
imported>Harmonea
(styling)
imported>Harmonea
(icon test (opinions please))
Line 97: Line 97:
   | group1  =[[File:SSR icon.png|x25px|link=]]
   | group1  =[[File:SSR icon.png|x25px|link=]]
   | list1    ={{#cargo_query:tables=Card
   | list1    ={{#cargo_query:tables=Card
|fields=CONCAT('[[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|25px|link=]] [[', name, '|', cardName, ']]')
|where=featuredCharacter="Vyn Richter" AND rarity="SSR"
|where=featuredCharacter="Vyn Richter" AND rarity="SSR"
|delimiter=  •   
|delimiter=  •   
Line 103: Line 103:
   | group2  =[[File:SR icon.png|x25px|link=]]
   | group2  =[[File:SR icon.png|x25px|link=]]
   | list2    ={{#cargo_query:tables=Card
   | list2    ={{#cargo_query:tables=Card
|fields=CONCAT('[[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|25px|link=]] [[', name, '|', cardName, ']]')
|where=featuredCharacter="Vyn Richter" AND rarity="SR"
|where=featuredCharacter="Vyn Richter" AND rarity="SR"
|delimiter=  •   
|delimiter=  •   
Line 109: Line 109:
   | group3  =[[File:MR icon.png|x25px|link=]]
   | group3  =[[File:MR icon.png|x25px|link=]]
   | list3    ={{#cargo_query:tables=Card
   | list3    ={{#cargo_query:tables=Card
|fields=CONCAT('[[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|25px|link=]] [[', name, '|', cardName, ']]')
|where=featuredCharacter="Vyn Richter" AND rarity="MR"
|where=featuredCharacter="Vyn Richter" AND rarity="MR"
|delimiter=  •   
|delimiter=  •   
Line 115: Line 115:
   | group4  =[[File:R icon.png|x25px|link=]]
   | group4  =[[File:R icon.png|x25px|link=]]
   | list4    ={{#cargo_query:tables=Card
   | list4    ={{#cargo_query:tables=Card
|fields=CONCAT('[[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|25px|link=]] [[', name, '|', cardName, ']]')
|where=featuredCharacter="Vyn Richter" AND rarity="R"
|where=featuredCharacter="Vyn Richter" AND rarity="R"
|delimiter=  •   
|delimiter=  •   

Revision as of 21:15, 7 February 2022