Template:Grenade Query/Row: Difference between revisions

Jump to navigation Jump to search
minor optimize
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>

Navigation menu