Template:Cooking Navbox: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
No edit summary
m (test)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Navbox
<includeonly>{{Navbox
| name      = Cooking Navbox
| name      = Cooking Navbox
| title      = Cooking-Related Pages
| title      = Cooking-Related Pages
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
Line 18: Line 18:


| group4= Cooking Effects
| group4= Cooking Effects
| list4= <span style="display:inline-block">{{#cargo_query:table=CookingEffects|fields=_pageName=CookEffect|group by=_pageName|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
| list4= <span style="display:inline-block">{{#invoke:CargoQuery|main|tables=CookingEffects|fields=JoinKey|group by=_pageName|template=Cooking_Navbox_Link_Maker|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
}}
}}</includeonly><noinclude>{{Cooking Navbox}}[[Category:Navigation]]</noinclude>

Latest revision as of 22:52, 11 April 2022