Template:Ready: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Added a caption for the 'spacetrip' target, and added an examples section for testing.)
(Added an example for Bombable.)
Line 32: Line 32:


== Examples ==
== Examples ==
=== Bombable ===
{{obr}}ready{{!}}bombable{{cbr}}
{{ready|bombable}}


=== Space trip ===
=== Space trip ===

Revision as of 09:56, 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