Template:Mutation Navbox: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(creation code is no more)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
| titlestyle = background:rgba(6,28,23,0.9); font-family:Source Code Pro;
| titlestyle = background:rgba(6,28,23,0.9); font-family:Source Code Pro;
| groupstyle = background:rgba(6,28,23,0.8); font-family:Source Code Pro;
| groupstyle = background:rgba(6,28,23,0.8); font-family:Source Code Pro;
| oddstyle = background:rgba(0,0,0,0.3);
| innerstyle = font-family:Source Code Pro;
| innerstyle = font-family:Source Code Pro;


| 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' AND NPCOnly='0' AND Deprecated='0'
| list1      =<span style="display:inline-block">{{#invoke:CargoQuery|main
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Genotype' AND Prerelease='1' AND NPCOnly='0' AND Deprecated='0'
|table=Mutations
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
|fields=_pageName=pagelink,Name=displayname
|where=_pageNamespace='0' AND Prerelease='0' AND StartingMutation='1' AND Deprecated='0' AND Type='Morphotype'
|template=plain link
|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
| group2    =[[:Category:Physical Mutations|Physical Mutations]]


| group2style = background:rgba(6,28,23,0.2);
| list2      =<span style="display:inline-block">{{#invoke:CargoQuery|compound
| group2    =[[:Category:Physical Mutations|Physical Mutations]]
|1=table=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'
;fields=_pageName=pagelink,Name=displayname
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Physical' AND Prerelease='1' AND NPCOnly='0' AND Deprecated='0'
;where=_pageNamespace='0' AND Prerelease='0' AND StartingMutation='1' AND Deprecated='0' AND Type='Physical'
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
|2=table=Mutations
;fields=_pageName=pagelink,Name=displayname, CONCAT('(unfinished)')=outro
;where=_pageNamespace='0' AND Prerelease='1' AND StartingMutation='1' AND Deprecated='0' AND Type='Physical'
|template=Plain link
|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'
| list3 = <span style="display:inline-block">{{#invoke:CargoQuery|compound
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Physical Defect' AND Prerelease='1' AND NPCOnly='0' AND Deprecated='0'
|1=table=Mutations
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
;fields=_pageName=pagelink
;where=_pageNamespace='0' AND Prerelease='0' AND StartingMutation='1' AND Deprecated='0' AND Type='Physical Defect'
|2=table=Mutations
;fields=_pageName=pagelink, CONCAT('(unfinished)')=outro
;where=_pageNamespace='0' AND Prerelease='1' AND StartingMutation='1' AND Deprecated='0' AND Type='Physical Defect'
|template=Plain link
|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>


| 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'
| list4 = <span style="display:inline-block">{{#invoke:CargoQuery|compound
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Mental' AND Prerelease='1' AND NPCOnly='0' AND Deprecated='0'
|1=table=Mutations
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
;fields=_pageName=pagelink
;where=_pageNamespace='0' AND Prerelease='0' AND StartingMutation='1' AND Deprecated='0' AND Type='Mental'
|2=table=Mutations
;fields=_pageName=pagelink, CONCAT('(unfinished)')=outro
;where=_pageNamespace='0' AND Prerelease='1' AND StartingMutation='1' AND Deprecated='0' AND Type='Mental'
|template=Plain link
|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'
| list5= <span style="display:inline-block">{{#invoke:CargoQuery|compound
|tables=Mutations;fields=CONCAT('[[',_pageName,']] (Unfinished)')=p;where=_pageNamespace='0' AND Type='Mental Defect' AND Prerelease='1' AND NPCOnly='0' AND Deprecated='0'
|1=table=Mutations
|format=list|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
;fields=_pageName=pagelink
;where=_pageNamespace='0' AND Prerelease='0' AND StartingMutation='1' AND Deprecated='0' AND Type='Mental Defect'
|2=table=Mutations
;fields=_pageName=pagelink, CONCAT('(unfinished)')=outro
;where=_pageNamespace='0' AND Prerelease='1' AND StartingMutation='1' AND Deprecated='0' AND Type='Mental Defect'
|template=Plain link
|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>
 
| group6= Other obtainable mutations
| list6=<span style="display:inline-block">{{#invoke:CargoQuery|main|table=Mutations
|fields=_pageName=pagelink,Name=displayname
|where=_pageNamespace='0' AND Prerelease='0' AND StartingMutation='0' AND Deprecated='0' AND Obtainable='1'
|template=Plain link|delimiter=&nbsp;-&nbsp;</span><span style="display:inline-block">}}</span>


|group6style = background:rgba(6,28,23,0.2);
| group7= Innate mutations
| group6= Innate mutations
| list7=<span style="display:inline-block">{{#cargo_query:tables=Mutations
| list6=<span style="display:inline-block">{{#cargo_query:tables=Mutations
|where=_pageNamespace='0' AND Obtainable='0' 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>



Latest revision as of 01:47, 4 February 2024