User:Teamtoto/Sandbox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(37 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{# | {{#invoke:Sandbox/User:Teamtoto/LuaModule|test}} | ||
<!--{{Teamtoto/EncounterTable|roll=each | |||
{{ | |{{EncounterTable/Row|weight=95|table=Artifact 0C}} | ||
{{ | |{{EncounterTable/Row|weight=5|table=Artifact 0R}} | ||
}} | |||
{{#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 | |||
}}--> |