ELSEIF limitation in conditional syntax

@TW_Tones your suggestion of adding additional endif’s contradicts the example in the tiddlywiki documentation (https://tiddlywiki.com/#Conditional%20Shortcut%20Syntax)

<%if [{$:/info/url/protocol}match[file:]] %>
  Loaded from a file URI
<%elseif [{$:/info/url/protocol}match[https:]] %>
  Loaded from an HTTPS URI
<%elseif [{$:/info/url/protocol}match[http:]] %>
  Loaded from an HTTP URI
<%else%>
  Loaded from an unknown protocol
<%endif%>

@pmario , your suggestion of the multiple {{{ }}} applies only to the test condition. If I change the statement to

<%if [<f.TLSisempty GunType>match[yes]] %>
     {{!!State}} : {{!!CityTown}} - Unknown Gun Type
<%elseif [<currentTiddler>get[GunType]has[common]] %>
     {{!!State}} : {{!!CityTown}} - {{{[<currentTiddler>get[GunType]get[common]]}}}
<%elseif [<currentTiddler>get[GunType]has[nomenclature]] %>
     {{!!State}} : {{!!CityTown}} - {{{[<currentTiddler>get[GunType]get[nomenclature]]}}}
<%elseif [<currentTiddler>get[GunType]has[abbreviated]] %>
     {{!!State}} : {{!!CityTown}} - {{{[<currentTiddler>get[GunType]get[abbreviated]]}}}
<%else%>
     {{!!State}} : {{!!CityTown}} - Unknown Gun Type
<%endif%>

so I remove the braces around the test condition, then the expected result is returned

@etardiff thanks for your leaner statements. I’ll change to what you suggest and make a note in my 'usefull stuff ’ wiki

thanks

bobj