Template:Ready: Difference between revisions
Jump to navigation
Jump to search
Red Leader (talk | contribs) m (Testing) |
Red Leader (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{#if:{{{1|}}}|{{#switch:{{{1|}}} | {{#if:{{{1|}}}|{{#switch:{{{1|}}} | ||
|airrefuel = [[File:Airrefuel-ready.png|alt=Mid- | |airrefuel = [[File:Airrefuel-ready.png|alt=Mid-air refueling|link=Howto:Aerial_refueling]]<includeonly>[[Category:Air_refueling_ready]]</includeonly> | ||
|bombable = [[File:Bombable-ready.png|alt=Bombable|link=Bombable]]<includeonly>[[Category:Bombable_aircraft]]</includeonly> | |bombable = [[File:Bombable-ready.png|alt=Bombable|link=Bombable]]<includeonly>[[Category:Bombable_aircraft]]</includeonly> | ||
|dualcontrol = [[File:Dualcontrol-ready.png|alt=Dual control|link=Dual_control]]<includeonly>[[Category:Dual_control_aircraft]]</includeonly> | |dualcontrol = [[File:Dualcontrol-ready.png|alt=Dual control|link=Dual_control]]<includeonly>[[Category:Dual_control_aircraft]]</includeonly> |
Revision as of 17:36, 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|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.