Template:Grenade Query/Row: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
(minor optimize)
 
(3 intermediate revisions by the same user not shown)
Line 13: Line 13:
   {{infobox row|Complexity|{{{Complexity}}}}}
   {{infobox row|Complexity|{{{Complexity}}}}}
   {{infobox row|Tinker Tier|{{#if:{{{TinkerTier|}}}|[[{{{TinkerTier}}}]]|Cannot Build}}}}
   {{infobox row|Tinker Tier|{{#if:{{{TinkerTier|}}}|[[{{{TinkerTier}}}]]|Cannot Build}}}}
}}{{#ifeq:{{lc:{{#sub:{{{PlainName}}}|-4}}}}|mk i|{{#vardefine:name|{{#cargo_query:table=GeneralData=GD|fields=DisplayName|where=PlainName='{{trim|{{#explode:{{{PlainName}}}|mk}}}}'}}}}{{Qud look  
}}
{{#if:{{#varexists:name}}||{{Qud look  
| text = {{#replace:{{#explode:{{{Description}}}|<span style="color: #77bfcf;">}}|<b>|}}
| text = {{#replace:{{#explode:{{{Description}}}|<span style="color: #77bfcf;">}}|<b>|}}
| title = {{name}}
| title = {{#vardefineecho:name|{{trim|{{#replace:{{{displayname}}}|mk I|}}}}}}
}}}}</includeonly><noinclude>For use in [[Template:Grenade Query]].
}}}}</includeonly><noinclude>For use in [[Template:Grenade Query]].
 
{{Grenade Query|GravityGrenade}}
[[Category:Query Format Templates]]
[[Category:Query Format Templates]]
<!--
<!--
The #explode part above removes cyan rules text from the description, such as is present for resonance grenades. That rules text is specific to a particular grenade (mk I) but we want to only show the generic description that represents all grenade marks.
The #explode part above removes cyan rules text from the description, such as is present for resonance grenades. That rules text is specific to a particular grenade (mk I) but we want to only show the generic description that represents all grenade marks.
--></noinclude>
--></noinclude>

Latest revision as of 23:29, 15 July 2022

For use in Template:Grenade Query.

$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