Template:Grenade Query/Row: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
(Fix No Results look title)
Line 15: Line 15:
}}{{#ifeq:{{lc:{{#sub:{{{PlainName}}}|-4}}}}|mk i|{{#vardefine:name|{{#cargo_query:table=GeneralData=GD|fields=DisplayName|where=PlainName='{{trim|{{#explode:{{{PlainName}}}|mk}}}}'}}}}{{Qud look  
}}{{#ifeq:{{lc:{{#sub:{{{PlainName}}}|-4}}}}|mk i|{{#vardefine:name|{{#cargo_query:table=GeneralData=GD|fields=DisplayName|where=PlainName='{{trim|{{#explode:{{{PlainName}}}|mk}}}}'}}}}{{Qud look  
| text = {{#replace:{{#explode:{{{Description}}}|<span style="color: #77bfcf;">}}|<b>|}}
| text = {{#replace:{{#explode:{{{Description}}}|<span style="color: #77bfcf;">}}|<b>|}}
| title = {{{name}}}
| title = {{{displayname}}}
}}}}</includeonly><noinclude>For use in [[Template:Grenade Query]].
}}}}</includeonly><noinclude>For use in [[Template:Grenade Query]].


[[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>

Revision as of 22:41, 15 July 2022