Template:Card navbox: Difference between revisions

From Tears of Themis Wiki
imported>Harmonea
m (tweaking delimiters)
imported>Harmonea
(hoyo order)
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Navbox
{{Navbox
| name      = Card navbox
| name      = Card navbox
| title      = Cards
| title      = [[Cards]]
| listclass  = hlist
| state = autocollapse
| state = autocollapse


| group1    =Artem
| list2      ={{Navbox subgroup
| group1style = background:#cca3a7
  | title = Artem Wing
| list1      ={{Navbox subgroup
  | titlestyle = background:linear-gradient(45deg,#892d36,transparent)
   | group1  =[[File:SSR icon.png|x25px|link=]]
  | state = {{#ifeq:{{{show|}}}|Artem Wing|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|x30px|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|x30px|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|x30px|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
| list1      ={{Navbox subgroup
| group2style = background: #ccbea3
  | title = Luke Pearce
| list2      ={{Navbox subgroup
  | titlestyle = background:linear-gradient(45deg,#a17e3e,transparent)
   | group1  =[[File:SSR icon.png|x25px|link=]]
  | state = {{#ifeq:{{{show|}}}|Luke Pearce|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|x30px|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=]]
   | group3  =[[File:MR icon.png|x30px|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="Luke Pearce" AND rarity="MR"
|where=featuredCharacter="Luke Pearce" AND rarity="MR"
|delimiter=  • 
|delimiter=
}}
}}
   | group4  =[[File:R icon.png|x25px|link=]]
   | group4  =[[File:R icon.png|x30px|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
| list4      ={{Navbox subgroup
| group3style = background:#b0a3cc
  | title = Marius von Hagen
| list3      ={{Navbox subgroup
  | titlestyle = background:linear-gradient(45deg,#644a9e,transparent)
   | group1  =[[File:SSR icon.png|x25px|link=]]
  | state = {{#ifeq:{{{show|}}}|Marius von Hagen|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|x30px|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=]]
   | group3  =[[File:MR icon.png|x30px|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="Marius von Hagen" AND rarity="MR"
|where=featuredCharacter="Marius von Hagen" AND rarity="MR"
|delimiter=  • 
|delimiter=
}}
}}
   | group4  =[[File:R icon.png|x25px|link=]]
   | group4  =[[File:R icon.png|x30px|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
| list3      ={{Navbox subgroup
| group4style = background:#a3cbcc
  | title = Vyn Richter
| list4      ={{Navbox subgroup
  | titlestyle = background:linear-gradient(45deg,#3d8183,transparent)
   | group1  =[[File:SSR icon.png|x25px|link=]]
  | state = {{#ifeq:{{{show|}}}|Vyn Richter|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|x30px|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|x30px|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|x30px|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=
}}
}}
   }}
   }}
}}
}}
<noinclude>[[Category:Navboxes]]</noinclude>

Revision as of 16:02, 28 April 2022