Template:Ready: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Added an example for Bombable.)
(The 'canvas' parameter value now will add the Category:Aircraft using Canvas category to the article.)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
|dualcontrol = [[File:Dualcontrol-ready.png|30px|alt=Dual control|link=Dual control]]<includeonly>[[Category:Dual control aircraft]]</includeonly>
|dualcontrol = [[File:Dualcontrol-ready.png|30px|alt=Dual control|link=Dual control]]<includeonly>[[Category:Dual control aircraft]]</includeonly>
|rembrandt = [[File:Rembrandt-ready.png|30px|alt=Rembrandt|link=Rembrandt]]<includeonly>[[Category:Rembrandt aircraft]]</includeonly>
|rembrandt = [[File:Rembrandt-ready.png|30px|alt=Rembrandt|link=Rembrandt]]<includeonly>[[Category:Rembrandt aircraft]]</includeonly>
|canvas = [[File:Canvas-ready.png|30px|alt=Canvas|link=Canvas]]
|canvas = [[File:Canvas-ready.png|30px|alt=Canvas|link=Canvas]]<includeonly>[[Category:Aircraft using Canvas]]</includeonly>
|checklist = [[File:Checklist-ready.png|30px|alt=Checklists|link=Aircraft Checklists]]
|checklist = [[File:Checklist-ready.png|30px|alt=Checklists|link=Aircraft Checklists]]<includeonly>[[Category:Aircraft with Checklists]]</includeonly>
|tutorials = [[File:Tutorial-ready.png|30px|alt=Tutorials|link=Tutorials]]
|tutorials = [[File:Tutorial-ready.png|30px|alt=Tutorials|link=Tutorials]]<includeonly>[[Category:Interactive Tutorial Support]]</includeonly>
|airrefuel = [[File:Airrefuel-ready.png|30px|alt=Mid-air refueling|link=Howto:Aerial refueling]]<includeonly>[[Category:Air refueling ready]]</includeonly>
|airrefuel = [[File:Airrefuel-ready.png|30px|alt=Mid-air refueling|link=Howto:Aerial refueling]]<includeonly>[[Category:Air refueling ready]]</includeonly>
|spacetrip = [[File:Spacetripready.png|30px|Space trip ready|alt=Space trip|link=Reaching for the stars]]<includeonly>[[Category:Spaceflight]]</includeonly>
|spacetrip = [[File:Space-ready.png|30px|Space trip ready|alt=Space trip|link=Reaching for the stars]]<includeonly>[[Category:Spaceflight]]</includeonly>
}}}}<noinclude>{{Informative template|1=
}}}}<noinclude>{{Informative template|1=
__NOTOC__
__NOTOC__
Line 15: Line 15:
== Usage ==
== Usage ==
Do not use this template, use {{tl|Infobox aircraft}} instead.
Do not use this template, use {{tl|Infobox aircraft}} instead.
== Parameter values ==
{{ready/doc table}}


== Adding icons to the template ==
== Adding icons to the template ==

Latest revision as of 11:05, 8 June 2016

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.

Parameter values

Parameter value Icon Appended category
airrefuel Mid-air refueling Category:Air refueling ready
bombable Bombable Category:Bombable aircraft
canvas Canvas Category:Aircraft using Canvas
checklist Checklists Category:Aircraft with Checklists
dualcontrol Dual control Category:Dual control aircraft
rembrandt Rembrandt Category:Rembrandt aircraft
spacetrip Space trip Category:Spaceflight
tutorials Tutorials Category:Interactive Tutorial Support

Adding icons to the template

Add one line per icon to this template:

|name = [[File:image.png|30px|alt=text|link=page]]<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.
text
Alt text to show when the image is hovered over.
page
Name of the page to link to (optional).
category
You can optionally add a category that the aircraft will be added to when the ready icon is used.

Examples

Bombable

{{ready|bombable}}

Bombable

Space trip

{{ready|spacetrip}}

Space trip

Related category