User:Teamtoto/Sandbox: Difference between revisions

301 bytes removed ,  23:38, 19 November 2021
m
no edit summary
mNo edit summary
mNo edit summary
Line 3: Line 3:
|{{EncounterTable/Row|weight=5|table=Artifact 0R}}
|{{EncounterTable/Row|weight=5|table=Artifact 0R}}
}}
}}
 
{{#invoke:CargoQuery|main
| tables=GeneralData=GD, _pageData=PD
| joinon= GD._pageName=PD._pageName
| fields={{favilink format args}}
| where=PD._categories HOLDS "Liquid_Containers" AND GD._pageNamespace = "0"
| template=favilink format
| format = ul
| columns = 2
}}
{{#invoke:CargoQuery|main
| tables=GeneralData=GD, PhysicalProperties=PP
| join =GD.ObjectID= PP.JoinKey
| fields={{favilink format args}}
| where=PP.Volume > 0 AND GD._pageNamespace = "0"
| template=favilink format
| format = ul
| columns = 2
}}
{{#invoke:CargoQuery| main
{{#invoke:CargoQuery| main
| tables = GeneralData=GD, Characters = C, CreatureFactions = CF
| tables = GeneralData=GD, Characters = C, CreatureFactions = CF
Line 18: Line 35:
| columns = 2
| columns = 2
}}
}}
{{#invoke:infoxbox|infobox
|rows={{infobox row||Extra info:</br><ul><li>fhdsjfksd</ul>{{#invoke:cargo_query|main
| table=Factions=F
| fields = FLOOR(5)= mintier, FLOOR(7)= maxtier, F._pageName=faction
| template = possible cultists
| delimiter = </br>
|where = F.Old="1" AND IsVisible="1"
}} }} }}-->
<table class="wikitable"><tr><th>Blueprint</th><th>Body Parts</th></tr>
{{#invoke:CargoQuery|main
|table=Anatomies=A
|fields=Name=blueprint
|one_to_many=(CONCAT("<li> [[List of Body Parts#", BaseType, "{{!}}", COALESCE(CONCAT(Laterality, " "), ""), Type, "]]", (CASE WHEN childType <> "" THEN CONCAT("<ul><li>", childType, " (", childBaseType, ")</ul>")ELSE "" END)))=bodyparts
|one_to_many_group=blueprint
|one_to_many_sep=&nbsp;
| template=Anatomy Table Row
| delimiter = &nbsp;
| limit = 1000
}}</table>