Template:Cooking Navbox: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(replace with CargoQuery module to avoid odd rendering on page edit)
(holds not -> join value)
Line 12: Line 12:


| group2= Cooking Skills
| group2= Cooking Skills
| list2= <span style="display:inline-block">[[Cooking and Gathering]]&nbsp;-&nbsp;</span><span style="display:inline-block">{{#cargo_query:table=Skills|fields=_pageName=Skill|where=Class HOLDS 'Cooking and Gathering' AND _pageName <> 'Cooking and Gathering' AND RequiredStats HOLDS NOT ''|format=list|order by=RequiredStats, Cost ASC|group by=_pageName|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
| list2= <span style="display:inline-block">[[Cooking and Gathering]]&nbsp;-&nbsp;</span><span style="display:inline-block">{{#cargo_query:tables=Skills,Skills__RequiredStats|join on=Skills._ID=Skills__RequiredStats._rowID|fields=_pageName=Skill|where=Class HOLDS 'Cooking and Gathering' AND _pageName <> 'Cooking and Gathering' AND Skills__RequiredStats._value != ''|format=list|order by=RequiredStats, Cost ASC|group by=_pageName|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>


| group3= Related Skills
| group3= Related Skills

Revision as of 19:08, 26 July 2021