|
|
(6 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| | {{#invoke:Sandbox/User:Teamtoto/LuaModule|test}} |
| <!--{{Teamtoto/EncounterTable|roll=each | | <!--{{Teamtoto/EncounterTable|roll=each |
| |{{EncounterTable/Row|weight=95|table=Artifact 0C}} | | |{{EncounterTable/Row|weight=95|table=Artifact 0C}} |
| |{{EncounterTable/Row|weight=5|table=Artifact 0R}} | | |{{EncounterTable/Row|weight=5|table=Artifact 0R}} |
| }} | | }} |
|
| |
| {{#invoke:CargoQuery| main | | {{#invoke:CargoQuery| main |
| | tables = GeneralData=GD, Characters = C, CreatureFactions = CF | | | tables = GeneralData=GD, Characters = C, CreatureFactions = CF |
Line 18: |
Line 18: |
| | 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"
| |
| }} }} }}-->
| |
| {{#invoke:infobox|infobox
| |
| |rows={{infobox row||Extra info:</br><ul><li>fhdsjfksd</ul><hr>}}
| |
| {{infobox row|field=<div style="text-align:center;padding:2px"><b>Body Plan: {{{bodytype}}}</b></div>}}
| |
| {{infobox row||{{#invoke:CargoQuery|main
| |
| |table=Anatomies=A
| |
| | where = Name="{{{name|Turret}}}"
| |
| |fields=CONCAT("<li> [[List of Body Parts#", BaseType, "{{!}}", COALESCE(CONCAT(Laterality, " "), ""), Type, "]]", (CASE WHEN childType <> "" THEN CONCAT("<ul><li> [[List of Body Parts#", childBaseType, "{{!}}", COALESCE(CONCAT(childLaterality, " "), ""), childType, "]]</ul>") ELSE "" END))=Page
| |
| | format=ul
| |
| | template=single query result
| |
| | delimiter = </br>
| |
| | limit = 1000
| |
| }}}}}}
| |
|
| |
| <table class="wikitable"><tr><th>Blueprint</th><th>Body Parts</th></tr>
| |
| {{#invoke:CargoQuery|main | | {{#invoke:CargoQuery|main |
| |table=Anatomies=A
| | | tables=GeneralData=GD, _pageData=PD |
| |fields=Name=blueprint
| | | join= GD._pageName=PD._pageName |
| |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
| | | fields={{favilink format args}} |
| |one_to_many_group=blueprint
| | | where=PD._categories HOLDS "Liquid_Containers" AND GD._pageNamespace = "0" |
| |one_to_many_sep=
| | | template=favilink format |
| | template=Anatomy Table Row
| | | format = ul |
| | delimiter =
| | | columns = 2 |
| | limit = 1000
| | }} |
| }}</table> | | {{#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 |
| | }}--> |