Template:Sandbox/User:Illuminatiswag: Difference between revisions

Jump to navigation Jump to search
reverting back to
No edit summary
(reverting back to)
 
(4 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=GD.ObjectID=C.ObjectID
|join=C.ObjectID=GD.ObjectID
|where=GD.ParentObject LIKE "{{{1}}}%"
|where=GD.PlainName LIKE "{{{pattern}}}"
|fields = {{favilink format args}}, C.Description=Description, DisplayName, PlainName, HP, AV, DV, GD.ObjectID=ID
|fields = {{favilink format args}}, C.Description=Description, DisplayName, PlainName, HP, AV, DV
|template=Sandbox/User:Illuminatiswag/Row
|template=Sandbox/User:Illuminatiswag/Row
|order= GD.ObjectID ASC
|order by= GD.PlainName ASC
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Returns a shared grenade table between all the mks. There is only one unnamed parameter which is the shared ObjectID the grenades share. The rows are formatted using [[Template:Sandbox/User:IlluminatiSwag/Row]].
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|BaseInnerSultanWall}}</pre>
<pre>{{Sandbox/User:Illuminatiswag|pattern=%oven}}</pre>
This pulls data from GravityGrenade1, GravityGrenade2, GravityGrenade3.
This pulls data from the various ovens.


Output:
Output:
{{Sandbox/User:Illuminatiswag|BaseInnerSultanWall}}
{{Sandbox/User:Illuminatiswag|pattern=%oven}}
[[Category:Query Templates]]
[[Category:Query Templates]]
</noinclude>
</noinclude>

Navigation menu