Template:Infobox weapon: Difference between revisions
Jump to navigation
Jump to search
RobbyTheSeal (talk | contribs) (More progress.) Tag: 2017 source edit |
RobbyTheSeal (talk | contribs) (Finished first transposition draft.) Tag: 2017 source edit |
||
Line 158: | Line 158: | ||
| label50 = Blast yield | | label50 = Blast yield | ||
| data50 = {{#if:{{{is_missile|}}}{{{is_explosive|}}} | {{{yield|}}} }} | | data50 = {{#if:{{{is_missile|}}}{{{is_explosive|}}} | {{{yield|}}} }} | ||
| data51 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{#if:{{{armour|}}}{{{primary_armament|}}}{{{secondary_armament|}}}{{{engine|}}}{{{engine_power|}}}{{{pw_ratio|}}}{{{payload_capacity|}}}{{{transmission|}}}{{{suspension|}}}{{{clearance|}}}{{{wingspan|}}}{{{propellant|}}}{{{fuel_capacity|}}}{{{vehicle_range|}}}{{{ceiling|}}}{{{altitude|}}}{{{boost|}}}{{{depth|}}}{{{speed|}}}{{{guidance|}}}{{{steering|}}}{{{accuracy|}}}{{{launch_platform|}}}{{{transport|}}}| <hr/> }}}} | |||
| label52 = [[Wikipedia:Vehicle armour|Vehicle armor]] | |||
| data52 = {{#if:{{{is_vehicle|}}}| {{{armor|}}} }} | |||
| label53 = <div style="line-height:1.25em">Main<br/>armament</div> | |||
| data53 = {{#if:{{{is_vehicle|}}}| {{{primary_armament|}}} }} | |||
| label54 = <div style="line-height:1.25em">Secondary<br/>armament</div> | |||
| data54 = {{#if:{{{is_vehicle|}}}| {{{secondary_armament|}}} }} | |||
| label55 = Engine | |||
| data55 = {{#if:{{{is_vehicle|}}{{{is_missile|}}}| {{br separated entries |1={{{engine|}}} |2={{{engine_power|}}} }} }} | |||
| label56 = Power/weight | |||
| data56 ={{#if:{{{is_vehicle|}}}| {{{pw_ratio|}}} }} | |||
| label57 = Payload capacity | |||
| data57 = {{#if:{{{is_vehicle|}}}| {{{payload_capacity|}}} }} | |||
| label58 = Drive | |||
| data58 = {{#if:{{{is_vehicle|}}}| {{{drive|}}} }} | |||
| label59 = Transmission | |||
| data59 = {{#if:{{{is_vehicle|}}}| {{{transmission|}}} }} | |||
| label60 = Suspension | |||
| data60 = {{#if:{{{is_vehicle|}}}| {{{suspension|}}} }} | |||
| label61 = Ground clearance | |||
| data61 = {{#if:{{{is_vehicle|}}}| {{{clearance|}}} }} | |||
| label62 = Propellant | |||
| data62 = {{#if:{{{is_missile|}}}| {{{propellant|}}} }} | |||
| label63 = Fuel capacity | |||
| data63= {{#if:{{{is_vehicle|}}}| {{{fuel_capacity|}}} }} | |||
| label64 = <div style="line-height:1.25em">Operational<br/>range</div> | |||
| data64 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{vehicle_range|}}} }} | |||
| label65 = Flight ceiling | |||
| data65 ={{#if:{{{is_missile|}}}| {{{ceiling|}}} }} | |||
| label66 = Flight altitude | |||
| data66 = {{#if:{{{is_missile|}}}| {{{altitude|}}} }} | |||
| label67 = Boost time | |||
| data67 = {{#if:{{{is_missile|}}}| {{{boost|}}} }} | |||
| label68 = Maximum depth | |||
| data68 = {{#if:{{{is_missile|}}}| {{{depth|}}} }} | |||
| label69 = {{tooltip|2=Maximum speed of vehicle or missile| Maximum speed | dotted=no}} | |||
| data69 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{speed|}}} }} | |||
| label70 = <div style="line-height:1.25em">Guidance<br/>system</div> | |||
| data70 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{guidance|}}} }} | |||
| label71 = <div style="line-height:1.25em">Steering<br/>system</div> | |||
| data71 = {{#if:{{{is_vehicle|}}}{{{is_missile|}}}| {{{steering|}}} }} | |||
| label72 = Accuracy | |||
| data72 = {{#if:{{{is_missile|}}}| {{{accuracy|}}} }} | |||
| label73 = <div style="line-height:1.25em">Launch<br/>platform</div> | |||
| data73 = {{#if:{{{is_missile|}}}| {{{launch_platform|}}} }} | |||
| label74 = Transport | |||
| data74 = {{#if:{{{is_missile|}}}| {{{transport|}}} }} | |||
}} | }} |
Revision as of 05:02, 19 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”.