Noita Wiki
Tag: Source edit
(Styled with icons, colored borders, and full-width)
Line 1: Line 1:
<!--
 
 
{{Navbox
 
{{Navbox
 
| name = SpellNav
 
| name = SpellNav
  +
| bodystyle = background:#000000;
 
| title = [[Spells]]
 
| title = [[Spells]]
  +
| titlestyle = background:#5D422E;
 
| state = plain
 
| state = plain
  +
| style = width:100%;text-align:center;border:2px solid #505050;border-radius:4px;
 
| list1 = {{Navbox
 
| list1 = {{Navbox
 
| name = SpellSubNav1
 
| name = SpellSubNav1
 
| title = [[:Category:Projectile spells|Projectile]]
 
| title = [[:Category:Projectile spells|Projectile]]
  +
| titlestyle = padding-left:3.5em;
 
| state = {{{state|}}}
 
| state = {{{state|}}}
  +
| style = width:100%;text-align:center;border:1px solid #5A2323;border-radius:2px;
| navbar = plain
 
| list1 = {{#cargo_query:
+
| navbar = off
  +
| list1 = {{#invoke:CargoQuery|main
table=Spells
+
|q?tables=Spells
|fields=CONCAT('[[File:',image,'|16px|link=',_pageName,'|alt=',name,']] [[',_pageName,'|',name,']] ')
 
  +
|q?fields=_pageName,image,name,type
|limit=400
 
|where=type="Projectile"
+
|q?where=type="Projectile"
|order by=sortKey
+
|q?orderBy=sortKey
  +
|template=SpellQueryIcon/row
|format=list
 
|delimiter=•
 
 
}}}}
 
}}}}
 
| list2 = {{Navbox
 
| list2 = {{Navbox
 
| name = SpellSubNav2
 
| name = SpellSubNav2
 
| title = [[:Category:Static projectile spells|Static Projectile]]
 
| title = [[:Category:Static projectile spells|Static Projectile]]
  +
| titlestyle = padding-left:3.5em;
 
| state = {{{state|}}}
 
| state = {{{state|}}}
  +
| style = width:100%;text-align:center;border:1px solid #8D3F18;border-radius:2px;
| navbar = plain
 
| list1 = {{#cargo_query:
+
| navbar = off
  +
| list1 = {{#invoke:CargoQuery|main
table=Spells
+
|q?tables=Spells
|fields=CONCAT('[[File:',image,'|16px|link=',_pageName,'|alt=',name,']] [[',_pageName,'|',name,']] ')
 
  +
|q?fields=_pageName,image,name,type
|limit=400
 
|where=type="Static projectile"
+
|q?where=type="Static projectile"
|order by=sortKey
+
|q?orderBy=sortKey
  +
|template=SpellQueryIcon/row
|format=list
 
|delimiter=•
 
 
}}}}
 
}}}}
 
| list3 = {{Navbox
 
| list3 = {{Navbox
 
| name = SpellSubNav3
 
| name = SpellSubNav3
 
| title = [[:Category:Passive spells|Passive]]
 
| title = [[:Category:Passive spells|Passive]]
  +
| titlestyle = padding-left:3.5em;
 
| state = {{{state|}}}
 
| state = {{{state|}}}
  +
| style = width:100%;text-align:center;border:1px solid #212F26;border-radius:2px;
| navbar = plain
 
| list1 = {{#cargo_query:
+
| navbar = off
  +
| list1 = {{#invoke:CargoQuery|main
table=Spells
+
|q?tables=Spells
|fields=CONCAT('[[File:',image,'|16px|link=',_pageName,'|alt=',name,']] [[',_pageName,'|',name,']] ')
 
  +
|q?fields=_pageName,image,name,type
|limit=400
 
|where=type="Passive"
+
|q?where=type="Passive"
|order by=sortKey
+
|q?orderBy=sortKey
  +
|template=SpellQueryIcon/row
|format=list
 
|delimiter=•
 
 
}}}}
 
}}}}
 
| list4 = {{Navbox
 
| list4 = {{Navbox
 
| name = SpellSubNav4
 
| name = SpellSubNav4
 
| title = [[:Category:Utility spells|Utility]]
 
| title = [[:Category:Utility spells|Utility]]
  +
| titlestyle = padding-left:3.5em;
 
| state = {{{state|}}}
 
| state = {{{state|}}}
  +
| style = width:100%;text-align:center;border:1px solid #7B2A74;border-radius:2px;
| navbar = plain
 
| list1 = {{#cargo_query:
+
| navbar = off
  +
| list1 = {{#invoke:CargoQuery|main
table=Spells
+
|q?tables=Spells
|fields=CONCAT('[[File:',image,'|16px|link=',_pageName,'|alt=',name,']] [[',_pageName,'|',name,']] ')
 
  +
|q?fields=_pageName,image,name,type
|limit=400
 
|where=type="Utility"
+
|q?where=type="Utility"
|order by=sortKey
+
|q?orderBy=sortKey
  +
|template=SpellQueryIcon/row
|format=list
 
|delimiter=•
 
 
}}}}
 
}}}}
 
| list5 = {{Navbox
 
| list5 = {{Navbox
 
| name = SpellSubNav5
 
| name = SpellSubNav5
 
| title = [[:Category:Projectile modifier spells|Projectile Modifier]]
 
| title = [[:Category:Projectile modifier spells|Projectile Modifier]]
  +
| titlestyle = padding-left:3.5em;
 
| state = {{{state|}}}
 
| state = {{{state|}}}
  +
| style = width:100%;text-align:center;border:1px solid #2D3A72;border-radius:2px;
| navbar = plain
 
| list1 = {{#cargo_query:
+
| navbar = off
  +
| list1 = {{#invoke:CargoQuery|main
table=Spells
+
|q?tables=Spells
|fields=CONCAT('[[File:',image,'|16px|link=',_pageName,'|alt=',name,']] [[',_pageName,'|',name,']] ')
 
  +
|q?fields=_pageName,image,name,type
|limit=400
 
|where=type="Projectile modifier"
+
|q?where=type="Projectile modifier"
|order by=sortKey
+
|q?orderBy=sortKey
  +
|template=SpellQueryIcon/row
|format=list
 
|delimiter=•
 
 
}}}}
 
}}}}
 
| list6 = {{Navbox
 
| list6 = {{Navbox
 
| name = SpellSubNav6
 
| name = SpellSubNav6
 
| title = [[:Category:Material spells|Material]]
 
| title = [[:Category:Material spells|Material]]
  +
| titlestyle = padding-left:3.5em;
 
| state = {{{state|}}}
 
| state = {{{state|}}}
  +
| style = width:100%;text-align:center;border:1px solid #356F44;border-radius:2px;
| navbar = plain
 
| list1 = {{#cargo_query:
+
| navbar = off
  +
| list1 = {{#invoke:CargoQuery|main
table=Spells
+
|q?tables=Spells
|fields=CONCAT('[[File:',image,'|16px|link=',_pageName,'|alt=',name,']] [[',_pageName,'|',name,']] ')
 
  +
|q?fields=_pageName,image,name,type
|limit=400
 
|where=type="Material"
+
|q?where=type="Material"
|order by=sortKey
+
|q?orderBy=sortKey
  +
|template=SpellQueryIcon/row
|format=list
 
|delimiter=•
 
 
}}}}
 
}}}}
 
| list7 = {{Navbox
 
| list7 = {{Navbox
 
| name = SpellSubNav7
 
| name = SpellSubNav7
 
| title = [[:Category:Multicast spells|Multicast]]
 
| title = [[:Category:Multicast spells|Multicast]]
  +
| titlestyle = padding-left:3.5em;
 
| state = {{{state|}}}
 
| state = {{{state|}}}
  +
| style = width:100%;text-align:center;border:1px solid #1C6D73;border-radius:2px;
| navbar = plain
 
| list1 = {{#cargo_query:
+
| navbar = off
  +
| list1 = {{#invoke:CargoQuery|main
table=Spells
+
|q?tables=Spells
|fields=CONCAT('[[File:',image,'|16px|link=',_pageName,'|alt=',name,']] [[',_pageName,'|',name,']] ')
 
  +
|q?fields=_pageName,image,name,type
|limit=400
 
|where=type="Multicast"
+
|q?where=type="Multicast"
|order by=sortKey
+
|q?orderBy=sortKey
  +
|template=SpellQueryIcon/row
|format=list
 
|delimiter=•
 
 
}}}}
 
}}}}
 
| list8 = {{Navbox
 
| list8 = {{Navbox
 
| name = SpellSubNav8
 
| name = SpellSubNav8
 
| title = [[:Category:Other spells|Other]]
 
| title = [[:Category:Other spells|Other]]
  +
| titlestyle = padding-left:3.5em;
 
| state = {{{state|}}}
 
| state = {{{state|}}}
  +
| style = width:100%;text-align:center;border:1px solid #714B33;border-radius:2px;
| navbar = plain
 
| list1 = {{#cargo_query:
+
| navbar = off
  +
| list1 = {{#invoke:CargoQuery|main
table=Spells
+
|q?tables=Spells
|fields=CONCAT('[[File:',image,'|16px|link=',_pageName,'|alt=',name,']] [[',_pageName,'|',name,']] ')
 
  +
|q?fields=_pageName,image,name,type
|limit=400
 
|where=type="Other"
+
|q?where=type="Other"
|order by=sortKey
+
|q?orderBy=sortKey
  +
|template=SpellQueryIcon/row
|format=list
 
|delimiter=•
 
 
}}}}}}<noinclude>
 
}}}}}}<noinclude>
 
[[Category:Content templates]]
 
[[Category:Content templates]]
 
</noinclude>
 
</noinclude>
-->
 

Revision as of 17:17, 31 July 2021