Template:Weapon
From IK
This template makes a sidebar to weapon pages with the main information about the weapon. Descriptions of the weapon have been left out as they should probably be in the main article text.
useage:
{{weapon|
weapon_name=name|
weapon_image=hydrofarm1.gif|
weapon_type=Small Arms|
tech_level=1|
base_research_time=1 hour|
best_research_time=5 minutes|
prerequisite_concepts=playing the game|
buildings_granted=none|
units_granted=none|
weapons_granted=none|
concepts_granted=none|
rcost_fe=1|
rcost_o=2|
rcost_si=3|
rcost_mg=4|
rcost_ni=5|
rcost_s=6|
rcost_he=7|
rcost_h=8|
rcost_food=9|
rcost_workers=10|
rcost_energy=11|
class=Small Arms|
base_accuracy=60%|
up1_accuracy= +6%|
max_accuracy=100%|
base_aread=1|
up1_aread= +1|
max_aread=10|
base_rate=1|
up1_rate= +1|
max_rate=?|
base_power=20|
up1_power= +4|
max_power=?|
base_damage=10|
up1_damage= +2|
max_damage=?|
base_size=100kg|
max_size=No Limit|
max_upgrade=MK 20|
upgrade_time=5 hours|
ucost_fe=1|
ucost_o=2|
ucost_si=3||
ucost_mg=4|
ucost_ni=5|
ucost_s=6|
ucost_he=7|
ucost_h=8|
ucost_food=9|
ucost_workers=10|
ucost_energy=11|
}}
You can leave out any field except unit_name and resonable subitutions will be made.
The above example creates something that looks like:
| | ||||
| Unknown Weapon Type | ||||
| Research Details | ||||
| Tech Level: | unknown | |||
| Base Research Time: | unknown | |||
| Best Research Time: (85% Bonus) | unknown | |||
| Prereq Concept: | none | |||
| Concepts Granted: | none | |||
| Buildings Granted: | none | |||
| Units Granted: | none | |||
| Weapons Granted: | none | |||
| Research Cost: | FE: 0 | O: 0 | SI: 0 | MG: 0 |
| NI: 0 | S: 0 | HE: 0 | H: 0 | |
| Unit Details | ||||
| Class: | unknown | |||
| Weapon Stats: | Stat | Base Level | 1st Upgrade | Stat Cap |
| Accuracy % | unknown | unknown | unknown | |
| Area Damage | unknown | unknown | unknown | |
| Rate of Fire | unknown | unknown | unknown | |
| Power | unknown | unknown | unknown | |
| Damage | unknown | unknown | unknown | |
| Size (Weight) | unknown | N/A | unknown | |
| Max Upgrade Level: | unknown | |||
| Upgrade Time: | unknown | |||
| 1st Upgrade Cost: | FE: 0 | O: 0 | SI: 0 | MG: 0 |
| NI: 0 | S: 0 | HE: 0 | H: 0 | |
| Weapons - Tech Tree | ||||

