Template:InfoBoxVehicle: Difference between revisions
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> |
Revision as of 11:26, 1 May 2025
Vehicle InfoBox Template (currently in testing state)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the vehicle, this should be the same as the name of the page.
| String | suggested |
Code | Code | The ingame code of the vehicle.
| String | suggested |
Type | Type | The license required to operate this vehicle
| String | suggested |
Distributor | Distributor | Location the vehicle can obtained.
| String | suggested |
Rarity | Rarity | The ingame rarity of the vehicle.
| String | suggested |
Cost | Cost | Cost of the vehicle in Wingz Points (units are automatically appended), or the method of obtaining the vehicle.
| String | suggested |
Available jobs | Jobs | A list of the available jobs the vehicle has. Items are to be separated by commas.
| String | suggested |
Vehicle customization | Customization | List of customization options the vehicle has. Options are to be separated by commas.
| String | suggested |
Contributors | Contributors | A list of the developers/members who contributed towards the vehicle. Developers have their own category pages so check that their username is typed correctly. Names are to be separated by commas.
| String | suggested |
Maximum speed | Max Speed | The maximum speed of the vehicle in knots (units are automatically appended).
| Number | suggested |
Stall speed | Stall Speed | The stall speed of the vehicle in knots (units are automatically appended, will be hidden automatically if the vehicle type is ground vehicle or boat).
| Number | suggested |
Service ceiling | CeilingFeet | The service ceiling of the vehicle in feet (units are automatically appended, will be hidden automatically if the vehicle type is ground vehicle or boat).
| Number | suggested |
Range | RangeNM | The range of the vehicle in nautical miles (units are automatically appended).
| Number | suggested |
Capacity | Capacity | The capacity of the vehicle.
| Number | suggested |
Image | photo | Image shown at the top of the InfoBox.
| File | suggested |
Image caption | caption | A brief description of the image shown in the InfoBox.
| String | suggested |