User:Teamtoto/Sandbox: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#cargo_query:tables=GeneralData=GD, CreatureFactions=CF, Factions=F, ExtraInfo=EI
{{#invoke:Sandbox/User:Teamtoto/LuaModule|test}}
|join on= CF.ObjectID=GD.ObjectID, CF.Faction=F._pageName, GD.ObjectID=EI.ObjectID
<!--{{Teamtoto/EncounterTable|roll=each
|fields=GD._pageName=Page, CF.Faction=Faction
|{{EncounterTable/Row|weight=95|table=Artifact 0C}}
|where=GD.Tier=6 AND CF.Faction <> "Cherubim" AND EI.Info NOT LIKE "%Unique,,,%"
|{{EncounterTable/Row|weight=5|table=Artifact 0R}}
| order by = Faction, Page
| format=ul
}}
}}
{{#invoke:CargoQuery| main
| tables = GeneralData=GD, Characters = C, CreatureFactions = CF
| join = C.ObjectID = GD.ObjectID, C.ObjectID = CF.ObjectID
| where = C.Demeanor = "aggressive" AND (C._pageNamespace= '0' OR C._pageNamespace = '10002')
|group by = GD.ObjectID
| fields = {{favilink format args}}
| default = {{Template Error|Creature level and faction}}
| one_to_many= CONCAT(' ([[', CF.Faction, ']])')=outro, C.ObjectID
| one_to_many_group=C.ObjectID
| one_to_many_sep=,
| template = favilink format
| format = ul
| columns = 2
}}
{{#invoke:CargoQuery|main
| tables=GeneralData=GD, _pageData=PD
| join= 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
}}-->