Difference between revisions of "Template:Infobox test"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
| headerstyle = {{WPMILHIST Infobox style|header_raw}} | | headerstyle = {{WPMILHIST Infobox style|header_raw}} | ||
− | | label1 = | + | | label1 = Type |
| data1 = {{{type|}}} | | data1 = {{{type|}}} | ||
| header1 = {{#if:{{{origin|}}}{{{used_by|}}}{{{wars|}}}| Service}} | | header1 = {{#if:{{{origin|}}}{{{used_by|}}}{{{wars|}}}| Service}} | ||
− | | label2 = | + | | label2 = Place of origin |
| data2 = {{{origin|}}} | | data2 = {{{origin|}}} | ||
− | | label5 = | + | | label5 = Used by |
− | | data5 = {{{used_by| | + | | data5 = {{{used_by|}}} |
− | | label6 = | + | | label6 = Wars |
| data6 = {{{wars|[[Event_Second_Antarean_War|Second Antarean War]]}}} | | data6 = {{{wars|[[Event_Second_Antarean_War|Second Antarean War]]}}} | ||
| header9 = {{#if:{{{manufacturer|}}}{{{unit_cost|}}}{{{variants|}}}| Production}} | | header9 = {{#if:{{{manufacturer|}}}{{{unit_cost|}}}{{{variants|}}}| Production}} | ||
− | | label10 = | + | | label10 = Manufacturer |
| data10 = {{{manufacturer|}}} | | data10 = {{{manufacturer|}}} | ||
− | | label11 = | + | | label11 = Unit cost |
− | | data11 = {{#if:{{{is_ranged|}}}| {{#external_value:cbt}} Combat<br \>{{#external_value:sup}} Support<br \>{{#external_value:cmd}} Command|{{{ | + | | data11 = {{#if:{{{is_ranged|}}}| {{#external_value:cbt}} Combat<br \>{{#external_value:sup}} Support<br \>{{#external_value:cmd}} Command|{{{unit_cost|}}} }} |
− | | label12 = | + | | label12 = Variants |
| data12 = {{{variants|}}} | | data12 = {{{variants|}}} | ||
| header13 = {{#if:{{{weight|}}}{{{cartridge|}}}{{{action|}}}| Specifications}} | | header13 = {{#if:{{{weight|}}}{{{cartridge|}}}{{{action|}}}| Specifications}} | ||
− | | label14 = | + | | label14 = Weight |
− | | data14 = {{#if:{{{is_ranged|}}}| {{#expr: (0.1+2*{{#external_value:mass}})round1 }} kg|{{{ | + | | data14 = {{#if:{{{is_ranged|}}}| {{#expr: (0.1+2*{{#external_value:mass}})round1 }} kg|{{{weight|}}} }} |
| label19 = Cartridge | | label19 = Cartridge | ||
Line 47: | Line 47: | ||
| label21 = Action | | label21 = Action | ||
− | | data21 = | + | | data21 = {{{is_ranged|}}} |
− | | header23 = {{#if:{{{dmg|}}}{{{rate|}}}{{{range|}}}{{{mode|}}}{{{feed|}}}{{{mags|}}}{{{slots|}}}| Operation }} | + | | header23 = {{#if:{{{dmg|}}}{{{rate|}}}{{{range|}}}{{{mode|}}}{{{feed|}}}{{{mags|}}}{{{slots|}}}| Operation}} |
| label24 = Damage Inflicted | | label24 = Damage Inflicted | ||
− | | data24 = {{#if:{{{is_ranged|}}}| {{#external_value:dmg}}|{{{ | + | | data24 = {{#if:{{{is_ranged|}}}| {{#external_value:dmg}}|{{{dmg|}}} }} |
| label35 = Rate of fire | | label35 = Rate of fire | ||
Line 61: | Line 61: | ||
| label39 = Secondary Firing Mode | | label39 = Secondary Firing Mode | ||
− | | data39 = {{#if:{{{is_ranged|}}}| {{#external_value:mode}}|{{{ | + | | data39 = {{#if:{{{is_ranged|}}}| {{#external_value:mode}}|{{{mode|}}} }} |
| label40 = Magazine | | label40 = Magazine | ||
− | | data40 = {{#if:{{{is_ranged|}}}| {{#external_value:ammo}} rounds|{{{ | + | | data40 = {{#if:{{{is_ranged|}}}| {{#external_value:ammo}} rounds|{{{feed|}}} }} |
− | | label41 = Spare | + | | label41 = Spare Magazines |
− | | data41 = {{#if:{{{is_ranged|}}}| {{#external_value:spares}}|{{{ | + | | data41 = {{#if:{{{is_ranged|}}}| {{#external_value:spares}}|{{{mags|}}} }} |
| label44 = Mod slots | | label44 = Mod slots | ||
− | | data44 = {{#if:{{{is_ranged|}}}| |{{{ | + | | data44 = {{#if:{{{is_ranged|}}}| |{{{slots|}}} }} |
− | | data50 = | + | | data50 = test <hr/> |
}} | }} |
Revision as of 19:10, 23 July 2020
Wars | Second Antarean War |
---|---|
test |
A420 | |
---|---|
A420 | |
Type | Carbine |
Service | |
Used by |
Private Military Corporations Antarean Imperial Army United League Army |
Wars | Second Antarean War |
Production | |
Manufacturer | Taldis |
Unit cost |
external_value:cbt Combat external_value:sup Support external_value:cmd Command |
Specifications | |
Weight | (0.1+2* external_value:mass )round1 kg |
Cartridge | GAR 8.13mm |
Operation | |
Damage Inflicted | external_value:dmg |
Rate of fire | ( 1/external_value:rate )round1 per s |
Optimal range | ( external_value:range/24 )round0 m |
Secondary Firing Mode | external_value:mode |
Magazine | external_value:ammo |
Spare Magazines | external_value:spares |
Mod slots |
1x Sights 1x Barrel 1x Magazine 1x Body |
|