User talk:Bugman/Infobox Aircraft
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 , 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.
Some suggestions
Hi Edward,
I've got some suggestions:
- 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?
- 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 tohttps://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
).
- Ok, done :) If you have the time, please test this sandboxed template as much as possible. The more feedback and suggestions, the better. Cheers!
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: .
- 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.
- Automatic categorisation of the type parameter: Special values of the type parameter - the end categories of Category:Aircraft by type, Category:Spacecraft by type, Category:Vehicle by type, and Category:Seacraft by type - results in the text being replaced by a link to the corresponding category in the infobox as well as appending the category to the whole article. This uses the new templates {{craft type}} and {{craft type/doc}}.
- The new config parameter and automatic categorisation: Special values of the new config parameter - the end categories of Category:Aircraft by configuration - results in the text being replaced by a link to the corresponding category in the infobox as well as appending the category to the whole article. This uses the new templates {{craft configuration}} and {{craft configuration/doc}}.
- The new propulsion parameter and automatic categorisation: Special values of the new propulsion parameter - the end categories of Category:Aircraft by propulsion - results in the text being replaced by a link to the corresponding category in the infobox as well as appending the category to the whole article. This uses the new templates {{craft propulsion}} and {{craft propulsion/doc}}.
- The new manufacturer parameter and automatic categorisation: Special values of the new manufacturer parameter - the end categories of Category:Aircraft manufacturer - results in the text being replaced by a link to the corresponding category in the infobox as well as appending the category to the whole article. This uses the new templates {{craft manufacturer}} and {{craft manufacturer/doc}}.
- Iconification: Icons are now more prominently used:
- 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: .
- Download link: The new label Download has been added, and the following icon used for the link: .
- Livery database link: The new label Liveries has been added, and the following icon used for the link: .
- 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: .
- 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.