Template:Ready: Difference between revisions
Jump to navigation
Jump to search
Red Leader (talk | contribs) (Integrate) |
Red Leader (talk | contribs) (Add alt text + doc) |
||
Line 1: | Line 1: | ||
{{#if:{{{1|}}}|{{#switch:{{{1|}}} | {{#if:{{{1|}}}|{{#switch:{{{1|}}} | ||
|airrefuel=[[File:Airrefuel-ready.png|link=Howto:Aerial_refueling]]<includeonly>[[Category:Air_refueling_ready]]</includeonly> | |airrefuel = [[File:Airrefuel-ready.png|alt=Mid-air refueling|link=Howto:Aerial_refueling]]<includeonly>[[Category:Air_refueling_ready]]</includeonly> | ||
|bombable=[[File:Bombable-ready.png|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|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> | ||
|rembrandt=[[File:Rembrandt-ready.png|link=Rembrandt]]<includeonly>[[Category:Rembrandt_aircraft]]</includeonly> | |rembrandt = [[File:Rembrandt-ready.png|alt=Rembrandt|link=Rembrandt]]<includeonly>[[Category:Rembrandt_aircraft]]</includeonly> | ||
|canvas=[[File:Canvas-ready.png|link=Canvas]] | |canvas = [[File:Canvas-ready.png|alt=Canvas|link=Canvas]] | ||
|checklist=[[File:Checklist-ready.png|link=Aircraft_Checklists]] | |checklist = [[File:Checklist-ready.png|alt=Checklists|link=Aircraft_Checklists]] | ||
|tutorials=[[File:Tutorial-ready.png|link=Tutorials]] | |tutorials = [[File:Tutorial-ready.png|alt=Tutorials|link=Tutorials]] | ||
}}}}<noinclude>{{Informative template|1= | }}}}<noinclude>{{Informative template|1= | ||
__NOTOC__ | __NOTOC__ | ||
Line 18: | Line 18: | ||
Add one line per icon to this template: | Add one line per icon to this template: | ||
<nowiki>|name = [[File:image.png]]<includeonly>[[Category]]</includeonly></nowiki> | <nowiki>|name = [[File:image.png|alt=text|link=page]]<includeonly>[[Category]]</includeonly></nowiki> | ||
; name: | ; name: (Short) name of the icon, to be added as <code>{{!}}ready =</code> in the aircraft infobox. | ||
; image: | ; 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. | ; category: You can optionally add a category that the aircraft will be added to when the ready icon is used. |
Revision as of 17:32, 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.