User talk:Bugman/Infobox Aircraft

From FlightGear wiki
< User talk:Bugman
Revision as of 18:07, 27 May 2016 by Bugman (talk | contribs) (→‎List of features: FDM multiple parameter support.)
Jump to navigation Jump to search

Zero ratings

Hi,

nice to see some interesting work on the infobox! Please do note that a missing rating is not the same as a zero rating. I'd prefer to not show the stars at all when a rating is missing, as in your current proposal it gives the impression that the (unrated) aircraft is a very bad one.

Cheers, Gijs (talk) 08:20, 26 May 2016 (EDT)

Cheers! For the zero rating, I was thinking of creating a new graphic based on Stars-0.png, but with question marks over each of the 5 blank stars. Just as an artistic representation. Anyway, I'll revert to having the ratings infobox elements completely absent, as before.
Bugman (talk) 09:15, 26 May 2016 (EDT)

Some suggestions

Hi Edward,

I've got some suggestions:

  1. Some aircraft have more than one type (e.g. the DHC-6 Twin Otter is both a civil and a military utility aircraft, it can be a cargo aircraft, and it can be equipped with floats, so it's a seaplane) Is it possible that one can specify more than one type for an aircraft?
  2. Like the links to the development repo, the download links and the links to the livery db, can you add the possibility to indicate a link to the forum topic, if there is one?

Cheers Jonathan

Hi! Firstly it is best to sign off with ~~~~ to stamp your wiki signature and date. For the first point, this is now implemented :) I think I just saved the change as you were writing your suggestions. For the second, I can add this as a single topic ID, e.g. forumtid, which then creates a link to https://forum.flightgear.org/viewtopic.php?&t=<forumtid>. But for this, I'd need an icon. I'll see what I can find in the Oxygen Icon set (svn co svn://anonsvn.kde.org/home/kde/trunk/kdesupport/oxygen-icons).
Bugman (talk) 10:29, 27 May 2016 (EDT)
Ok, done :) If you have the time, please test this sandboxed template as much as possible. The more feedback and suggestions, the better. Cheers!
Bugman (talk) 10:46, 27 May 2016 (EDT)

List of features

The following is a changing list of features of this template that are not present in the {{infobox aircraft}} template:

  • Hangar support: Support for the hangar and aircraft template parameters. This add a number of elements:
    • Hangar logo: A hangar logo - as an image with link or a direct URL - is added to the very top of the infobox, between the aircraft name and the screenshots. For FGAddon, this is: FGAddon logo.png.
    • Development repository link: Automatically created for FGAddon, if the development parameter is not supplied. For the FGUK, Helijah, and PAF hangars, a link to the hangar webpage is used (temporarily).
    • Download link: Automatically created for FGAddon, if the download parameter is not supplied. For the FGUK, Helijah, and PAF hangars, a link to the hangar webpage is used (temporarily).
    • Hangar specific categories: If the hangar parameter is supplied, one of matching Category:FGAddon hangar, Category:FGUK hangar, Category:Helijah hangar, Category:PAF hangar categories will be appended to the article.
  • FDM links: Automatic link creation for the FDM wiki pages, independent of capitalisation.
  • Rating links: The status data text is now a link to Aircraft rating system or to sections therein. Previously the label was the link. Also the [[File:star-*.png]] graphics now have the link explicitly set to one of Aircraft rating system#Flight Dynamics Model (FDM), Aircraft rating system#Systems, Aircraft rating system#Cockpit, and Aircraft rating system#External Model, instead of going to the [[File:star-*.png]] image wiki page.
  • Rating formatting: The FDM, Systems, Cockpit, and Model labels are now indented.
  • Aircraft categorisation: This is now highly automated, with special values resulting in categories being appended to the article, and the parameter text replaced by a link to that category.
  • Multiple parameter value support: Multiple values for the type, config, propulsion, manufacturer, fgname, and fdm parameters are supported by using the / character.
  • Iconification: Icons are now more prominently used, with rich pop up help text:
    • Ready icons: This has been shifted to after the status ratings.
    • Development repository: The new label Development has been added, and the following icon used for the link: Zeichen 144 icon.png.
    • Download link: The new label Download has been added, and the following icon used for the link: Folder-downloads 32x32.png.
    • Livery database link: The new label Liveries has been added, and the following icon used for the link: Applications-graphics 32x32.png.
    • Forum thread link: This is a new element which uses the forumtid parameter. The label Forum has been added, and the following icon used for the link: Meeting-attending 32x32.png.
  • Translation support: Currently in English, French, and German.
  • Documentation cleanup: A large expansion of the documentation.
  • Documented examples: Taken from the Space Shuttle, de Havilland Canada DHC-6 Twin Otter, and Douglas DC-3 C-47 articles. This shows of the FGAddon support, as well as 3rd party hangar support.