Difference between revisions of "Template:Model Gallery"

From FlightGear wiki
Jump to: navigation, search
(changed picture of AH-1 Cobra (better for small size))
(template documentation)
Line 1: Line 1:
 +
<noinclude>This is the right place to add aircrafts to the lists in [[Aircraft]], [[:de:Flugzeuge]], [[:es:Aeronaves]], etc.</noinclude>
 
{{ #switch: {{{section|}}}
 
{{ #switch: {{{section|}}}
 
| carrier_borne_aircraft =
 
| carrier_borne_aircraft =
Line 124: Line 125:
 
[[Space Shuttle]]|Shuttle.jpg
 
[[Space Shuttle]]|Shuttle.jpg
 
}}
 
}}
| ultra_light =
+
| ultra_light = <!-- gliders, sailplanes, & ultralights -->
 
{{Gallery|
 
{{Gallery|
 
[[Airwave Xtreme 150]]|AirwaveXtreme150.jpg|
 
[[Airwave Xtreme 150]]|AirwaveXtreme150.jpg|
Line 135: Line 136:
 
[[Glaser-Dirks_DG-101G]]|DG-101G_001.jpg
 
[[Glaser-Dirks_DG-101G]]|DG-101G_001.jpg
 
}}
 
}}
| vehicles =
+
| vehicles = <!-- cars, tanks, etc. -->
 
{{Gallery|
 
{{Gallery|
 
{{int|Taylor Aerocar}}|AerocarI_1.png|
 
{{int|Taylor Aerocar}}|AerocarI_1.png|
Line 175: Line 176:
 
<code><nowiki>{{Model Gallery | section=light_civilian_aircraft}}</nowiki></code>
 
<code><nowiki>{{Model Gallery | section=light_civilian_aircraft}}</nowiki></code>
 
will be replaced by a gallery structure, that contains the list of "Light civilian aircraft"
 
will be replaced by a gallery structure, that contains the list of "Light civilian aircraft"
 +
 +
===sections===
 +
*carrier_borne_aircraft
 +
*experimental
 +
*helicopters
 +
*historical_aircraft
 +
*light_civilian_aircraft
 +
*lighter_than_air
 +
*modern_airliners_narrowbody_midsize
 +
*modern_airliners_widebody_jumbo
 +
*modern_military_aircraft
 +
*science_fiction
 +
*spacecraft
 +
*ultra_light
 +
*vehicles
 +
*warbirds
 
}}
 
}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 13:17, 21 March 2012

This is the right place to add aircrafts to the lists in Aircraft, de:Flugzeuge, es:Aeronaves, etc.



The following template description is not displayed when the template is inserted in an article.

Goal

keep the aircraft/helicopter/vehicle Galleries synchronized in all articles

Usage

{{Model Gallery | section=sectionname}} Replace "sectionname" with the section you want to include.

Example

{{Model Gallery | section=light_civilian_aircraft}} will be replaced by a gallery structure, that contains the list of "Light civilian aircraft"

sections

  • carrier_borne_aircraft
  • experimental
  • helicopters
  • historical_aircraft
  • light_civilian_aircraft
  • lighter_than_air
  • modern_airliners_narrowbody_midsize
  • modern_airliners_widebody_jumbo
  • modern_military_aircraft
  • science_fiction
  • spacecraft
  • ultra_light
  • vehicles
  • warbirds