Template:Mutation Navbox: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(tweaks to ensure only creation code mutation appear in physical/mental sections)
(creation code is no more)
Line 15: Line 15:
| group2style = background:rgba(6,28,23,0.2);
| group2style = background:rgba(6,28,23,0.2);
| group2    =[[:Category:Physical Mutations|Physical Mutations]]
| group2    =[[:Category:Physical Mutations|Physical Mutations]]
| list2      =<span style="display:inline-block">{{#cargo_compound_query:tables=Mutations;where=_pageNamespace='0' AND Type='Physical' AND Prerelease='0' AND NPCOnly='0' AND Deprecated='0' AND CreationCode <> ''
| list2      =<span style="display:inline-block">{{#cargo_compound_query:tables=Mutations;where=_pageNamespace='0' AND Type='Physical' AND Prerelease='0' AND NPCOnly='0' AND Deprecated='0'
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Physical' AND Prerelease='1' AND NPCOnly='0' AND Deprecated='0'
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Physical' AND Prerelease='1' AND NPCOnly='0' AND Deprecated='0'
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>


| group3= [[:Category:Physical Defects|Physical Defects]]
| group3= [[:Category:Physical Defects|Physical Defects]]
| list3 = <span style="display:inline-block">{{#cargo_compound_query:tables=Mutations;where=_pageNamespace='0' AND Type='Physical Defect' AND Prerelease='0' AND NPCOnly='0' AND Deprecated='0' AND CreationCode <> ''
| list3 = <span style="display:inline-block">{{#cargo_compound_query:tables=Mutations;where=_pageNamespace='0' AND Type='Physical Defect' AND Prerelease='0' AND NPCOnly='0' AND Deprecated='0'
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Physical Defect' AND Prerelease='1' AND NPCOnly='0' AND Deprecated='0'
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Physical Defect' AND Prerelease='1' AND NPCOnly='0' AND Deprecated='0'
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
Line 26: Line 26:
| group4style = background:rgba(6,28,23,0.2);
| group4style = background:rgba(6,28,23,0.2);
| group4= [[:Category:Mental Mutations|Mental Mutations]]
| group4= [[:Category:Mental Mutations|Mental Mutations]]
| list4 = <span style="display:inline-block">{{#cargo_compound_query:tables=Mutations;where=_pageNamespace='0' AND Type='Mental' AND Prerelease='0' AND NPCOnly='0' AND Deprecated='0' AND CreationCode <> ''
| list4 = <span style="display:inline-block">{{#cargo_compound_query:tables=Mutations;where=_pageNamespace='0' AND Type='Mental' AND Prerelease='0' AND NPCOnly='0' AND Deprecated='0'
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Mental' AND Prerelease='1' AND NPCOnly='0' AND Deprecated='0'
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Mental' AND Prerelease='1' AND NPCOnly='0' AND Deprecated='0'
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>


| group5= [[:Category:Mental Defects|Mental Defects]]
| group5= [[:Category:Mental Defects|Mental Defects]]
| list5= <span style="display:inline-block">{{#cargo_compound_query:tables=Mutations;where=_pageNamespace='0' AND Type='Mental Defect' AND Prerelease='0' AND NPCOnly='0' AND Deprecated='0' AND CreationCode <> ''
| list5= <span style="display:inline-block">{{#cargo_compound_query:tables=Mutations;where=_pageNamespace='0' AND Type='Mental Defect' AND Prerelease='0' AND NPCOnly='0' AND Deprecated='0'
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Mental Defect' AND Prerelease='1' AND NPCOnly='0' AND Deprecated='0'
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Mental Defect' AND Prerelease='1' AND NPCOnly='0' AND Deprecated='0'
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
Line 38: Line 38:
| group6= Innate mutations
| group6= Innate mutations
| list6=<span style="display:inline-block">{{#cargo_query:tables=Mutations
| list6=<span style="display:inline-block">{{#cargo_query:tables=Mutations
|where=_pageNamespace='0' AND (NPCOnly='1' OR CreationCode IS NULL) AND Deprecated='0'
|where=_pageNamespace='0' AND NPCOnly='1' AND Deprecated='0'
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>



Revision as of 01:04, 5 December 2023