Template:WeaponInfobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="width: 300px; border: solid 1px #AAA;" | <includeonly>{| class="infobox" style="width: 300px; border: solid 1px #AAA;" | ||
|+ style="background-color: #AFDBF5; text-align: center;" | <big>'''{{{name|{{PAGENAME}}}}}'''</big> | |+ style="background-color: #AFDBF5; text-align: center;" | <big>'''{{{name|{{PAGENAME}}}}}'''</big> | ||
|- {{#if: {{{image|}}} | | style="display: none;" }} | |- {{#if: {{{image|}}} | | style="display: none;" }} | ||
Line 23: | Line 23: | ||
|- {{#if: {{{variants|}}} | | style="display: none;" }} | |- {{#if: {{{variants|}}} | | style="display: none;" }} | ||
| '''Variants''' || {{{variants}}} | | '''Variants''' || {{{variants}}} | ||
|- {{#if: {{{mass|}}}{{{length|}}}{{{barrel_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{passengers|}}}{{{cartridge|}}}{{{caliber|}}}{{{barrels|}}}{{{action|}}}{{{feed|}}}{{{rate|}}}{{{velocity|}}}{{{muzzle_energy|}}}{{{recoil_energy|}}}{{{range|}}}{{{max_range|}}} | | style="display: none;" }} | |- {{#if: {{{mass|}}}{{{length|}}}{{{barrel_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{passengers|}}}{{{cartridge|}}}{{{shell|}}}{{{caliber|}}}{{{barrels|}}}{{{action|}}}{{{feed|}}}{{{rate|}}}{{{velocity|}}}{{{muzzle_energy|}}}{{{recoil_energy|}}}{{{range|}}}{{{max_range|}}}{{{breech|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}{{{armour|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{engine|}}}{{{pw_ratio|}}}{{{payload_capacity|}}}{{{drive|}}}{{{transmission|}}}{{{suspension|}}}{{{clearance|}}}{{{fuel_capacity|}}}{{{vehicle_range|}}}{{{speed|}}}{{{guidance|}}}{{{steering|}}}{{{wingspan|}}}{{{propellant|}}}{{{ceiling|}}}{{{altitude|}}}{{{boost|}}}{{{depth|}}}{{{accuracy|}}}{{{launch_platform|}}}{{{transport|}}} | | style="display: none;" }} | ||
! colspan="2" style="background-color: #AFDBF5; text-align: center;" | Specifications | ! colspan="2" style="background-color: #AFDBF5; text-align: center;" | Specifications | ||
|- {{#if: {{{mass|}}} | | style="display: none;" }} | |- {{#if: {{{mass|}}} | | style="display: none;" }} | ||
Line 41: | Line 41: | ||
|- {{#if: {{{passengers|}}} | | style="display: none;" }} | |- {{#if: {{{passengers|}}} | | style="display: none;" }} | ||
| '''Passengers''' || {{{passengers}}} | | '''Passengers''' || {{{passengers}}} | ||
|- {{#if: {{{cartridge|}}}{{{caliber|}}}{{{barrels|}}}{{{action|}}}{{{feed|}}}{{{rate|}}}{{{velocity|}}}{{{muzzle_energy|}}}{{{recoil_energy|}}}{{{range|}}}{{{max_range|}}} | | style="display: none;" }} | |- {{#if: {{{cartridge|}}}{{{shell|}}}{{{caliber|}}}{{{barrels|}}}{{{action|}}}{{{feed|}}}{{{rate|}}}{{{velocity|}}}{{{muzzle_energy|}}}{{{recoil_energy|}}}{{{range|}}}{{{max_range|}}}{{{breech|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}}{{{armour|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{engine|}}}{{{pw_ratio|}}}{{{payload_capacity|}}}{{{drive|}}}{{{transmission|}}}{{{suspension|}}}{{{clearance|}}}{{{fuel_capacity|}}}{{{vehicle_range|}}}{{{speed|}}}{{{guidance|}}}{{{steering|}}}{{{wingspan|}}}{{{propellant|}}}{{{ceiling|}}}{{{altitude|}}}{{{boost|}}}{{{depth|}}}{{{accuracy|}}}{{{launch_platform|}}}{{{transport|}}} | | style="display: none;" }} | ||
| colspan="2" | <hr /> | | colspan="2" | <hr /> | ||
|- {{#if: {{{shell|}}} | | style="display: none;" }} | |||
| '''Shell''' || {{{shell}} | |||
|- {{#if: {{{cartridge|}}} | | style="display: none;" }} | |- {{#if: {{{cartridge|}}} | | style="display: none;" }} | ||
| '''Cartridge''' || {{{cartridge}}} | | '''Cartridge''' || {{{cartridge}}} | ||
Line 49: | Line 51: | ||
|- {{#if: {{{barrels|}}} | | style="display: none;" }} | |- {{#if: {{{barrels|}}} | | style="display: none;" }} | ||
| '''Barrels''' || {{{barrels}}} | | '''Barrels''' || {{{barrels}}} | ||
|- {{#if: {{{breech|}}} | | style="display: none;" }} | |||
| '''Breech''' || {{{breech}}} | |||
|- {{#if: {{{carriage|}}} | | style="display: none;" }} | |||
| '''Carriage''' || {{{carriage}}} | |||
|- {{#if: {{{elevation|}}} | | style="display: none;" }} | |||
| '''Elevation''' || {{{elevation}}} | |||
|- {{#if: {{{traverse|}}} | | style="display: none;" }} | |||
| '''Traverse''' || {{{traverse}}} | |||
|- {{#if: {{{action|}}} | | style="display: none;" }} | |- {{#if: {{{action|}}} | | style="display: none;" }} | ||
| '''Action''' || {{{action}}} | | '''Action''' || {{{action}}} | ||
Line 65: | Line 75: | ||
|- {{#if: {{{max_range|}}} | | style="display: none;" }} | |- {{#if: {{{max_range|}}} | | style="display: none;" }} | ||
| '''Maximum range''' || {{{max_range}}} | | '''Maximum range''' || {{{max_range}}} | ||
|- {{#if: {{{blade_type|}}} | | style="display: none;" }} | |||
| '''Blade type''' || {{{blade_type}}} | |||
|- {{#if: {{{hilt_type|}}} | | style="display: none;" }} | |||
| '''Hilt type''' || {{{hilt_type}}} | |||
|- {{#if: {{{sheath_type|}}} | | style="display: none;" }} | |||
| '''Sheath type''' || {{{sheath_type}}} | |||
|- {{#if: {{{head_type|}}} | | style="display: none;" }} | |||
| '''Head type''' || {{{head_type}}} | |||
|- {{#if: {{{haft_type|}}} | | style="display: none;" }} | |||
| '''Haft type''' || {{{haft_type}}} | |||
|- {{#if: {{{filling|}}} | | style="display: none;" }} | |||
| '''Filling''' || {{{filling}}} | |||
|- {{#if: {{{filling_weight|}}} | | style="display: none;" }} | |||
| '''Filling weight''' || {{{filling_weight}}} | |||
|- {{#if: {{{detonation|}}} | | style="display: none;" }} | |||
| '''Detonation mechanism''' || {{{detonation}}} | |||
|- {{#if: {{{yield|}}} | | style="display: none;" }} | |||
| '''Blast yield''' || {{{yield}}} | |||
|- {{#if: {{{armour|}}} | | style="display: none;" }} | |||
| '''Armour''' || {{{armour}}} | |||
|- {{#if: {{{primary_armament|}}} | | style="display: none;" }} | |||
| '''Main armament''' || {{{primary_armament}}} | |||
|- {{#if: {{{secondary_armament|}}} | | style="display: none;" }} | |||
| '''Secondary armament''' || {{{secondary_armament}}} | |||
|- {{#if: {{{engine|}}} | | style="display: none;" }} | |||
| '''Engine''' || {{{engine}}} | |||
|- {{#if: {{{pw_ratio|}}} | | style="display: none;" }} | |||
| '''Power/weight''' || {{{pw_ratio}}} | |||
|- {{#if: {{{payload_capacity|}}} | | style="display: none;" }} | |||
| '''Payload capacity''' || {{{payload_capacity}}} | |||
|- {{#if: {{{drive|}}} | | style="display: none;" }} | |||
| '''Drive''' || {{{drive}}} | |||
|- {{#if: {{{transmission|}}} | | style="display: none;" }} | |||
| '''Transmission''' || {{{transmission}}} | |||
|- {{#if: {{{suspension|}}} | | style="display: none;" }} | |||
| '''Suspension''' || {{{suspension}}} | |||
|- {{#if: {{{clearance|}}} | | style="display: none;" }} | |||
| '''Ground clearance''' || {{{clearance}}} | |||
|- {{#if: {{{fuel_capacity|}}} | | style="display: none;" }} | |||
| '''Fuel capacity''' || {{{fuel_capacity}}} | |||
|- {{#if: {{{vehicle_range|}}} | | style="display: none;" }} | |||
| '''Operational range''' || {{{vehicle_range}}} | |||
|- {{#if: {{{speed|}}} | | style="display: none;" }} | |||
| '''Maximum speed''' || {{{speed}}} | |||
|- {{#if: {{{guidance|}}} | | style="display: none;" }} | |||
| '''Guidance system''' || {{{guidance}}} | |||
|- {{#if: {{{steering|}}} | | style="display: none;" }} | |||
| '''Steering system''' || {{{steering}}} | |||
|- {{#if: {{{wingspan|}}} | | style="display: none;" }} | |||
| '''Wingspan''' || {{{wingspan}}} | |||
|- {{#if: {{{propellant|}}} | | style="display: none;" }} | |||
| '''Propellant''' || {{{propellant}}} | |||
|- {{#if: {{{ceiling|}}} | | style="display: none;" }} | |||
| '''Flight ceiling''' || {{{ceiling}}} | |||
|- {{#if: {{{altitude|}}} | | style="display: none;" }} | |||
| '''Flight altitude''' || {{{altitude}}} | |||
|- {{#if: {{{boost|}}} | | style="display: none;" }} | |||
| '''Boost time''' || {{{boost}}} | |||
|- {{#if: {{{depth|}}} | | style="display: none;" }} | |||
| '''Maximum depth''' || {{{depth}}} | |||
|- {{#if: {{{accuracy|}}} | | style="display: none;" }} | |||
| '''Accuracy''' || {{{accuracy}}} | |||
|- {{#if: {{{launch_platform|}}} | | style="display: none;" }} | |||
| '''Launch platform''' || {{{launch_platform}}} | |||
|- {{#if: {{{transport|}}} | | style="display: none;" }} | |||
| '''Transport''' || {{{transport}}} | |||
|- {{#if: {{{sights|}}}{{{modes|}}}{{{safety|}}}{{{material|}}}{{{durability|}}}{{{acessories|}}}{{{special_use|}}}{{{features|}}}{{{cultural_design|}}} | | style="display: none;" }} | |- {{#if: {{{sights|}}}{{{modes|}}}{{{safety|}}}{{{material|}}}{{{durability|}}}{{{acessories|}}}{{{special_use|}}}{{{features|}}}{{{cultural_design|}}} | | style="display: none;" }} | ||
! colspan="2" style="background-color: #AFDBF5; text-align: center;" | Features | ! colspan="2" style="background-color: #AFDBF5; text-align: center;" | Features | ||
Line 89: | Line 168: | ||
|- {{#if: {{{notes|}}} | | style="display: none;" }} | |- {{#if: {{{notes|}}} | | style="display: none;" }} | ||
| colspan="2" | {{{notes}}} | | colspan="2" | {{{notes}}} | ||
|}<noinclude> | |}</includeonly><noinclude>{{doc}} | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]]</noinclude> | ||
</noinclude> |
Latest revision as of 07:13, 14 December 2024
Template documentation
The {{WeaponInfobox}} is used to create an infobox for a weapon or weapon system.
Usage
Image of the handgun | |
Type | Semi-automatic pistol carbine hybrid |
Place of origin | Hergom ep swekorwos |
Production history | |
---|---|
Designed | 7691 |
Produced | 7691–present |
Specifications | |
Mass | 5 kg (unloaded), ~5.8 kg (loaded with 10 rounds) |
Length | 350 mm (13.8 in) |
Barrel length | 220 mm (8.7 in) |
Cartridge | 25×50mm Wolgos Pistol Standard |
Action | Short recoil-operated, tilting barrel |
Feed system | Detachable box magazine (10 rounds, double-stack) |
Muzzle velocity | ~600 m/s |
Recoil energy | 40 joules |
Effective range | 50–75 m |
Features | |
Sights | Iron sights with tritium inserts |
Fire modes | Semi-automatic |
Safety | Ambidextrous manual safety, grip safety |
Material | Steel alloy frame, polymer grips |
Durability | Corrosion-resistant coatings; reliable in extreme environments |
Accessories | Tactical rail for lights/lasers; threaded barrel for suppressor |
Cultural design | Subtle Wolgos insignias; designed for officers and elites |
Notes | |
Designed exclusively for Wolgos. Incompatible with human ergonomics due to size, weight, and recoil. |
To use the template, copy and paste the following at the top of the article. Then add the appropriate parameter values.
{{WeaponInfobox | name = | image = | image_size = | alt = | caption = | type = | origin = <!-- Production history --> | designer = | design_date = | manufacturer = | cost = | production_dates = | number = | variants = <!-- General specifications --> | mass = | length = | barrel_length = | width = | height = | diameter = | crew = | passengers = <!-- Ranged weapon specifications --> | cartridge = | caliber = | barrels = | action = | feed = | rate = | velocity = | muzzle_energy = | recoil_energy = | range = | max_range = <!-- Artillery weapon specification --> | shell = | breech = | carriage = | elevation = | traverse = <!-- Bladed weapon specifications --> | blade_type = | hilt_type = | sheath_type = | head_type = | haft_type = <!-- Explosive specifications --> | filling = | filling_weight = | detonation = | yield = <!-- Vehicle/missile specifications --> | armour = | primary_armament = | secondary_armament = | engine = | engine_power = | pw_ratio = | payload_capacity = | drive = | transmission = | suspension = | clearance = | fuel_capacity = | vehicle_range = | speed = | guidance = | steering = <!-- Missiles only --> | wingspan = | propellant = | ceiling = | altitude = | boost = | depth = | accuracy = | launch_platform = | transport = <!-- Features --> | sights = | modes = | safety = | material = | durability = | accessories = | special_use = | features = | cultural_design = | notes = |}
Parameters
Optional parameters are not displayed if left blank.
Parameter | Description | Type | Status | Notes |
---|---|---|---|---|
General parameters | ||||
name |
Weapon name | String | Required | Defaults to pagename |
image |
Image filename | String | Optional | |
image_size |
Image size | String | Optional | Defaults to 280px
|
alt |
Image alt text | String | Optional | |
caption |
Image caption | String | Optional | |
type |
Weapon type | String | Optional | |
origin |
Place of origin | String | Optional | Accepts {{flag|xxx}}
|
designer |
Designer | String | Optional | |
design_date |
Design date | String | Optional | Usually given as a year |
manufacturer |
Manufacturer | String | Optional | |
cost |
Unit cost | Numeric | Optional | Should be expressed in ₲ |
production_dates |
Production dates | String | Optional | Usually given as a range in years (e.g., 7656 – 7674) |
number |
Number produced | Numeric | Optional | |
variants |
Variants | String | Optional | Variant models of the weapon |
mass |
Mass | Numeric | Optional | Weapon system weight |
length |
Length | Numeric | Optional | Weapon system overall length |
barrel_length |
Barrel length | Numeric | Optional | Length of the barrel |
width |
Width | Numeric | Optional | |
height |
Height | Numeric | Optional | |
diameter |
Diameter | Diameter | Optional | |
crew |
Crew | Numeric | Optional | |
passengers |
Passengers | Numeric | Optional | |
Ranged weapon parameters | ||||
cartridge |
Cartridge | String | Optional | Type(s) of cartridge(s) or shell(s) used |
caliber |
Caliber | String | Optional | Interior diameter of the barrel (omit if cartridge is used) |
barrels |
Number of barrels | Numeric | Optional | For multi-barrel weapon systems |
action |
Action | String | Optional | For firearms, the type of action (e.g., semi-automatic) |
feed |
Feed system | String | Optional | For firearms, the type of feed system or magazine used |
rate |
Rate of fire | String | Optional | For automatic weapons, usually the cyclic rate |
velocity |
Muzzle velocity | String | Optional | Muzzle velocity of the fired projectile |
muzzle_energy |
Muzzle energy | String | Optional | |
recoil_energy |
Recoil energy | String | Optional | |
range |
Effective range | String | Optional | Effective range of the weapon |
max_range |
Maximum range | String | Optional | Maximum range of the weapon |
Artillery weapon parameters | ||||
shell |
Shell type | String | Optional | Type of shell |
breech |
Breech mechanism | String | Optional | Type of breech mechanism |
carriage |
Carriage | String | Optional | Type of carriage |
elevation |
Elevation | String | Optional | Vertical range of possible firing angles |
traverse |
Traverse | String | Optional | Horizontal range of possible firing angles |
Bladed weapon parameters | ||||
blade_type |
Blade type | String | Optional | Description of the blade |
hilt_type |
Hilt type | String | Optional | Description of the hilt |
sheath_type |
Sheath type | String | Optional | Description of the scabbard or sheath |
head_type |
Head type | String | Optional | For blunt or striking weapons, description of the head |
haft_type |
Haft type | String | Optional | For blunt or striking weapons, description of the haft |
Explosive weapon parameters | ||||
filling |
Filling | String | Optional | Explosive filling type or warhead |
filling_weight |
Filling weight | String | Optional | Mass of the explosive or warhead |
detonation |
Trigger type | String | Optional | Trigger type (e.g. "timer", "pressure", "motion sensor") |
yield |
Yield | String | Optional | Usually in tons of TNT or TNT equivalent |
Vehicle/missile parameters | ||||
armour |
Armor | String | Optional | Armor plating of the vehicle |
primary_armament |
Main armament | String | Optional | Primary weapon system of the vehicle |
secondary_armament |
Secondary armament | String | Optional | Secondary weapon system of the vehicle |
engine |
Engine type | String | Optional | |
engine_power |
Engine power output | String | Optional | Usually in hp or kW |
pw_ratio |
Power-to-weight ratio | String | Optional | Usually in hp/tonne |
payload_capacity |
Payload capacity | String | Optional | How much weight the vehicle can carry |
drive |
Drivetrain | String | Optional | Wheel or track configuration (e.g. 4×4, 6×4, tracked) |
transmission |
Transmission | String | Optional | Type of transmission |
suspension |
Suspension | String | Optional | Type of suspension |
clearance |
Ground clearance | String | Optional | |
fuel_capacity |
Fuel capacity | String | Optional | |
vehicle_range |
Vehicle range | String | Optional | Operational range of the vehicle or missile |
speed |
Maximum speed | String | Optional | Maximum speed of the vehicle (usually the road speed) |
guidance |
Guidance system | String | Optional | |
steering |
Steering system | String | Optional | |
Missiles only parameters | ||||
wingspan |
Wingspan | String | Optional | |
propellant |
Propellant | String | Optional | |
ceiling |
Flight ceiling | String | Optional | |
altitude |
Flight altitude | String | Optional | Normal flight altitude |
boost |
Maximum boost time | String | Optional | |
depth |
Maximum depth | String | Optional | For underwater weapons such as torpedoes, the maximum operating depth |
accuracy |
Guidance accuracy | String | Optional | |
launch_platform |
Launch platform | String | Optional | |
transport |
Transport | String | Optional | For missiles, the transportation vehicle or method, if different from the launch platform |
Feature parameters | ||||
sights |
Sights | String | Optional | Type of sights used |
modes |
Modes | String | Optional | Firing modes |
safety |
Safety | String | Optional | Types of safeties |
accessories |
Accessories | String | Optional | |
special_use |
Special uses | String | Optional | |
features |
Features | String | Optional | Unique or special features |
cultural_design |
Cultural design | String | Optional | Cultural design elements such as symbols or assignment to particular umits |
notes |
Notes | String | Optional | Significant notes relevant to the weapon system |