Template:Ready: Difference between revisions
Jump to navigation
Jump to search
Red Leader (talk | contribs) m (Test) |
Red Leader (talk | contribs) (Integrate) |
||
Line 1: | Line 1: | ||
{{# | {{#if:{{{1|}}}|{{#switch:{{{1|}}} | ||
|airrefuel=[[File:Airrefuel-ready.png|link=Howto:Aerial_refueling]]<includeonly>[[Category:Air_refueling_ready]]</includeonly> | |||
|bombable=[[File:Bombable-ready.png|link=Bombable]]<includeonly>[[Category:Bombable_aircraft]]</includeonly> | |||
|dualcontrol=[[File:Dualcontrol-ready.png|link=Dual_control]]<includeonly>[[Category:Dual_control_aircraft]]</includeonly> | |||
|rembrandt=[[File:Rembrandt-ready.png|link=Rembrandt]]<includeonly>[[Category:Rembrandt_aircraft]]</includeonly> | |||
|canvas=[[File:Canvas-ready.png|link=Canvas]] | |||
|checklist=[[File:Checklist-ready.png|link=Aircraft_Checklists]] | |||
|tutorials=[[File:Tutorial-ready.png|link=Tutorials]] | |||
}}}}<noinclude>{{Informative template|1= | |||
}} | |||
<noinclude>{{Informative template|1= | |||
__NOTOC__ | __NOTOC__ | ||
== Goal == | == Goal == | ||
Line 24: | Line 18: | ||
Add one line per icon to this template: | Add one line per icon to this template: | ||
<nowiki>| name = [[File: | <nowiki>|name = [[File:image.png]]<includeonly>[[Category]]</includeonly></nowiki> | ||
; name: (Short) name of the icon, to be added as <code>{{!}} ready = </code> in the aircraft infobox. | ; name: (Short) name of the icon, to be added as <code>{{!}}ready =</code> in the aircraft infobox. | ||
; image: Icon image file, including the '''File:''' prefix. | ; image: Icon image file, including the '''File:''' prefix. | ||
; category: You can optionally add a category that the aircraft will be added to when the ready icon is used. | |||
== Related category == | == Related category == |
Revision as of 17:22, 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]]<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.
- category
- You can optionally add a category that the aircraft will be added to when the ready icon is used.