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 |
||
(5 intermediate revisions by the same user not shown) | |||
Line 87: | Line 87: | ||
| data26 = {{#if:{{{is_artillery|}}}{{{is_ranged|}}} | {{{cartridge|}}} }} | | data26 = {{#if:{{{is_artillery|}}}{{{is_ranged|}}} | {{{cartridge|}}} }} | ||
| label27 = {{#if:{{{is_artillery|}}}|[[Wikipedia:Shell (projectile)|Shell]] | [[Wikipedia:Cartridge (firearms)|Cartridge]] }} | | label27 = {{#if:{{{is_artillery|}}}| [[Wikipedia:Shell (projectile)|Shell]]|[[Wikipedia:Cartridge (firearms)|Cartridge]]}} weight | ||
| data27 = {{#if:{{{ | | data27 = {{#if:{{{is_ranged|}}}{{{is_artillery|}}}| {{{cartridge_weight|}}} }} | ||
| label28 = [[Wikipedia:Caliber|Caliber]] | | label28 = [[Wikipedia:Caliber|Caliber]] | ||
Line 173: | Line 173: | ||
| data55 = {{#if:{{{is_vehicle|}}{{{is_missile|}}}| {{br separated entries |1={{{engine|}}} |2={{{engine_power|}}} }} }} | | data55 = {{#if:{{{is_vehicle|}}{{{is_missile|}}}| {{br separated entries |1={{{engine|}}} |2={{{engine_power|}}} }} }} | ||
| label56 = Power/weight | | label56 = {{{#if:{{{pm_ratio|}}}| Power/mass|Power/weight}}} | ||
| data56 ={{#if:{{{is_vehicle|}}}| {{{pw_ratio|}}} }} | | data56 ={{#if:{{{is_vehicle|}}}| {{{pw_ratio|{{{pm_ratio}}} }}} }} | ||
| label57 = Payload capacity | | label57 = Payload capacity | ||
Line 229: | Line 229: | ||
| label74 = Transport | | label74 = Transport | ||
| data74 = {{#if:{{{is_missile|}}}| {{{transport|}}} }} | | data74 = {{#if:{{{is_missile|}}}| {{{transport|}}} }} | ||
}} | }} | ||
</includeonly> | </includeonly><noinclude>{{documentation}}</noinclude> | ||
<noinclude> | |||
{{documentation}} | |||
</noinclude> |
Latest revision as of 04:38, 28 October 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”.