Template:Ready: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Make icons 30px)
(Changed the 'spacetrip' icon to match the Category:Ready_icons:_new icons, by using File:Space-ready.png)
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
|tutorials = [[File:Tutorial-ready.png|30px|alt=Tutorials|link=Tutorials]]
|tutorials = [[File:Tutorial-ready.png|30px|alt=Tutorials|link=Tutorials]]
|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: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 29: Line 30:


; category: You can optionally add a category that the aircraft will be added to when the ready icon is used.
; category: You can optionally add a category that the aircraft will be added to when the ready icon is used.
== Examples ==
=== Bombable ===
{{obr}}ready{{!}}bombable{{cbr}}
{{ready|bombable}}
=== Space trip ===
{{obr}}ready{{!}}spacetrip{{cbr}}
{{ready|spacetrip}}


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

Revision as of 11:38, 25 May 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.

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