Template:Grenade Query: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<includeonly><table class="wikitable sortable"><tr><th>Grenade</th><th>Bits</th><th>Tier</th><th>Complexity</th><th>Commerce</th><th>Tinker Tier</th></tr>{{#invoke:CargoQuery
<includeonly>{{#invoke:CargoQuery
|main
|main
|tables=ArtifactData=A, GeneralData=GD
|tables=ArtifactData=A, GeneralData=GD
Line 7: Line 7:
|template=Grenade Query/Row
|template=Grenade Query/Row
|order= GD.ObjectID ASC
|order= GD.ObjectID ASC
}}
}}</includeonly><noinclude>
</table>
</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:Grenade Query/Row]].
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:Grenade Query/Row]].
== Usage ==
== Usage ==

Latest revision as of 21:13, 15 December 2021

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:Grenade Query/Row.

Usage

{{Grenade Query|GravityGrenade}}

This pulls data from GravityGrenade1, GravityGrenade2, GravityGrenade3.

Output:

$40

<012>

Tier

4

Complexity

1

Tinker Tier

Tinker I

gravity grenade

A cast iron bulb is clamped by a lever with a pull ring. It's etched with a boquet of inward-facing arrows.

Perfect

$60

<024>

Tier

6

Complexity

1

Tinker Tier

Tinker II

$80

<356>

Tier

8

Complexity

1

Tinker Tier

Tinker II