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)
Created page with "<includeonly> {| class="infobox vcard" style="width:22em; font-size:90%; line-height:1.3em;" |- ! colspan="2" style="text-align:center; font-size:125%; background:#f5f5f5;" | {{{name|<span style="color:#888">Airline name</span>}}} {{#if:{{{logo|}}}| |- | colspan="2" style="text-align:center;" | [[File:{{{logo}}}|{{{logo_size|250px}}}|frameless]]}} {{#if:{{{image|}}}| |- | colspan="2" style="text-align:center;" | [[File:{{{image}}}|{{{image_size|250px}}}|frameless]]{{#if:..."
 
Mapper (talk | contribs)
No edit summary
Line 110: Line 110:
Copy-paste the following into an article and fill the fields you need:
Copy-paste the following into an article and fill the fields you need:
<pre>
<pre>
{{Airline infobox
{{Testinfobox
  |name          = Example Air
  |name          = Example Air
  |logo          = Example_Air_logo.svg
  |logo          = Example_Air_logo.svg
Line 155: Line 155:
'''Styling''': The table uses the CSS class <code>infobox</code> plus default MediaWiki styles; adjust in your site's MediaWiki:Common.css if desired.
'''Styling''': The table uses the CSS class <code>infobox</code> plus default MediaWiki styles; adjust in your site's MediaWiki:Common.css if desired.


{{Airline infobox
{{Testinfobox
  |name          = Example Air
  |name          = Example Air
  |logo          = Example_Air_logo.svg
  |logo          = Example_Air_logo.svg

Revision as of 12:58, 25 April 2025


Template documentation

This template produces an airline-style infobox similar to those used on English Wikipedia. Copy the template code above into Template:Airline infobox (or any name you prefer) in your MediaWiki installation.

Basic usage

Copy-paste the following into an article and fill the fields you need:

{{Testinfobox
 |name           = Example Air
 |logo           = Example_Air_logo.svg
 |logo_size      = 200px
 |image          = Example_Air_A330.jpg
 |image_caption  = Example Air Airbus A330-300
 |iata           = EA
 |icao           = EXM
 |callsign       = EXAMPLE
 |aoc            = EAOC001
 |founded        = 1985
 |commenced      = 1 May 1986
 |frequent_flyer = Example Miles
 |alliance       = Star Alliance
 |fleet_size     = 120
 |destinations   = 85
 |hubs           = Valois–Charles de Gaulle Airport
 |focus_cities   = Lyon
 |company_slogan = "Flying the future"
 |parent         = Example Group S.A.
 |headquarters   = Valois, Republic of Arleau
 |key_people     = Jane Doe (CEO)
 |revenue        = €4.1 billion (2024)
 |num_employees  = 9,800 (2024)
 |website        = https://www.exampleair.com
}}

Parameters

  • name – Name of the airline (displayed as title).
  • logo / logo_size – File name and display width of logo.
  • image / image_size / image_caption – Livery or aircraft photo and caption.
  • iata, icao, callsign, aoc – Codes and Air Operator Certificate number.
  • founded, commenced, ceased – Key dates in the airline's history.
  • frequent_flyer, alliance – Loyalty programme and global alliance.
  • fleet_size, destinations – Operational statistics.
  • hubs, secondary_hubs, focus_cities – Operational bases.
  • company_slogan, parent, subsidiaries, headquarters, key_people – Corporate details.
  • revenue, operating_income, net_income, assets, equity, num_employees – Financials.
  • website – Full URL of the official website.

Blank parameters are automatically omitted (requires the ParserFunctions extension).

Styling: The table uses the CSS class infobox plus default MediaWiki styles; adjust in your site's MediaWiki:Common.css if desired.


Example Air


Overview





-

-

History


-

Corporate details


- - - -

Operations

-

Website



Cookies help us deliver our services. By using our services, you agree to our use of cookies.