6,566
edits
(→fgaddon aircraft: Shifting the discussion to the village pump.) |
(Proposal for a new aircraft infobox template design.) |
||
Line 127: | Line 127: | ||
[[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 04:55, 25 May 2016 (EDT) | [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 04:55, 25 May 2016 (EDT) | ||
== Proposal for a new aircraft infobox template design (2016/06) == | |||
The experimentation with my sandboxed template [[User:Bugman/Infobox_Aircraft]] has resulted in rather quite a radical redesign of this {{tl|infobox aircraft}} template. I propose converting to this new template, and then we will have much more information rich and automatically categorised aircraft/spacecraft/vehicle/seacraft articles on the wiki. The [[User:Bugman/Infobox_Aircraft]] template uses a lot of Mediawiki magic ;) And it has official and 3rd party hangar support with automatic URL generation via the [[:Category:Repository link templates|repository link templates]]. For a permanent record and for easy reference, I will copy the [[User_talk:Bugman/Infobox_Aircraft#Summary]] text in the following sections. | |||
<div class="toccolours mw-collapsible mw-collapsed">'''Summary of the [[User:Bugman/Infobox_Aircraft]] template changes:'''<div class="mw-collapsible-content"> | |||
=== List of features === | |||
The following is a changing list of features of this template that are not present in the {{tl|infobox aircraft}} template: | |||
* '''Hangar support:''' Support for the {{param|hangar}} and {{param|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: [[File:FGAddon logo.png|100px]]. | |||
** '''Development repository link:''' Automatically created for [[FGAddon]], if the {{param|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 {{param|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 {{param|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 representation improvements:''' | |||
** '''Status link:''' The '''status''' section link to [[Aircraft rating system]] has shifted from the label to the data text. Previously the label was the link. | |||
** '''<nowiki>[[File:star-*.png]]</nowiki> graphic links:''' These 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 <nowiki>[[File:star-*.png]]</nowiki> image wiki page. | |||
** '''Label 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 {{param|type}} parameter:''' Special values of the {{param|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 {{tl|craft type}} and {{tl|craft type/doc}}. | |||
** '''The new {{param|config}} parameter and automatic categorisation:''' Special values of the new {{param|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 {{tl|craft configuration}} and {{tl|craft configuration/doc}}. | |||
** '''The new {{param|propulsion}} parameter and automatic categorisation:''' Special values of the new {{param|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 {{tl|craft propulsion}} and {{tl|craft propulsion/doc}}. | |||
** '''The new {{param|manufacturer}} parameter and automatic categorisation:''' Special values of the new {{param|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 {{tl|craft manufacturer}} and {{tl|craft manufacturer/doc}}. | |||
* '''Multiple parameter value support:''' Multiple values for the {{param|type}}, {{param|config}}, {{param|propulsion}}, {{param|manufacturer}}, {{param|fgname}}, and {{param|fdm}} parameters are supported by using the <code>/</code> 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, and the label changed to '''Supports'''. | |||
** '''Development repository:''' For the {{param|development}} parameter, the new label '''Repository''' has been added, and the following icon used for the link:''' [[File:Zeichen 144 icon.png|20px]]. | |||
** '''Download link:''' The new label '''Download''' has been added, and the following icon used for the link:''' [[File:Folder-downloads 32x32.png|20px]]. | |||
** '''Livery database link:''' The new label '''Liveries''' has been added, and the following icon used for the link:''' [[File:Applications-graphics 32x32.png|20px]]. | |||
** '''Forum thread link:''' This is a new element which uses the new {{param|forumtid}} parameter. The label '''Forum''' has been added, and the following icon used for the link:''' [[File:Meeting-attending 32x32.png|20px]]. | |||
* '''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. These examples make it much easier for users of the template to understand how to create an aircraft infobox. And it shows off the [[FGAddon]] support, as well as 3rd party hangar support. | |||
* '''Author list improvements:''' | |||
** '''Collapsible list:''' If the new {{param|devel-team}} parameter is supplied, the author list will be converted into a collapsible list, with the name of the development team in bold and a <code>[Expand]</code> link which when clicked on will show the full author list. | |||
** '''List separator:''' The character <code>/</code> will cause the author list to be split, with each author being on a separate line. | |||
** '''List formatting:''' The author list is now a bullet list. | |||
=== Transition === | |||
* Note that some breakages are to be expected, as the <code>/</code> character now causes most parameter values to be broken into lists. | |||
* The [[:Category:Aircraft by status]] categories must be renamed without redirects after the transition to the new template. The <code>: </code> text in the current category names, e.g. [[:Category:Aircraft status: Advanced production]], is broken when used within other elements such as infoboxes, and no category is added to the article. | |||
=== TODO === | |||
* '''Icons improvements:''' These were quickly selected from [[:Category:Icons]] and the Oxygen icon set. | |||
</div></div> | |||
[[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 10:13, 1 June 2016 (EDT) |