Template:Infobox zkunit: Difference between revisions
Template page
More actions
Created page with "<includeonly>{{ Infobox zkunit <!-- Required fields --> |defname = {{{defname}}} |name = {{{name|{{#invoke:UnitData|getData|{{{defname}}}|name}}}}} <!-- Optional fields --> |unitname = |description = {{{description|{{#invoke:UnitData|getData|{{{defname}}}|description}}}}} |image = {{{image|{{{defname}}}}}} |icontype = {{{icontype|{{#invoke:UnitData|getData|{{{defname}}}|icontype}}}}} |cost = {{{cost|{{#invoke:UnitData|getData|{{{defname}}}|cost}}}}} |hitpoints = {{{hitp..." |
No edit summary |
||
| Line 1: | Line 1: | ||
< | <noinclude>[[Category:ZK Infoboxes]]</noinclude> | ||
{{ infobox | |||
< | |||
| | |titlestyle = | ||
| | |abovestyle = | ||
}} | |subheaderstyle = | ||
|title = | |||
|above = {{{name}}}{{#if:{{{defname|}}}|<br>({{{defname}}})}} | |||
|subheader = {{#invoke:String|replace|{{{description|}}}| - |<hr> }} | |||
|imagestyle = | |||
|captionstyle = | |||
|image = {{unit image|{{{image|}}}|alt={{{name}}}}}{{#if:{{{icontype|}}}| {{#ifexist:File:Uniticon {{{icontype}}}.png|[[File:Uniticon {{{icontype}}}.png|x48px|alt={{{icontype|}}}|link=]]|<img src="//manual.zero-k.info/icons/{{{icontype}}}.png" height="48" alt="{{{icontype|}}}">}}|}} | |||
<!--(was disabled as thumbnails were not supported) [[File:Uniticon {{{icontype}}}.png|64px]] --> | |||
|caption = | |||
|headerstyle = background:#444; | |||
|labelstyle = | |||
|datastyle = text-align: center; | |||
| header1 = Stats | |||
| label2 = Cost | |||
| data2 = {{{cost|}}} | |||
| label3 = Hit Points | |||
| data3 = {{{hitpoints|}}} | |||
| label4 = Mass | |||
| data4 = {{{mass|}}} | |||
| label5 = Movement Speed (elmo/s) | |||
| data5 = {{{movespeed|}}} | |||
| label6 = Turn Rate (deg/s) | |||
| data6 = {{{turnrate|}}} | |||
| label7 = Energy (E/s) | |||
| data7 = {{{energy||}}} | |||
| label8 = Vision Radius (elmo) | |||
| data8 = {{{sight|}}} | |||
| label9 = Sonar (elmo) | |||
| data9 = {{{sonar|}}} | |||
| label10 = Transportable | |||
| data10 = {{{transportable|}}} | |||
| label11 = Altitude (elmo) | |||
| data11 = {{{altitude|}}} | |||
| label12 = Grid link range (elmo) | |||
| data12 = {{{gridlink|}}} | |||
| header40 = {{#if: {{{abilities|}}} |Abilities|}} | |||
| data41 = {{{abilities|}}} | |||
| header50 = Weapons | |||
| data51 = {{{weapons|None}}} | |||
| label95 = Unitname | |||
| data95 = {{{unitname|}}} | |||
}} | |||
<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> | ||