Template:Infobox weapon: Difference between revisions
Jump to navigation
Jump to search
RobbyTheSeal (talk | contribs) mNo edit summary Tag: 2017 source edit |
RobbyTheSeal (talk | contribs) mNo edit summary Tag: 2017 source edit |
||
Line 61: | Line 61: | ||
| data17 = {{{length|}}} | | data17 = {{{length|}}} | ||
| label18 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| [[Gun barrel|Barrel]]|{{#if:{{{is_bladed|}}}| Blade}}}} length | | label18 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| [[Wikipedia:Gun barrel|Barrel]]|{{#if:{{{is_bladed|}}}| Blade}}}} length | ||
| data18 = {{{part_length|}}} | | data18 = {{{part_length|}}} | ||
Line 84: | Line 84: | ||
| data25 = {{#if:{{{mass|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{wingspan|}}}{{{crew|}}}{{{passengers|}}} | {{#if:{{{is_ranged|}}}{{{is_artillery|}}}{{{is_bladed|}}}{{{is_explosive|}}} | {{#if:{{{cartridge|}}}{{{cartridge_mass|}}}{{{caliber|}}}{{{barrels|}}}{{{action|}}}{{{breech|}}}{{{recoil|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{max_range|}}}{{{feed|}}}{{{sights|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}} | <hr/> }} }} }} | | data25 = {{#if:{{{mass|}}}{{{length|}}}{{{part_length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{wingspan|}}}{{{crew|}}}{{{passengers|}}} | {{#if:{{{is_ranged|}}}{{{is_artillery|}}}{{{is_bladed|}}}{{{is_explosive|}}} | {{#if:{{{cartridge|}}}{{{cartridge_mass|}}}{{{caliber|}}}{{{barrels|}}}{{{action|}}}{{{breech|}}}{{{recoil|}}}{{{carriage|}}}{{{elevation|}}}{{{traverse|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{max_range|}}}{{{feed|}}}{{{sights|}}}{{{blade_type|}}}{{{hilt_type|}}}{{{sheath_type|}}}{{{head_type|}}}{{{haft_type|}}}{{{filling|}}}{{{filling_weight|}}}{{{detonation|}}}{{{yield|}}} | <hr/> }} }} }} | ||
| label26 = {{#if:{{{is_artillery|}}}|[[Wikipedia:Shell (projectile)|Shell]] | [[Wikipedia:Cartridge (firearms)|Cartridge]] }} | | label26 = {{#if:{{{is_artillery|}}}| [[Wikipedia:Shell (projectile)|Shell]]|[[Wikipedia:Cartridge (firearms)|Cartridge]] }} | ||
| data26 = {{#if:{{{is_artillery|}}}{{{is_ranged|}}} | {{{cartridge|}}} }} | | data26 = {{#if:{{{is_artillery|}}}{{{is_ranged|}}} | {{{cartridge|}}} }} | ||
Revision as of 05:17, 20 April 2024
Usage
Behaves similarly to the page found on Wikipedia. Important changes include:
- Template field “armour” has been switched to “armor”.
- links have been adjusted to point to Wikipedia through the “Wikipedia:” link extension.
- British English field & associated structures removed to reduce source text size.
- Added ability to list power/mass ratio (using “pm_ratio”) instead of power/weight ratio. This option should be used when listing specifications given in units of kW/tonne, kW/kg, or variations thereof; specifications in hp/ton or kW/ton should continue to use the standard “pw_ratio”.