Template:InfoBoxVehicle: Difference between revisions
Template page
More actions
Sqwishyish (talk | contribs) mNo edit summary |
Sqwishyish (talk | contribs) mNo edit summary |
||
Line 32: | Line 32: | ||
|- | |- | ||
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Cost | ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Cost | ||
| style="background-color: #101317; color: white; padding: 0.6em;" | {{#iferror: {{#expr: {{{Cost|0}}} + 0 }} | {{{Cost}}} | '''{{#if: {{{Cost| | | style="background-color: #101317; color: white; padding: 0.6em;" | {{#iferror: {{#expr: {{{Cost|0}}} + 0 }} | {{{Cost}}} | '''{{#if: {{{Cost|}}} | {{formatnum:{{{Cost}}}}} | 0 [[Category: Missing Parameters]]}}''' WP }} | ||
|- | |- | ||
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Jobs | ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Jobs | ||
Line 49: | Line 49: | ||
|- | |- | ||
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;" | Max Speed | ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;" | Max Speed | ||
| style="background-color: #101317; color: white; padding: 0.6em;" | '''{{#if: {{{Max Speed| | | style="background-color: #101317; color: white; padding: 0.6em;" | '''{{#if: {{{Max Speed|}}} | {{formatnum:{{{Max Speed}}}}} | 0 [[Category: Missing Parameters]]}}''' knots / '''{{formatnum:{{#expr: {{{Max Speed|0}}} * 1.852 round 0}}}}''' kph | ||
<!-- Hides the stall speed and service ceiling statistics if the vehicle type is a boat or a ground vehicle --> | <!-- Hides the stall speed and service ceiling statistics if the vehicle type is a boat or a ground vehicle --> | ||
{{#ifeq: {{{Type|}}} | Boat || {{#ifeq: {{{Type|}}} | Ground Vehicle || | {{#ifeq: {{{Type|}}} | Boat || {{#ifeq: {{{Type|}}} | Ground Vehicle || | ||
Line 56: | Line 56: | ||
<tr> | <tr> | ||
<th style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;">Stall Speed</th> | <th style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;">Stall Speed</th> | ||
<td style="background-color: #0c0e12; color: white; padding: 0.6em;">'''{{#if: {{{ | <td style="background-color: #0c0e12; color: white; padding: 0.6em;">'''{{#if: {{{Stall Speed|}}} | {{formatnum:{{{Stall Speed}}}}} | 0 [[Category: Missing Parameters]]}}''' knots / '''{{formatnum:{{#expr: {{{Stall Speed|0}}} * 1.852 round 0}}}}''' kph</td> | ||
</tr> | </tr> | ||
}}}} | }}}} | ||
Line 62: | Line 62: | ||
| <tr> | | <tr> | ||
<th style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;">Ceiling</th> | <th style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;">Ceiling</th> | ||
<td style="background-color: #101317; color: white; padding: 0.6em;">'''{{#if: {{{ | <td style="background-color: #101317; color: white; padding: 0.6em;">'''{{#if: {{{CeilingFeet|}}} | {{formatnum:{{{CeilingFeet}}}}} | 0 [[Category: Missing Parameters]]}}''' ft / '''{{formatnum:{{#expr: {{{CeilingFeet|0}}} * 0.3048 round 0}}}}''' m</td> | ||
</tr> | </tr> | ||
}} | }} | ||
Line 68: | Line 68: | ||
|- | |- | ||
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;" | Range | ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;" | Range | ||
| style="background-color: #0c0e12; color: white; padding: 0.6em;" | '''{{#if: {{{RangeNM| | | style="background-color: #0c0e12; color: white; padding: 0.6em;" | '''{{#if: {{{RangeNM|}}} | {{formatnum:{{{RangeNM}}}}}| 0 [[Category: Missing Parameters]]}}''' nmi / '''{{formatnum:{{#expr: {{{RangeNM|0 }}} * 1.852 round 0}}}}''' km | ||
|- | |- | ||
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black; border-bottom-left-radius: 8px;" | Capacity | ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black; border-bottom-left-radius: 8px;" | Capacity | ||
| style="background-color: #101317; color: white; padding: 0.6em; border-bottom-right-radius: 8px;" | '''{{#if: {{{Capacity| | | style="background-color: #101317; color: white; padding: 0.6em; border-bottom-right-radius: 8px;" | '''{{#if: {{{Capacity|}}} | {{formatnum:{{{Capacity}}}}} | 0 [[Category: Missing Parameters]]}}''' | ||
|}[[Category:Vehicles]]</includeonly> | |}[[Category:Vehicles]]</includeonly> | ||
<noinclude> | <noinclude> | ||
<!-- Example example values --> | <!-- Example example values --> | ||
{{Template:Testinfobox | {{Template:Testinfobox | ||
| name = Boeing 737-800 | <!-- | name = Boeing 737-800 | ||
| caption = Boeing 737-800 flying low over the [[Thalassan Sea]] | | caption = Boeing 737-800 flying low over the [[Thalassan Sea]] | ||
| Rarity = Common | | Rarity = Common | ||
Line 91: | Line 91: | ||
| Customization = Advanced Liveries, Advanced Customization | | Customization = Advanced Liveries, Advanced Customization | ||
| Contributors = RealPerseus, EAT_RIC3, Giovanni_085391 | | Contributors = RealPerseus, EAT_RIC3, Giovanni_085391 | ||
| photo = Aerowikiplaceholder.jpg | | photo = Aerowikiplaceholder.jpg --> | ||
}} | }} | ||
<templatedata> | <templatedata> |