Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:InfoBoxVehicle: Difference between revisions

Template page
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 0.4em 0.6em 0.4em;" | {{#invoke: Sqwishyish/ListTools | split_list | {{{Customization|}}} | {{Checkbox (colored)|checked|color=blue}} [[Category: {split}]][[:Category: {split}|{split}]] <br> }}  
| 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}]], }}  
| 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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.