Template:Card navbox: Difference between revisions

From Tears of Themis Wiki
imported>Harmonea
m (tweaking delimiters)
imported>Harmonea
(redesign)
Line 1: Line 1:
{{Navbox
{{Navbox
| name      = Card navbox
| name      = Card navbox
| title      = Cards
| title      = [[Cards]]
| listclass  = hlist
| state = autocollapse
| state = autocollapse


| group1    =Artem
| group1style = background:#cca3a7
| list1      ={{Navbox subgroup
| list1      ={{Navbox subgroup
   | group1  =[[File:SSR icon.png|x25px|link=]]
  | title = Artem Wing
  | titlestyle = background:linear-gradient(45deg,#892d36,transparent)
  | state = {{#ifeq:{{{show|}}}|Artem|mw-expanded|}}
  | style = margin-top: 0px;
   | group1  =[[File:SSR icon.png|x35px|link=]]
   | list1    ={{#cargo_query:tables=Card
   | list1    ={{#cargo_query:tables=Card
|fields=CONCAT('[[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Artem Wing" AND rarity="SSR"
|where=featuredCharacter="Artem Wing" AND rarity="SSR"
|delimiter=  • 
|delimiter=
}}
}}
   | group2  =[[File:SR icon.png|x25px|link=]]
   | group2  =[[File:SR icon.png|x35px|link=]]
   | list2    ={{#cargo_query:tables=Card
   | list2    ={{#cargo_query:tables=Card
|fields=CONCAT('[[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Artem Wing" AND rarity="SR"
|where=featuredCharacter="Artem Wing" AND rarity="SR"
|delimiter=  • 
|delimiter=
}}
}}
   | group3  =[[File:MR icon.png|x25px|link=]]
   | group3  =[[File:MR icon.png|x35px|link=]]
   | list3    ={{#cargo_query:tables=Card
   | list3    ={{#cargo_query:tables=Card
|fields=CONCAT('[[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Artem Wing" AND rarity="MR"
|where=featuredCharacter="Artem Wing" AND rarity="MR"
|delimiter=  • 
|delimiter=
}}
}}
   | group4  =[[File:R icon.png|x25px|link=]]
   | group4  =[[File:R icon.png|x35px|link=]]
   | list4    ={{#cargo_query:tables=Card
   | list4    ={{#cargo_query:tables=Card
|fields=CONCAT(' [[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Artem Wing" AND rarity="R"
|where=featuredCharacter="Artem Wing" AND rarity="R"
|delimiter=  • 
|delimiter=
}}
}}
   }}
   }}


| group2    =Luke
| group2style = background: #ccbea3
| list2      ={{Navbox subgroup
| list2      ={{Navbox subgroup
   | group1  =[[File:SSR icon.png|x25px|link=]]
  | title = Luke Pearce
  | titlestyle = background:linear-gradient(45deg,#a17e3e,transparent)
  | state = {{#ifeq:{{{show|}}}|Luke|mw-expanded|}}
  | style = margin-top: 0px;
   | group1  =[[File:SSR icon.png|x35px|link=]]
   | list1    ={{#cargo_query:tables=Card
   | list1    ={{#cargo_query:tables=Card
|fields=CONCAT('[[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Luke Pearce" AND rarity="SSR"
|where=featuredCharacter="Luke Pearce" AND rarity="SSR"
|delimiter=  • 
|delimiter=
}}
}}
   | group2  =[[File:SR icon.png|x25px|link=]]
   | group2  =[[File:SR icon.png|x35px|link=]]
   | list2    ={{#cargo_query:tables=Card
   | list2    ={{#cargo_query:tables=Card
|fields=CONCAT('[[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Luke Pearce" AND rarity="SR"
|where=featuredCharacter="Luke Pearce" AND rarity="SR"
|delimiter=  • 
|delimiter=
}}
}}
  | group3  =[[File:MR icon.png|x25px|link=]]
   | group4  =[[File:R icon.png|x35px|link=]]
  | list3    ={{#cargo_query:tables=Card
|fields=CONCAT('[[', name, '|', cardName, ']]')
|where=featuredCharacter="Luke Pearce" AND rarity="MR"
|delimiter=  • 
}}
   | 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|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Luke Pearce" AND rarity="R"
|where=featuredCharacter="Luke Pearce" AND rarity="R"
|delimiter=  • 
|delimiter=
}}
}}
   }}
   }}


| group3    =Marius
| group3style = background:#b0a3cc
| list3      ={{Navbox subgroup
| list3      ={{Navbox subgroup
   | group1  =[[File:SSR icon.png|x25px|link=]]
  | title = Marius von Hagen
  | titlestyle = background:linear-gradient(45deg,#644a9e,transparent)
  | state = {{#ifeq:{{{show|}}}|Marius|mw-expanded|}}
  | style = margin-top: 0px;
   | group1  =[[File:SSR icon.png|x35px|link=]]
   | list1    ={{#cargo_query:tables=Card
   | list1    ={{#cargo_query:tables=Card
|fields=CONCAT('[[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Marius von Hagen" AND rarity="SSR"
|where=featuredCharacter="Marius von Hagen" AND rarity="SSR"
|delimiter=  • 
|delimiter=
}}
}}
   | group2  =[[File:SR icon.png|x25px|link=]]
   | group2  =[[File:SR icon.png|x35px|link=]]
   | list2    ={{#cargo_query:tables=Card
   | list2    ={{#cargo_query:tables=Card
|fields=CONCAT('[[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Marius von Hagen" AND rarity="SR"
|where=featuredCharacter="Marius von Hagen" AND rarity="SR"
|delimiter=  • 
|delimiter=
}}
  | group3  =[[File:MR icon.png|x25px|link=]]
  | list3    ={{#cargo_query:tables=Card
|fields=CONCAT('[[', name, '|', cardName, ']]')
|where=featuredCharacter="Marius von Hagen" AND rarity="MR"
|delimiter=  • 
}}
}}
   | group4  =[[File:R icon.png|x25px|link=]]
   | group4  =[[File:R icon.png|x35px|link=]]
   | list4    ={{#cargo_query:tables=Card
   | list4    ={{#cargo_query:tables=Card
|fields=CONCAT('[[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Marius von Hagen" AND rarity="R"
|where=featuredCharacter="Marius von Hagen" AND rarity="R"
|delimiter=  • 
|delimiter=
}}
}}
   }}
   }}


| group4    =Vyn
| group4style = background:#a3cbcc
| list4      ={{Navbox subgroup
| list4      ={{Navbox subgroup
   | group1  =[[File:SSR icon.png|x25px|link=]]
  | title = Vyn Richter
  | titlestyle = background:linear-gradient(45deg,#3d8183,transparent)
  | state = {{#ifeq:{{{show|}}}|Vyn|mw-expanded|}}
  | style = margin-top: 0px;
   | group1  =[[File:SSR icon.png|x35px|link=]]
   | list1    ={{#cargo_query:tables=Card
   | list1    ={{#cargo_query:tables=Card
|fields=CONCAT('[[File:', name, ' icon.png|25px|link=]] [[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Vyn Richter" AND rarity="SSR"
|where=featuredCharacter="Vyn Richter" AND rarity="SSR"
|delimiter=   
|delimiter=
}}
}}
   | group2  =[[File:SR icon.png|x25px|link=]]
   | group2  =[[File:SR icon.png|x35px|link=]]
   | list2    ={{#cargo_query:tables=Card
   | list2    ={{#cargo_query:tables=Card
|fields=CONCAT('[[File:', name, ' icon.png|25px|link=]] [[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Vyn Richter" AND rarity="SR"
|where=featuredCharacter="Vyn Richter" AND rarity="SR"
|delimiter=   
|delimiter=
}}
}}
   | group3  =[[File:MR icon.png|x25px|link=]]
   | group3  =[[File:MR icon.png|x35px|link=]]
   | list3    ={{#cargo_query:tables=Card
   | list3    ={{#cargo_query:tables=Card
|fields=CONCAT('[[File:', name, ' icon.png|25px|link=]] [[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Vyn Richter" AND rarity="MR"
|where=featuredCharacter="Vyn Richter" AND rarity="MR"
|delimiter=   
|delimiter=
}}
}}
   | group4  =[[File:R icon.png|x25px|link=]]
   | group4  =[[File:R icon.png|x35px|link=]]
   | list4    ={{#cargo_query:tables=Card
   | list4    ={{#cargo_query:tables=Card
|fields=CONCAT('[[File:', name, ' icon.png|25px|link=]] [[', name, '|', cardName, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Vyn Richter" AND rarity="R"
|where=featuredCharacter="Vyn Richter" AND rarity="R"
|delimiter=   
|delimiter=
}}
}}
   }}
   }}
}}
}}

Revision as of 01:58, 8 February 2022