Difference between revisions of "Template:Infobox test"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
| header1 = {{#if:{{{origin|}}}{{{used_by|}}}{{{wars|}}}| Service}} | | header1 = {{#if:{{{origin|}}}{{{used_by|}}}{{{wars|}}}| Service}} | ||
− | | label2 = Place | + | | label2 = Place of origin |
| data2 = {{{origin|}}} | | data2 = {{{origin|}}} | ||
− | | label5 = Used | + | | label5 = Used by |
| data5 = {{{used_by|}}} | | data5 = {{{used_by|}}} | ||
Line 33: | Line 33: | ||
| data10 = {{{manufacturer|}}} | | data10 = {{{manufacturer|}}} | ||
− | | label11 = Unit | + | | label11 = Unit cost |
| data11 = {{{unit_cost|{{#external_value:cbt}} Combat<br \>{{#external_value:sup}} Support<br \>{{#external_value:cmd}} Command}}} | | data11 = {{{unit_cost|{{#external_value:cbt}} Combat<br \>{{#external_value:sup}} Support<br \>{{#external_value:cmd}} Command}}} | ||
Line 55: | Line 55: | ||
| data24 = {{{dmg|}}} | | data24 = {{{dmg|}}} | ||
− | | label35 = Rate | + | | label35 = Rate of fire |
− | | data35 = {{#if:{{{is_ranged|}}}{{{ | + | | data35 = {{#if:{{{is_ranged|}}}| {{#expr: ( 1/{{#external_value:rate}} )round1 }} per s|{{{rate|}}} }} |
− | | label37 = Optimal | + | | label37 = Optimal range |
| data37 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{range|}}} }} | | data37 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{range|}}} }} | ||
− | | label39 = | + | | label39 = Secondary Firing Mode |
− | | data39 = | + | | data39 = {{{mode|}}} |
| label40 = Magazine | | label40 = Magazine | ||
− | | data40 = | + | | data40 = {{{feed|}}} |
− | | label41 = Spare {{#if:{{{is_explosive|}}}| Units|Magazines}} | + | | label41 = Spare {{#if: {{{is_explosive|}}}| Units|Magazines}} |
− | | data41 = | + | | data41 = {{{mags|}}} |
− | | label44 = Mod | + | | label44 = Mod slots |
− | | data44 = | + | | data44 = {{{slots|}}} |
− | |||
| data50 = {{#if:{{{boost|}}}{{{speed|}}}| <hr/> }} | | data50 = {{#if:{{{boost|}}}{{{speed|}}}| <hr/> }} | ||
}} | }} |
Revision as of 18:05, 23 July 2020
Unit cost |
Error: no local variable "cbt" was set. Combat Error: no local variable "sup" was set. Support Error: no local variable "cmd" was set. Command |
---|