Template:Card navbox: Difference between revisions

From Tears of Themis Wiki
imported>Harmonea
(redesign)
imported>Harmonea
(hoyo order)
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
| state = autocollapse
| state = autocollapse


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


| list2     ={{Navbox subgroup
| list1     ={{Navbox subgroup
   | title = Luke Pearce
   | title = Luke Pearce
   | titlestyle = background:linear-gradient(45deg,#a17e3e,transparent)
   | titlestyle = background:linear-gradient(45deg,#a17e3e,transparent)
   | state = {{#ifeq:{{{show|}}}|Luke|mw-expanded|}}
   | state = {{#ifeq:{{{show|}}}|Luke Pearce|mw-expanded|}}
   | style = margin-top: 0px;
   | style = margin-top: 0px;
   | group1  =[[File:SSR icon.png|x35px|link=]]
   | group1  =[[File:SSR icon.png|x35px|link=]]
Line 46: Line 46:
|delimiter=
|delimiter=
}}
}}
   | group2  =[[File:SR icon.png|x35px|link=]]
   | group2  =[[File:SR icon.png|x30px|link=]]
   | list2    ={{#cargo_query:tables=Card
   | list2    ={{#cargo_query:tables=Card
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
Line 52: Line 52:
|delimiter=
|delimiter=
}}
}}
   | group4  =[[File:R icon.png|x35px|link=]]
  | group3  =[[File:MR icon.png|x30px|link=]]
  | list3    ={{#cargo_query:tables=Card
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|where=featuredCharacter="Luke Pearce" AND rarity="MR"
|delimiter=
}}
   | group4  =[[File:R icon.png|x30px|link=]]
   | list4    ={{#cargo_query:tables=Card
   | list4    ={{#cargo_query:tables=Card
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
Line 60: Line 66:
   }}
   }}


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


| list4     ={{Navbox subgroup
| list3     ={{Navbox subgroup
   | title = Vyn Richter
   | title = Vyn Richter
   | titlestyle = background:linear-gradient(45deg,#3d8183,transparent)
   | titlestyle = background:linear-gradient(45deg,#3d8183,transparent)
   | state = {{#ifeq:{{{show|}}}|Vyn|mw-expanded|}}
   | state = {{#ifeq:{{{show|}}}|Vyn Richter|mw-expanded|}}
   | style = margin-top: 0px;
   | style = margin-top: 0px;
   | group1  =[[File:SSR icon.png|x35px|link=]]
   | group1  =[[File:SSR icon.png|x35px|link=]]
Line 96: Line 108:
|delimiter=
|delimiter=
}}
}}
   | group2  =[[File:SR icon.png|x35px|link=]]
   | group2  =[[File:SR icon.png|x30px|link=]]
   | list2    ={{#cargo_query:tables=Card
   | list2    ={{#cargo_query:tables=Card
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
Line 102: Line 114:
|delimiter=
|delimiter=
}}
}}
   | group3  =[[File:MR icon.png|x35px|link=]]
   | group3  =[[File:MR icon.png|x30px|link=]]
   | list3    ={{#cargo_query:tables=Card
   | list3    ={{#cargo_query:tables=Card
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
Line 108: Line 120:
|delimiter=
|delimiter=
}}
}}
   | group4  =[[File:R icon.png|x35px|link=]]
   | group4  =[[File:R icon.png|x30px|link=]]
   | list4    ={{#cargo_query:tables=Card
   | list4    ={{#cargo_query:tables=Card
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
|fields=CONCAT('[[File:', name, ' icon.png|50px|',name,'|link=',name, ']]')
Line 116: Line 128:
   }}
   }}
}}
}}
<noinclude>[[Category:Navboxes]]</noinclude>

Revision as of 16:02, 28 April 2022