Template:Card navbox: Difference between revisions

From Tears of Themis Wiki
imported>Harmonea
m (-subst void)
imported>Harmonea
(hoyo order)
(8 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
| list1      ={{Navbox subgroup
  | title = Artem Wing
   | group1  =SSR
  | titlestyle = background:linear-gradient(45deg,#892d36,transparent)
  | 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  =SR
   | 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  =MR
   | 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  =R
   | 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
| list2      ={{Navbox subgroup
  | title = Luke Pearce
   | group1  =SSR
  | titlestyle = background:linear-gradient(45deg,#a17e3e,transparent)
  | 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  =SR
   | 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  =MR
   | 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  =R
   | 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
| list3      ={{Navbox subgroup
  | title = Marius von Hagen
   | group1  =SSR
  | titlestyle = background:linear-gradient(45deg,#644a9e,transparent)
  | 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  =SR
   | 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  =MR
   | 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  =R
   | 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
| list4      ={{Navbox subgroup
  | title = Vyn Richter
   | group1  =SSR
  | titlestyle = background:linear-gradient(45deg,#3d8183,transparent)
  | 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('[[', 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  =SR
   | 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="Vyn Richter" AND rarity="SR"
|where=featuredCharacter="Vyn Richter" AND rarity="SR"
|delimiter= • 
|delimiter=
}}
}}
   | group3  =MR
   | 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="Vyn Richter" AND rarity="MR"
|where=featuredCharacter="Vyn Richter" AND rarity="MR"
|delimiter= • 
|delimiter=
}}
}}
   | group4  =R
   | 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="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