Template:Infobox airline: Difference between revisions

From FSAirlinesWiki
Jump to navigation Jump to search
m Protected "Template:Infobox airline" [edit=sysop:move=sysop] (expires 07:00, 1 January 2010 (UTC))
m Protected "Template:Infobox airline" [edit=sysop:move=sysop]
 
(3 intermediate revisions by the same user not shown)
Line 14: Line 14:
|- style="vertical-align: top;"
|- style="vertical-align: top;"
| '''Alliance Affiliation'''
| '''Alliance Affiliation'''
| {{{Alliance|None}}}
| {{{alliance|None}}}
|- style="vertical-align: top;"
|- style="vertical-align: top;"
{{Infobox airline/founded/{{lc:{{{founded|no}}}}}|{{{foundedday}}}|{{{foundedmonth}}}|{{{foundedyear}}}}}
{{Infobox airline/founded/{{lc:{{{founded|no}}}}}|{{{foundedday}}}|{{{foundedmonth}}}|{{{foundedyear}}}}}
Line 24: Line 24:
<includeonly>{{Infobox airline/{{{updateyear|2008}}}/{{{updatemonth|12}}}}}</includeonly>
<includeonly>{{Infobox airline/{{{updateyear|2008}}}/{{{updatemonth|12}}}}}</includeonly>


[[Category:Airline Pages]]
<noinclude>{{TOCright}}{{Usage|1= This template is for airlines.  To use, first copy and paste the following into your crew's page.
<noinclude>{{TOCright}}{{Usage|1= This template is for airlines.  To use, first copy and paste the following into your crew's page.



Latest revision as of 04:59, 4 January 2011


Infobox airline at a Glance
CEO {{{CEO}}}
Chief Officers
Salary Percentage {{{Salary Percentage}}}
Alliance Affiliation None
Last updated on {{{updateday}}} {{Month/{{{updatemonth}}}}}, {{{updateyear}}}

Usage

These usage notes will not be included in articles bearing this template.

This template is for airlines. To use, first copy and paste the following into your crew's page.

{{Infobox airline
|airlinename=
|CEO=
|Chief Officers=
|organized=
|organization=
|Salary Percentage=
|alliance=
|founded=
|foundedday=
|foundedmonth=
|foundedyear=
|updateday=
|updatemonth=
|updateyear=
|logo=
}}

Next, fill in each parameter with your airline's information, placing it between the equals sign and vertical bar/pipe ("|"). For the update fields, use the numeric day, month, and year without any leading zeros. For the 7th of January, 2006, for example, the fields would be:
updateday=7|
updatemonth=1|
updateyear=2006|

After the double bracket— }} —that closes the template, you can write anything you like about your airline. Don't worry about fancy formatting or linkage; there are plenty of people willing and quick to edit.

Most importantly, we want each airline to have a brief history about it. If your airline has taken part in some exciting aviation event, write about it!

Optional parameters

The optional parameters are as follows:

  • alliance (defaults to None)
  • Chief Officers (defaults to blank)
  • founded (yes/no (defaults to no))
  • logo (yes/no (defaults to no))

Troubleshooting the template

If it doesn't seem to be displaying correctly, first check the following things:

  • Make sure all of your linked CEO or Chief Officer names have an opening and closing set of tags ([[ and ]])
  • Make sure you have not accidentally deleted the | that separates each variable
  • Make sure there is an opening and closing tag for the template ({{ and }})
  • Make sure you used the number of the month instead of its name in the update field, and make sure you have no leading zeros (May is month 5, not 05), and that you used the 4-digit year (2006, not 06)

If you still can't get it to work after checking those things, leave a note on the wiki admin's talk page asking for help (don't forget to put something like "infobox help" in the edit summary) and he will be happy to give you a hand with it.