Template:Infobox airline: Difference between revisions

From FSAirlinesWiki
Jump to navigation Jump to search
New page: {| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:280px; clear:right; font-size:90%" |- ! colspan="2" style="{{Header {{ucfirst:| '''{{{crewname|{{{crew|{{PAGENAME}}}...
 
No edit summary
Line 1: Line 1:
{| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:280px; clear:right; font-size:90%"
{| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:280px; clear:right; font-size:90%"
|-  
|-  
! colspan="2"  style="{{Header {{ucfirst:| '''{{{crewname|{{{crew|{{PAGENAME}}}}}}}} at a Glance'''
! colspan="2"  style="{{Header {{ucfirst:| '''{{{airlinename|{{{airline|{{PAGENAME}}}}}}}} at a Glance'''
|-
|-
|- style="vertical-align: top;"
|- style="vertical-align: top;"
Line 22: Line 22:
|colspan="2"|{{Infobox_airline/portrait/{{lc:{{{portrait|no}}}}} |airlinename={{{airlinename|{{{airline|{{PAGENAME}}}}}}}}|width=262}}
|colspan="2"|{{Infobox_airline/portrait/{{lc:{{{portrait|no}}}}} |airlinename={{{airlinename|{{{airline|{{PAGENAME}}}}}}}}|width=262}}
|}
|}
{{ifndef|{{NAMESPACE}}|
<includeonly>{{Infobox airline/{{{updateyear|2008}}}/{{{updatemonth|12}}}}}</includeonly>
<includeonly>{{Infobox airline/{{{updateyear|2008}}}/{{{updatemonth|12}}}}}</includeonly>



Revision as of 17:02, 19 February 2009


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


{{Usage|1=

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=
|portrait=
}}

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))
  • portrait (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.