Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G


From FlightGear wiki
Jump to: navigation, search

Categorization of aircraft

Going by the dictionary definition of "aircraft" helicopters, airships and balloons are also aircraft. With that in mind the division of aircraft into the pages Aircraft and Helicopter is not completely logical (and leaves me wondering where to put the airships :). Renaming Aircraft to Airplane (and moving the airships and the balloon to their own page) might be one solution. What do you think? AndersG 11:04, 15 September 2008 (EDT)

Hm, this is a hard question. If we have a seperate page for every category we'd still have troubles. Vehicles by example could contain eveything people use to move, including aircraft/plane. It's simple to make categories for eveything, since we could add categories into categories like we have at the Category:Aircraft. But on the other side, a nice page with thumbnails is also a nice feature, if you know how a plane looks like, but you don't know it's name/manufacter...
We could also make a simple (alphabetical ordered) list of planes, without thumbnails, like the list I made for the Suggested Airports/Scenery article (click the symbols to order). The easy thing is that you could sort it on manufactur, type of vehicle, name etc.
Maybe we should talk about this on the forum. More people will read it there...
EDIT: I see FG already made I page! I will extend it: Table of models
Gijs 11:36, 15 September 2008 (EDT)

Using templates

I think it would be easier to maintain translations of this article, if the lists of aircrafts would be moved to a template/templates. In this case it is a bit more difficult, as in contrast to the Helicopter and Vehicle pages, we have to control more than one list. At the moment, I can see three approaches to this:

One template, that contains the whole page. The translated text passages will be handed over as variables (similar to Main Page).

  • easy to translate
  • all translations look exactly identical
  • not customizable
  • new sections will appear automatically, but with empty title

One template for the whole page, but included multiple times for each list with different parameters.

  • the order of the lists can be different in all translations
  • new sections will not appear automatically
  • lists can also be used for other pages
  • still all in one file
The template would look like
{{ #ifeq {{{sectionname|}}} | light_civilian_aircraft | *List of light civilian aircraft... }}
{{ #ifeq {{{sectionname|}}} | warbirds | *List of warbirds... }}
The article would look like
==Light civilian aircraft==
{{Aircraft List |sectionname=light_civilian_aircraft}}
{{Aircraft List |sectionname=warbirds}}

Multiple templates: one template per list.

  • the order of the lists can be different in all translations
  • new sections will not appear automatically
  • lists can also be used for other pages

--Hamster 11:18, 20 March 2012 (EDT)

first of all, I've created {{int}}, allowing us to auto-link to translated articles, whenever available. I've put it on use on the vehicle page (as of now only the Spanish page is interesting ;) ), but we can one it on all of these galleries.
I think I prefer the second method, where translations are on the actual page. Long multi-language pages tend to get hard to read. You should use {{switch}} for that though (instead of lots of "ifeq"), see the MediaWiki explanation.
Gijs 12:14, 20 March 2012 (EDT)
In case anyone would like to use {{switch}}, it is {{#switch:}}, see Gijs link. ;-)
Johan G (Talk | contribs) 14:21, 21 January 2014 (UTC)

Aircraft Galleries


Trying to update some of the aircraft screenshots in the wiki. When I look in here, I see {{Model Gallery | section=light_civilian_aircraft}} How can I change these pictures?

This unsigned comment was added by Adam (Talk | contribs) 01:58, November 27, 2015‎ (UTC)