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
Mapper (talk | contribs)
padding
Sqwishyish (talk | contribs)
Edits to infobox testing to allow easier data entry with auto commas for numbers and auto catagory setting
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" style="width: 22em; border: 0.5px solid grey; border-radius: 0 0 8px 8px; border-collapse: separate; border-spacing: 0; background-clip: padding-box; font-size: 75%; line-height: 1.4em; float: right; clear: right; margin: 0 0 1em 1em; letter-spacing: 0.02em;"
    {| class="infobox" style="width: 22em; border: 0.5px solid grey; border-radius: 0 0 8px 8px; border-collapse: separate; border-spacing: 0; background-clip: padding-box; font-size: 75%; line-height: 1.4em; float: right; clear: right; margin: 0 0 1em 1em; letter-spacing: 0.02em;"
|+ style="font-size: 160%; font-weight: bolder; text-align: center; padding: 1em; border: 0.5px solid grey; border-bottom: 0px; border-radius: 16px 16px 0 0; {{#switch: {{{Rarity|}}} | Mythical = background-color: #19D9FF; color: white; | Legendary = background-color: #d82121; color: white; | Widespread = background-color: #f5f5f5; color: black; | Common = background-color: #99ff99; color: black; | Uncommon = background-color: #ffff66; color: black; | Rare = background-color: #e0a6ff; color: white; | Ultra Rare = background-color: #66a3ff; color: white; | Epic = background-color: #ffbb33; color: black; | #default = }}" | {{{name}}}
    |+ style="font-size: 160%; font-weight: bolder; text-align: center; padding: 1em; border: 0.5px solid grey; border-bottom: 0px; border-radius: 16px 16px 0 0; {{#switch: {{{Rarity|}}} | Mythical = background-color: #19D9FF; color: white; | Legendary = background-color: #d82121; color: white; | Widespread = background-color: #f5f5f5; color: black; | Common = background-color: #99ff99; color: black; | Uncommon = background-color: #ffff66; color: black; | Rare = background-color: #e0a6ff; color: white; | Ultra Rare = background-color: #66a3ff; color: white; | Epic = background-color: #ffbb33; color: black; | #default = }}" | {{{name}}}
|-
    |-
| colspan="2" style="text-align: center; background-color: #1b1b1b; padding: 0.5em;" | [[File:{{{photo|{{PAGENAME}}photo.png}}}|300px]]
    | colspan="2" style="text-align: center; background-color: #1b1b1b; padding: 0.5em;" | [[File:{{{photo|{{PAGENAME}}photo.png}}}|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}}}
    | 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}}}
|-
    |-
| 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}}}
    | style="background-color: #101317; color: white; padding: 0.6em;" | {{{Code}}}
|-
    |-
! 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;" | {{{Type}}}
    | style="background-color: #0c0e12; color: white; padding: 0.6em;" | {{{Type}}}
|-
    |-
! 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;" | {{{Distributor}}}
    | style="background-color: #101317; color: white; padding: 0.6em;" | {{{Distributor}}}
|-
    |-
! 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
| style= "{{#switch: {{{Rarity|}}} | Mythical = background-color: #19D9FF; color: white; | Legendary = background-color: #d82121; color: white; | Widespread = background-color: #f5f5f5; color: black; | Common = background-color: #99ff99; color: black; | Uncommon = background-color: #ffff66; color: black; | Rare = background-color: #e0a6ff; color: white; | Ultra Rare = background-color: #66a3ff; color: white; | Epic = background-color: #ffbb33; color: black; | #default = }}; border-radius: 25px; border: 15px solid #0c0e12;padding: 0.43em; text-align: center; border-collapse: seperate;" | {{{Rarity}}}
    | style= "{{#switch: {{{Rarity|}}} | Mythical = background-color: #19D9FF; color: white; | Legendary = background-color: #d82121; color: white; | Widespread = background-color: #f5f5f5; color: black; | Common = background-color: #99ff99; color: black; | Uncommon = background-color: #ffff66; color: black; | Rare = background-color: #e0a6ff; color: white; | Ultra Rare = background-color: #66a3ff; color: white; | Epic = background-color: #ffbb33; color: black; | #default = }}; border-radius: 25px; border: 15px solid #0c0e12;padding: 0.43em; text-align: center; border-collapse: seperate;" | {{{Rarity}}}
|-
    |-
! 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;" | {{{Cost}}}
    | style="background-color: #101317; color: white; padding: 0.6em;" | '''{{formatnum:{{{Cost}}}}}'''
|-
    |-
! 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;" | {{{Jobs}}}
    | style="background-color: #0c0e12; color: white; padding: 0.6em;" | {{{Jobs}}}
|-
    |-
! 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;" | Customization
| style="background-color: #101317; color: white;padding: 0.6em 0.4em 0.6em 0.4em;" | {{{Customization}}}
    | style="background-color: #101317; color: white;padding: 0.6em 0.4em 0.6em 0.4em;" | {{{Customization}}}
|-
    |-
| 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}}}
|-
    |-
! 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;" | {{{Max Speed}}} knots
    | style="background-color: #101317; color: white; padding: 0.6em;" | '''{{formatnum:{{{Max Speed}}}}}''' knots
|-
    |-
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;" | Stall Speed
    ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;" | Stall Speed
| style="background-color: #0c0e12; color: white; padding: 0.6em;" | {{{Stall Speed}}} knots
    | style="background-color: #0c0e12; color: white; padding: 0.6em;" | '''{{formatnum:{{{Stall Speed}}}}}''' knots
|-
    |-
! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;" | Ceiling
    ! style="background-color: #18191c; color: white; text-align: center; padding: 0.4em;" | Ceiling
| style="background-color: #101317; color: white; padding: 0.6em;" | '''{{{CeilingFeet}}}''' ft / '''{{#expr: {{{CeilingFeet}}} * 0.3048 round 2}}''' m
    | style="background-color: #101317; color: white; padding: 0.6em;" | '''{{formatnum:{{{CeilingFeet}}}}}''' ft / '''{{formatnum:{{#expr: {{{CeilingFeet}}} * 0.3048 round 2}}}}''' m
|-
    |-
! 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;" | '''{{{RangeNM}}}''' nmi / '''{{#expr: {{{RangeNM}}} * 1.852 round 2}}''' km
    | style="background-color: #0c0e12; color: white; padding: 0.6em;" | '''{{formatnum:{{{RangeNM}}}}}''' nmi / '''{{formatnum:{{#expr: {{{RangeNM}}} * 1.852 round 2}}}}''' 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: #0c0e12; color: white; padding: 0.4em; border-bottom-right-radius: 8px; line-height: 2;" | {{{Capacity}}}
    | style="background-color: #0c0e12; color: white; padding: 0.4em; border-bottom-right-radius: 8px; line-height: 2;" | '''{{formatnum:{{{Capacity}}}}}'''
|}
    |}
</includeonly>
    </includeonly>
   
    {{#ifeq:{{{Rarity|}}}|Widespread|[[Category:Widespread Vehicles]]}}
    {{#ifeq:{{{Rarity|}}}|Common|[[Category:Common Vehicles]]}}
    {{#ifeq:{{{Rarity|}}}|Uncommon|[[Category:Uncommon Vehicles]]}}
    {{#ifeq:{{{Rarity|}}}|Rare|[[Category:Rare Vehicles]]}}
    {{#ifeq:{{{Rarity|}}}|Ultra Rare|[[Category:Ultra Rare Vehicles]]}}
    {{#ifeq:{{{Rarity|}}}|Epic|[[Category:Epic Vehicles]]}}
    {{#ifeq:{{{Rarity|}}}|Mythical|[[Category:Mythical Vehicles]]}}
    {{#ifeq:{{{Rarity|}}}|Legendary|[[Category:Legendary Vehicles]]}}


    {{#ifeq:{{{Type|}}}|Ultralight|[[Category:Ultralights]]}}
    {{#ifeq:{{{Type|}}}|Single Engine|[[Category:Single Engines]]}}
    {{#ifeq:{{{Type|}}}|Helicopter|[[Category:Helicopters]]}}
    {{#ifeq:{{{Type|}}}|Multi Engine|[[Category:Multi Engines]]}}
    {{#ifeq:{{{Type|}}}|Jet Engine|[[Category:Jet Engines]]}}
    {{#ifeq:{{{Type|}}}|Supersonic Transport|[[Category:Supersonic Transports]]}}
    {{#ifeq:{{{Type|}}}|VTOL|[[Category:VTOLs]]}}
    {{#ifeq:{{{Type|}}}|Airship|[[Category:Airships]]}}
    {{#ifeq:{{{Type|}}}|Boat|[[Category:Boats]]}}
    {{#ifeq:{{{Type|}}}|Ground Vehicle|[[Category:Ground Vehicles]]}}


 
    <noinclude>
{{#ifeq:{{{Rarity|}}}|Widespread|[[Category:Widespread Vehicles]]}}
   
{{#ifeq:{{{Rarity|}}}|Common|[[Category:Common Vehicles]]}}
    {{Template:Testinfobox
{{#ifeq:{{{Rarity|}}}|Uncommon|[[Category:UncommonVehicles]]}}
    | name = Boeing 737-800
{{#ifeq:{{{Rarity|}}}|Rare|[[Category:RareVehicles]]}}
    | caption = Boeing 737-800 flying low over [[Thalassan Sea]]
{{#ifeq:{{{Rarity|}}}|Ultra Rare|[[Category:Ultra Rare Vehicles]]}}
    | Rarity = Common
{{#ifeq:{{{Rarity|}}}|Epic|[[Category:Epic Vehicles]]}}
    | Code = 737-800
{{#ifeq:{{{Rarity|}}}|Mythical|[[Category:Mythical Vehicles]]}}
    | Type = Jet
{{#ifeq:{{{Rarity|}}}|Legendary|[[Category:Legendary Vehicles]]}}
    | Distributor = [[Clarence International Airport]]
 
    | Rarity = Ultra Rare
 
    | Cost = 30000 WP
<noinclude>
    | Jobs = [[Passenger]], [[Charter]]
{{Template:Testinfobox
    | Max Speed = 600
| name = Boeing 737-800
    | Stall Speed = 170
| caption = Boeing 737-800 flying low over [[Thalassan Sea]]
    | CeilingFeet = 30000
| Rarity = Common
    | CeilingMeters = 15000
| Code = 737-800
    | RangeNM = 30500
| Type = Jet
    | Capacity = 150
| Distributor = [[Clarence International Airport]]
    | Customization = {{Checkbox (colored)|checked|color=blue}}    [[Advanced Liveries]] <br> {{Checkbox (colored)|checked|color=blue}}  [[Advanced Customisation]] <br>{{Checkbox (colored)|checked|color=blue}} [[Cockpit]]
| Rarity = Ultra Rare
    | photo = Aerowikiplaceholder.jpg
| Cost = '''30,000''' WP
    }}
| Jobs = [[Passenger]], [[Charter]]
   
| Max Speed = '''600'''
    </noinclude>
| Stall Speed = '''170'''
| CeilingFeet =30000
| CeilingMeters = '''15,000'''
| RangeNM = 30500
| Capacity = '''150'''
| Customization = {{Checkbox (colored)|checked|color=blue}}    [[Advanced Liveries]] <br> {{Checkbox (colored)|checked|color=blue}}  [[Advanced Customisation]] <br>{{Checkbox (colored)|checked|color=blue}} [[Cockpit]]
| photo = Aerowikiplaceholder.jpg
}}
 
 
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.