Difference between revisions of "Template:Infobox aircraft"

From Jurassic Outpost Encyclopedia
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|{{ infobox aircraft begin
+
{{Infobox
| name                            = {{{name|}}}
+
|bodystyle    = border-spacing: 2px 5px;
| image                           = {{{image|}}}
+
 
| caption                         = {{{caption|}}}
+
|above        = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAME}}</includeonly>}}
| appearances                      = {{{appearances|}}
+
|abovestyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#3d3d3d}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
| references                      = {{references|}}
+
 
}}{{ infobox aircraft type
+
|image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=300px|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
| type                            = {{{type|}}}
+
|caption     = {{{caption|}}}
| national origin                  = {{{national origin|}}}
+
 
| manufacturer                    = {{{manufacturer|}}}
+
|headerstyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#3d3d3d}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
| designer                        = {{{designer|}}}
+
|labelstyle  = {{{lbl-style|}}}
| first flight                    = {{{first flight|}}}
+
|datastyle    = {{{data-style|}}}
| introduction                    = {{{introduction|}}}
+
 
| retired                          = {{{retired|}}}
+
|header1 = {{ #if: {{{noinfo|}}} || {{ #if:  {{{appearances|}}}| {{ifempty|{{{info-hdr|}}}|Appearances}} }} }}
| status                          = {{{status|}}}
+
 
| primary user                    = {{{primary user|}}}
+
|data2 = <center>{{{appearances|}}}<center>
| more users                      = {{{more users|}}}
+
 
| produced                        = {{{produced|}}}
+
|header3 = {{ #if: {{{noinfo|}}} || {{ #if:  {{{references|}}}| {{ifempty|{{{info-hdr|}}}|References}} }} }}
| number built                    = {{{number built|}}}
+
 
| program cost                    = {{{program cost|}}}
+
|data4 = <center>{{{references|}}}<center>
| unit cost                        = {{{unit cost|}}}
+
 
| developed from                  = {{{developed from|}}}
+
|header5 = {{ #if: {{{noinfo|}}} || {{ #if:  {{{manufacturer|}}} {{{model|}}} {{{owner|}}} {{{operator|}}} {{{users|}}} {{{status|}}}| {{ifempty|{{{info-hdr|}}}|Information}} }} }}
| variants with their own articles = {{{variants with their own articles|}}}
+
 
}}
+
|label6 = Manufacturer
|}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>
+
|data6 = {{{manufacturer|}}}
 +
 
 +
|label7 = Model
 +
|data7 = {{{model|}}}
 +
 
 +
|label8 = Owner
 +
|data8 = {{{owner|}}}
 +
 
 +
|label9 = Operator
 +
|data9 = {{{operator|}}}
 +
 
 +
|label10 = Registration
 +
|data10 = {{{registration|}}}
 +
 
 +
|label11 = Users
 +
|data11 = {{{users|}}}
 +
 
 +
|label12 = Status
 +
|data12 = {{{status|}}}
 +
 
 +
}}<!-- Start tracking
 +
--><noinclude>
 +
{{Documentation}}
 +
<!-- Add categories to the /doc subpage, not here! -->
 +
</noinclude>

Latest revision as of 15:03, 30 April 2022

Script error: The function "doc" does not exist.