Template:Ready: Difference between revisions
Jump to navigation
Jump to search
(Added a 'spacetrip' target.) |
(The 'canvas' parameter value now will add the Category:Aircraft using Canvas category to the article.) |
||
(5 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: | |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 == | ||
Line 30: | Line 34: | ||
; 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 == |
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 | Category:Air refueling ready | |
bombable | Category:Bombable aircraft | |
canvas | Category:Aircraft using Canvas | |
checklist | Category:Aircraft with Checklists | |
dualcontrol | Category:Dual control aircraft | |
rembrandt | Category:Rembrandt aircraft | |
spacetrip | Category:Spaceflight | |
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}}
Space trip
{{ready|spacetrip}}