Difference between revisions of "Template:Autoinfobox zkunit"

From Zero-K
Jump to navigation Jump to search
m (Fix ability box just repeating weapons if those are specified)
m (Try getting the image by defname.)
Line 6: Line 6:
 
|unitname =  
 
|unitname =  
 
|description = {{{description|{{#invoke:UnitData|getData|{{{defname}}}|description}}}}}
 
|description = {{{description|{{#invoke:UnitData|getData|{{{defname}}}|description}}}}}
−
|image = {{{image|http://manual.zero-k.info/unitpics/{{{defname}}}.png}}}
+
|image = {{{image|{{{defname}}}}}}
 
|icontype = {{{icontype|{{#invoke:UnitData|getData|{{{defname}}}|icontype}}}}}
 
|icontype = {{{icontype|{{#invoke:UnitData|getData|{{{defname}}}|icontype}}}}}
 
|cost = {{{cost|{{#invoke:UnitData|getData|{{{defname}}}|cost}}}}}
 
|cost = {{{cost|{{#invoke:UnitData|getData|{{{defname}}}|cost}}}}}

Revision as of 15:53, 22 June 2024


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