Template:Ready: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Test)
(Integrate)
Line 1: Line 1:
{{#switch: {{{1|}}}
{{#if:{{{1|}}}|{{#switch:{{{1|}}}
| aerotow      = [[File:Aerotowready.png|86px|link=Soaring]] <includeonly>[[Category:Glider aircraft]]</includeonly>
|airrefuel=[[File:Airrefuel-ready.png|link=Howto:Aerial_refueling]]<includeonly>[[Category:Air_refueling_ready]]</includeonly>
| aircraftmonth= [[File:Aircraftofthemonth.png|86px|link=]]
|bombable=[[File:Bombable-ready.png|link=Bombable]]<includeonly>[[Category:Bombable_aircraft]]</includeonly>
| airrefuel   = [[File:Airrefuelingready.png|86px|link=Howto:Aerial_refueling]] <includeonly>[[Category:Air refueling ready]] </includeonly>
|dualcontrol=[[File:Dualcontrol-ready.png|link=Dual_control]]<includeonly>[[Category:Dual_control_aircraft]]</includeonly>
| bombable     = [[File:BombableReady.png|86px|link=Bombable]] <includeonly>[[Category:Bombable aircraft]]</includeonly>
|rembrandt=[[File:Rembrandt-ready.png|link=Rembrandt]]<includeonly>[[Category:Rembrandt_aircraft]]</includeonly>
| dualcontrol = [[File:Dualcontrolready.png|86px|link=Dual control]] <includeonly>[[Category:Dual control aircraft]]</includeonly>
|canvas=[[File:Canvas-ready.png|link=Canvas]]
| rembrandt   = [[File:Rembrandtready.png|86px|link=Rembrandt]] <includeonly>[[Category:Rembrandt aircraft]]</includeonly>
|checklist=[[File:Checklist-ready.png|link=Aircraft_Checklists]]
| spacetrip    = [[File:Spacetripready.png|86px|link=Category:Spacecraft]] <includeonly>[[Category:Spacecraft]]</includeonly>
|tutorials=[[File:Tutorial-ready.png|link=Tutorials]]
| thermal      = [[File:Thermalready.png|86px|link=Soaring]] <includeonly>[[Category:Glider aircraft]]</includeonly>
}}}}<noinclude>{{Informative template|1=
| canvas       = [[File:Canvasready.png|86px|link=Canvas]]
| checklist   = [[File:Checklistready.png|86px|link=Aircraft_Checklists]]
| routemanager = [[File:Routemanagerready.png|86px|link=Route_Manager]]
| tutorials   = [[File:Tutorialready.png|86px|link=Tutorials]]
}}
<noinclude>{{Informative template|1=
__NOTOC__
__NOTOC__
== Goal ==
== Goal ==
Line 24: Line 18:
Add one line per icon to this template:
Add one line per icon to this template:


  <nowiki>| name = [[File:Image.png|86px]]</nowiki>
  <nowiki>|name = [[File:image.png]]<includeonly>[[Category]]</includeonly></nowiki>


; name:  (Short) name of the icon, to be added as <code>{{!}} ready = </code> in the aircraft infobox.
; name:  (Short) name of the icon, to be added as <code>{{!}}ready =</code> in the aircraft infobox.


; image:  Icon image file, including the '''File:''' prefix.
; image:  Icon image file, including the '''File:''' prefix.
; category: You can optionally add a category that the aircraft will be added to when the ready icon is used.


== Related category ==
== Related category ==

Revision as of 17:22, 16 November 2014

The following template description is not displayed when the template is inserted in an article.

Goal

Used by {{Infobox aircraft}} to display the appropriate "ready" symbols.

Usage

Do not use this template, use {{Infobox aircraft}} instead.

Adding icons to the template

Add one line per icon to this template:

|name = [[File:image.png]]<includeonly>[[Category]]</includeonly>
name
(Short) name of the icon, to be added as |ready = in the aircraft infobox.
image
Icon image file, including the File: prefix.
category
You can optionally add a category that the aircraft will be added to when the ready icon is used.

Related category