Difference between revisions of "Template:UnitData getData"

From Zero-K
Jump to navigation Jump to search
(Initial code.)
 
(Return 0 if property doesn't exist.)
Line 1: Line 1:
−
<includeonly>{{#invoke:UnitData|getData|{{{1|}}}|{{{2|}}}}}</includeonly>
+
<includeonly>{{#if: {{#invoke:UnitData|getData|{{{1|}}}|{{{2|}}}}}
 +
  |{{#invoke:UnitData|getData|{{{1|}}}|{{{2|}}}}}|0}}</includeonly>
 
<noinclude>
 
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Please add categories and interwiki links to /doc subpage, not here! -->
 
<!-- Please add categories and interwiki links to /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 20:25, 22 June 2024


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