Template:Sandbox/User:Illuminatiswag: Difference between revisions
No edit summary |
(reverting back to) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|main | |main | ||
|tables=Characters=C, GeneralData=GD | |tables=Characters=C, GeneralData=GD | ||
|join= | |join=C.ObjectID=GD.ObjectID | ||
|where=GD. | |where=GD.PlainName LIKE "{{{pattern}}}" | ||
|fields = {{favilink format args}}, C.Description=Description, DisplayName, PlainName, HP, AV, DV | |fields = {{favilink format args}}, C.Description=Description, DisplayName, PlainName, HP, AV, DV | ||
|template=Sandbox/User:Illuminatiswag/Row | |template=Sandbox/User:Illuminatiswag/Row | ||
|order= GD. | |order by= GD.PlainName ASC | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Returns a shared | 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 | This pulls data from the various ovens. | ||
Output: | Output: | ||
{{Sandbox/User:Illuminatiswag| | {{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 |