Difference between revisions of "Template:Infobox aircraft"

From FlightGear wiki
Jump to: navigation, search
m (Add development link, as suggested by Scott.)
m
Line 2: Line 2:
 
! colspan="2" style="text-align: center; background-color: #0f7a71; color: white; font-size: larger;" | {{{name}}}
 
! colspan="2" style="text-align: center; background-color: #0f7a71; color: white; font-size: larger;" | {{{name}}}
 
|-
 
|-
{{#if:{{{image|<noinclude>x</noinclude>}}}|
+
{{#if:{{{image|}}}|
 
! colspan="2" {{!}} <center>[[Image:{{{image|}}}|{{{width|270px}}}|{{{alt|}}}]]<br/><small>{{{alt|}}}</small></center>|
 
! colspan="2" {{!}} <center>[[Image:{{{image|}}}|{{{width|270px}}}|{{{alt|}}}]]<br/><small>{{{alt|}}}</small></center>|
 
! colspan="2" {{!}} <center>[[Special:Upload|Image requested]]</center>}}
 
! colspan="2" {{!}} <center>[[Special:Upload|Image requested]]</center>}}
 
|-
 
|-
{{#if:{{{type|<noinclude>x</noinclude>}}}|
+
{{#if:{{{type|}}}|
 
{{!}} width="60px" {{!}}  Type
 
{{!}} width="60px" {{!}}  Type
 
{{!}} {{!}} {{{type|}}} }}
 
{{!}} {{!}} {{{type|}}} }}
 
|-
 
|-
{{#if:{{{livery|<noinclude>x</noinclude>}}}|
+
{{#if:{{{livery|}}}|
 
{{!}} {{!}}  Livery
 
{{!}} {{!}}  Livery
 
{{!}} {{!}} {{{livery|}}} }}
 
{{!}} {{!}} {{{livery|}}} }}
 
|-
 
|-
{{#if:{{{authors|<noinclude>x</noinclude>}}}|
+
{{#if:{{{authors|}}}|
 
{{!}} {{!}}  Author(s)
 
{{!}} {{!}}  Author(s)
 
{{!}} {{!}} {{{authors|}}} }}
 
{{!}} {{!}} {{{authors|}}} }}
 
|-
 
|-
{{#if:{{{status|<noinclude>x</noinclude>}}}|
+
{{#if:{{{status|}}}|
 
{{!}} {{!}}  Status
 
{{!}} {{!}}  Status
 
{{!}} {{!}} {{{status}}} }}
 
{{!}} {{!}} {{{status}}} }}
 
|-
 
|-
{{#if:{{{version|<noinclude>x</noinclude>}}}|
+
{{#if:{{{version|}}}|
 
{{!}} {{!}}  Version
 
{{!}} {{!}}  Version
 
{{!}} {{!}} {{{version}}} }}
 
{{!}} {{!}} {{{version}}} }}
 
|-
 
|-
{{#if:{{{fdm|<noinclude>x</noinclude>}}}|
+
{{#if:{{{fdm|}}}|
 
{{!}} {{!}} [[FDM]]
 
{{!}} {{!}} [[FDM]]
 
{{!}} {{!}} {{{fdm|}}} }}
 
{{!}} {{!}} {{{fdm|}}} }}
 
|-
 
|-
{{#if:{{{fgname|<noinclude>x</noinclude>}}}|
+
{{#if:{{{fgname|}}}|
 
{{!}} {{!}}  --aircraft
 
{{!}} {{!}}  --aircraft
 
{{!}} style="font-family: 'Courier New'" {{!}}  {{{fgname}}} }}
 
{{!}} style="font-family: 'Courier New'" {{!}}  {{{fgname}}} }}
Line 48: Line 48:
 
<pre>
 
<pre>
 
{{infobox Aircraft
 
{{infobox Aircraft
|name =
+
|name =
|image =
+
|image =
|alt =
+
|alt =
|type =
+
|type =
|livery =
+
|livery =
|authors =
+
|authors =
|status =
+
|status =
|version =
+
|version =
|fdm =
+
|fdm =
|fgname =
+
|fgname =
|download =
+
|download =
|development =
+
|development =
 
}}
 
}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>

Revision as of 08:48, 28 June 2011

{{{name}}}
Image requested
<w4g_ratingbar style="stars"/>


To use this infobox, simply add the following piece of code at the top of your article. You do not have to fill in all the forms. If one is empty, it won't be shown. Just add as much information as you can find. Check other articles to see how everything works and should look.

{{infobox Aircraft
|name 			=
|image 			=
|alt 			=
|type 			=
|livery 		=
|authors 		=
|status 		=
|version 		=
|fdm 			=
|fgname 		=
|download 		=
|development 		=
}}