Template:Sandbox/User:Illuminatiswag: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(reverting back to) |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:CargoQuery | <includeonly>{{#invoke:CargoQuery | ||
|main | |main | ||
|tables=GeneralData=GD | |tables=Characters=C, GeneralData=GD | ||
|where=PlainName LIKE "{{{pattern}}}" | |join=C.ObjectID=GD.ObjectID | ||
|fields = {{favilink format args}}, Description, DisplayName, PlainName | |where=GD.PlainName LIKE "{{{pattern}}}" | ||
|fields = {{favilink format args}}, C.Description=Description, DisplayName, PlainName, HP, AV, DV | |||
|template=Sandbox/User:Illuminatiswag/Row | |template=Sandbox/User:Illuminatiswag/Row | ||
|order by= GD.PlainName ASC | |order by= GD.PlainName ASC | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Returns a shared table between all | Returns a shared table between all "characters" (this includes anything that can be animated) with the same name prefix. There is only one unnamed parameter which is the shared ObjectID the characters share. The rows are formatted using [[Template:Sandbox/User:IlluminatiSwag/Row]]. | ||
== Usage == | == Usage == | ||
<pre>{{Sandbox/User:Illuminatiswag| | <pre>{{Sandbox/User:Illuminatiswag|pattern=%oven}}</pre> | ||
This pulls data from the various | This pulls data from the various ovens. | ||
Output: | Output: | ||
{{Sandbox/User:Illuminatiswag|pattern= | {{Sandbox/User:Illuminatiswag|pattern=%oven}} | ||
[[Category:Query Templates]] | [[Category:Query Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 22:24, 24 August 2022
Returns a shared table between all "characters" (this includes anything that can be animated) with the same name prefix. There is only one unnamed parameter which is the shared ObjectID the characters share. The rows are formatted using Template:Sandbox/User:IlluminatiSwag/Row.
Usage
{{Sandbox/User:Illuminatiswag|pattern=%oven}}
This pulls data from the various ovens.
Output:
bone oven
Warmth radiates from the crackling fire of the round bone oven, and with it comes the smell of leavened pastry, sweet bananas, and warm skulk.
1200 | |
2 | |
-10 |
1200 | |
2 | |
-10 |
1200 | |
2 | |
-10 |