Template:Mutation Navbox: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Ensure that NPC-only mutations appear only in the Innate mutations section)
(Remove deprecated mutations (pack rat & unwelcome germination))
Line 9: Line 9:


| group1    =[[:Category:Morphotype|Morphotype]]
| group1    =[[:Category:Morphotype|Morphotype]]
| list1      =<span style="display:inline-block">{{#cargo_compound_query:tables=Mutations;where=_pageNamespace='0' AND Type='Morphotype' AND Prerelease='0'
| list1      =<span style="display:inline-block">{{#cargo_compound_query:tables=Mutations;where=_pageNamespace='0' AND Type='Morphotype' AND Prerelease='0' AND NPCOnly='0' AND Deprecated='0'
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Genotype' AND Prerelease='1'
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Genotype' 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>


| 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'
| 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'
|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'
| 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'
|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>


| 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'
| 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'
|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'
| 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'
|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'
|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 23:32, 1 October 2020