Template:EnemyUnitStats/doc: Difference between revisions

Initial setup
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:


==Usage==
==Usage==
Syntax: <source lang="wiki+smarty">{{EnemyUnitStats
Syntax: <pre><nowiki>{{EnemyUnitStats
|title=Title of the stats (unit name/variant)
|title=Title of the stats (unit name/variant)
|classification=boss (this is optional)
|max_hp=1000
|max_hp=1000
|dmg=1
|dmg=1
Line 12: Line 13:
|mov=5
|mov=5
|armor=6
|armor=6
|range=4
|penetration=7
|penetration=7
|cost=For Assimilated units
|crit=For Assimilated units
|critrate=For Assimilated units
|repair=For Assimilated units
|comment=Some text
|comment=Some text
}}</source>
}}</nowiki></pre>


If <code><nowiki>comment</nowiki></code> is left unset or empty, the whole comment-row will not be shown.
If <code><nowiki>comment</nowiki></code> is left unset or empty, the whole comment-row will not be shown.