Difference between revisions of "Template:Infobox zkunit"

From Zero-K
Jump to navigation Jump to search
(valign doesn't seem to be allowed)
(Try to use local images for icon type since the default location is not accessible to regular users.)
Line 12: Line 12:
 
  |imagestyle  =  
 
  |imagestyle  =  
 
  |captionstyle =  
 
  |captionstyle =  
−
  |image        = {{unit image|{{{image|}}}|{{{name}}}}}{{#if:{{{icontype|}}}|&#32;<img src="//manual.zero-k.info/icons/{{{icontype}}}.png" height="48">|}}  
+
  |image        = {{unit image|{{{image|}}}|{{{name}}}}}{{#if:{{{icontype|}}}|&#32;{{#ifexist:[[File:Uniticon bomberskirm.png]]|[[File:Uniticon {{{icontype}}}.png|x48px]]|<img src="//manual.zero-k.info/icons/{{{icontype}}}.png" height="48">}}|}}  
 
<!--(disabled as thumbnails are not supported) [[File:Uniticon {{{icontype}}}.png|64px]] -->
 
<!--(disabled as thumbnails are not supported) [[File:Uniticon {{{icontype}}}.png|64px]] -->
 
  |caption      =  
 
  |caption      =  

Revision as of 22:16, 26 December 2023


Lua error: Internal error: The interpreter exited with status 1.


Lua error: Internal error: The interpreter exited with status 1.