Template:InfoBoxVehicle: Difference between revisions
More actions
Sqwishyish (talk | contribs) Updated Modelers to Contributors |
Sqwishyish (talk | contribs) m Added missing parameters category |
||
Line 5: | Line 5: | ||
| colspan="2" style="text-align: center; background-color: #1b1b1b; padding: 0.5em;" | {{#ifexist: {{PAGENAME}}photo.png | [[File:{{{photo|{{PAGENAME}}photo.png}}}|300px]]| [[File:{{{photo|Aerowikiplaceholder.jpg}}}|300px]]}} | | colspan="2" style="text-align: center; background-color: #1b1b1b; padding: 0.5em;" | {{#ifexist: {{PAGENAME}}photo.png | [[File:{{{photo|{{PAGENAME}}photo.png}}}|300px]]| [[File:{{{photo|Aerowikiplaceholder.jpg}}}|300px]]}} | ||
|- | |- | ||
| colspan="2" style="text-align: center; background-color: #18191c; color: white; font-style: italic; font-size: 85%; padding: 0.4em; border-bottom: 0.4px solid black;" | {{{caption|(Empty Caption)}}} | | colspan="2" style="text-align: center; background-color: #18191c; color: white; font-style: italic; font-size: 85%; padding: 0.4em; border-bottom: 0.4px solid black;" | {{{caption|(Empty Caption) [[Category: Missing Caption]]}}} | ||
|- | |- | ||
| colspan="2" style="text-align: center; background-color: #18191c; color: white; font-weight: bold; padding: 0.4em; border-top: 0.5px solid grey; border-bottom: 0.5px solid grey; line-height: 23px;" | {{{General Information|General Information}}} | | colspan="2" style="text-align: center; background-color: #18191c; color: white; font-weight: bold; padding: 0.4em; border-top: 0.5px solid grey; border-bottom: 0.5px solid grey; line-height: 23px;" | {{{General Information|General Information}}} | ||
|- | |- | ||
! style="background-color: #18191c; color: white; text-align: center; width: 31%; padding: 0.4em; border-right: 0.4px solid black;" | Code | ! style="background-color: #18191c; color: white; text-align: center; width: 31%; padding: 0.4em; border-right: 0.4px solid black;" | Code | ||
| style="background-color: #101317; color: white; padding: 0.6em;" | {{{Code| Unknown/None }}} | | style="background-color: #101317; color: white; padding: 0.6em;" | {{{Code| Unknown/None [[Category: Missing Parameters]]}}} | ||
|- | |- | ||
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Type | ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Type | ||
| style="background-color: #0c0e12; color: white; padding: 0.6em;" | {{#if: {{{Type|}}} | [[:Category:{{{Type}}}s|{{{Type}}}]][[Category:{{{Type}}}s]] | Unknown/None }} | | style="background-color: #0c0e12; color: white; padding: 0.6em;" | {{#if: {{{Type|}}} | [[:Category:{{{Type}}}s|{{{Type}}}]][[Category:{{{Type}}}s]] | Unknown/None [[Category: Missing Parameters]]}} | ||
|- | |- | ||
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Distributor | ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Distributor | ||
| style="background-color: #101317; color: white; padding: 0.6em;" | {{#if: {{{Distributor|}}} | [[{{{Distributor}}}]] | Unknown/None }} | | style="background-color: #101317; color: white; padding: 0.6em;" | {{#if: {{{Distributor|}}} | [[{{{Distributor}}}]] | Unknown/None [[Category: Missing Parameters]]}} | ||
|- | |- | ||
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Rarity | ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Rarity | ||
Line 29: | Line 29: | ||
Epic = background-color: #ffbb33; color: black; | | Epic = background-color: #ffbb33; color: black; | | ||
#default = }}; border-radius: 25px; border: 15px solid #0c0e12;padding: 0.43em; text-align: center; border-collapse: seperate;" | | #default = }}; border-radius: 25px; border: 15px solid #0c0e12;padding: 0.43em; text-align: center; border-collapse: seperate;" | | ||
{{{Rarity|Unknown/None}}} {{#if: {{{Rarity|}}} | [[Category:{{{Rarity}}} Vehicles]]}} | {{{Rarity|Unknown/None [[Category: Missing Parameters]]}}} {{#if: {{{Rarity|}}} | [[Category:{{{Rarity}}} Vehicles]]}} | ||
|- | |- | ||
! 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}}} | '''{{formatnum:{{{Cost|0}}}}} WP''' }} | | style="background-color: #101317; color: white; padding: 0.6em;" | {{#iferror: {{#expr: {{{Cost|0}}} + 0 }} | {{{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 | ||
| style="background-color: #0c0e12; color: white; padding: 0.6em;" | {{#invoke: Sqwishyish/ListTools | | style="background-color: #0c0e12; color: white; padding: 0.6em;" | {{#invoke: Sqwishyish/ListTools | ||
| split_list | {{{Jobs|}}} | [[Category: {split}]][[:Category: {split}|{split}]], }} | | split_list | {{{Jobs|}}} | [[Category: {split}]][[:Category: {split}|{split}]], | Unknown/None [[Category: Missing Parameters]]}} | ||
|- | |- | ||
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;" | Customization | ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Customization | ||
| style="background-color: #101317; color: white;padding: 0.6em | | style="background-color: #101317; color: white; padding: 0.6em;" | {{#invoke: Sqwishyish/ListTools | ||
| split_list | {{{Customization|}}} | {{Checkbox (colored)|checked|color=blue}} [[Category: {split}]][[:Category: {split}|{split}]] <br> | Unknown/None [[Category: Missing Parameters]]}} | |||
|- | |- | ||
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Contributors | ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em; border-right: 0.4px solid black;" | Contributors | ||
| style="background-color: #0c0e12; color: white; padding: 0.6em;" | {{#invoke: Sqwishyish/ListTools | | style="background-color: #0c0e12; color: white; padding: 0.6em;" | {{#invoke: Sqwishyish/ListTools | ||
| split_list | {{{Contributors|}}} | [[Category: {split}]][[:Category: {split}|{split}]], | Unknown/None [[Category: Missing Parameters]]}} | |||
|- | |- | ||
| colspan="2" style="text-align: center; background-color: #1b1b1b; color: white; font-weight: bold; padding: 0.4em; border-top: 0.5px solid grey; border-bottom: 0.5px solid grey; line-height: 23px;" | {{{Specifications|Specifications}}} | | colspan="2" style="text-align: center; background-color: #1b1b1b; color: white; font-weight: bold; padding: 0.4em; border-top: 0.5px solid grey; border-bottom: 0.5px solid grey; line-height: 23px;" | {{{Specifications|Specifications}}} | ||
Line 55: | 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;">'''{{formatnum:{{{Stall Speed|0}}}}}''' knots / '''{{formatnum:{{#expr: {{{Stall Speed|0}}} * 1.852 round 0}}}}''' kph</td> | <td style="background-color: #0c0e12; color: white; padding: 0.6em;">'''{{formatnum:{{{Stall Speed|0 [[Category: Missing Parameters]]}}}}}''' knots / '''{{formatnum:{{#expr: {{{Stall Speed|0}}} * 1.852 round 0}}}}''' kph</td> | ||
</tr> | </tr> | ||
}} | }}}} | ||
{{#if: {{{CeilingFeet|0}}} | {{#if: {{{CeilingFeet|0}}} | ||
| <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;">'''{{formatnum:{{{CeilingFeet|0}}}}}''' ft / '''{{formatnum:{{#expr: {{{CeilingFeet|0}}} * 0.3048 round 0}}}}''' m</td> | <td style="background-color: #101317; color: white; padding: 0.6em;">'''{{formatnum:{{{CeilingFeet|0 [[Category: Missing Parameters]]}}}}}''' ft / '''{{formatnum:{{#expr: {{{CeilingFeet|0}}} * 0.3048 round 0}}}}''' m</td> | ||
</tr> | </tr> | ||
}} | |||
}}}} | }}}} | ||
|- | |- | ||
! 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;" | '''{{formatnum:{{{RangeNM|0}}}}}''' nmi / '''{{formatnum:{{#expr: {{{RangeNM|0}}} * 1.852 round 0}}}}''' km | | style="background-color: #0c0e12; color: white; padding: 0.6em;" | '''{{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;" | '''{{formatnum:{{{Capacity|0}}}}}''' | | style="background-color: #101317; color: white; padding: 0.6em; border-bottom-right-radius: 8px;" | '''{{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 87: | Line 88: | ||
| CeilingFeet = 41010 | | CeilingFeet = 41010 | ||
| RangeNM = 144 | | RangeNM = 144 | ||
| Capacity = 36 | | Capacity = 36 | ||
| 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 10:30, 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 |