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]] | ||
| state = autocollapse | | state = autocollapse | ||
| list1 ={{Navbox subgroup | | list1 ={{Navbox subgroup | ||
| group1 =[[File:SSR icon.png| | | 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, '|', | |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| | | group2 =[[File:SR icon.png|x35px|link=]] | ||
| list2 ={{#cargo_query:tables=Card | | list2 ={{#cargo_query:tables=Card | ||
|fields=CONCAT('[[', name, '|', | |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| | | group3 =[[File:MR icon.png|x35px|link=]] | ||
| list3 ={{#cargo_query:tables=Card | | list3 ={{#cargo_query:tables=Card | ||
|fields=CONCAT('[[', name, '|', | |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| | | group4 =[[File:R icon.png|x35px|link=]] | ||
| list4 ={{#cargo_query:tables=Card | | list4 ={{#cargo_query:tables=Card | ||
|fields=CONCAT(' [[', name, '|', | |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= | ||
}} | }} | ||
}} | }} | ||
| list2 ={{Navbox subgroup | | list2 ={{Navbox subgroup | ||
| group1 =[[File:SSR icon.png| | | 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, '|', | |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| | | group2 =[[File:SR icon.png|x35px|link=]] | ||
| list2 ={{#cargo_query:tables=Card | | list2 ={{#cargo_query:tables=Card | ||
|fields=CONCAT('[[', name, '|', | |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= | ||
}} | }} | ||
| group4 =[[File:R icon.png|x35px|link=]] | |||
| group4 =[[File:R icon.png| | |||
| list4 ={{#cargo_query:tables=Card | | list4 ={{#cargo_query:tables=Card | ||
|fields=CONCAT('[[', name, '|', | |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= | ||
}} | }} | ||
}} | }} | ||
| list3 ={{Navbox subgroup | | list3 ={{Navbox subgroup | ||
| group1 =[[File:SSR icon.png| | | 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, '|', | |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| | | group2 =[[File:SR icon.png|x35px|link=]] | ||
| list2 ={{#cargo_query:tables=Card | | list2 ={{#cargo_query:tables=Card | ||
|fields=CONCAT('[[', name, '|', | |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= | ||
}} | }} | ||
| group4 =[[File:R icon.png| | | group4 =[[File:R icon.png|x35px|link=]] | ||
| list4 ={{#cargo_query:tables=Card | | list4 ={{#cargo_query:tables=Card | ||
|fields=CONCAT('[[', name, '|', | |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= | ||
}} | }} | ||
}} | }} | ||
| list4 ={{Navbox subgroup | | list4 ={{Navbox subgroup | ||
| group1 =[[File:SSR icon.png| | | 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| | |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| | | group2 =[[File:SR icon.png|x35px|link=]] | ||
| list2 ={{#cargo_query:tables=Card | | list2 ={{#cargo_query:tables=Card | ||
|fields=CONCAT('[[File:', name, ' icon.png| | |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| | | group3 =[[File:MR icon.png|x35px|link=]] | ||
| list3 ={{#cargo_query:tables=Card | | list3 ={{#cargo_query:tables=Card | ||
|fields=CONCAT('[[File:', name, ' icon.png| | |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| | | group4 =[[File:R icon.png|x35px|link=]] | ||
| list4 ={{#cargo_query:tables=Card | | list4 ={{#cargo_query:tables=Card | ||
|fields=CONCAT('[[File:', name, ' icon.png| | |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= | ||
}} | }} | ||
}} | }} | ||
}} | }} |