Template:Infobox aircraft: Difference between revisions

From YATA Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 10: Line 10:
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image1|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}{{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image1|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}{{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| label2    = Role
| label2    = Role
| data2      = {{{role|{{{role}}}}}}
| data2      = {{{role|}}}


| label3    = National origin
| label3    = National origin
| data3      = {{{national origin|{{{national_origin}}}}}}
| data3      = {{{national origin|}}}


| label4    = Manufacturer
| label4    = Manufacturer
| data4      = {{{manufacturer|{{{manufacturer}}}}}}
| data4      = {{{manufacturer|}}}


| label5    = First flight
| label5    = First flight
| data5      = {{{first flight|{{{first_flight}}}}}}
| data5      = {{{first flight|}}}


| label6    = Status
| label6    = Status
| data6      = {{{status|{{{status}}}}}}
| data6      = {{{status|}}}


| label7    = Primary users
| label7    = Primary users
| data7      = {{{primary users|{{{primary_users}}}}}}
| data7      = {{{primary users|}}}


| label8    = Years produced
| label8    = Years produced
| data8      = {{{years produced|{{{years_produced}}}}}}
| data8      = {{{years produced|}}}


| label9    = Number built
| label9    = Number built
| data9      = {{{number built|{{{number_built}}}}}}
| data9      = {{{number built|}}}


| belowclass = mergedtoprow noprint
| belowclass = mergedtoprow noprint
Line 43: Line 43:
"params": {
"params": {
"title1": {
"title1": {
"type": "string"
"type": "string",
"required": true,
"suggested": true
},
},
"image1": {
"image1": {
Line 50: Line 52:
},
},
"image2": {
"image2": {
"type": "wiki-file-name"
"type": "wiki-file-name",
"suggested": true
},
},
"role": {
"role": {
Line 60: Line 63:
"suggested": true
"suggested": true
},
},
"manufacturer": {},
"manufacturer": {
"type": "string",
"suggested": true
},
"first_flight": {
"first_flight": {
"type": "date"
"type": "string",
"suggested": true
},
},
"status": {
"status": {
"type": "string"
"type": "string",
"suggested": true
},
},
"primary_users": {
"primary_users": {
"type": "string"
"type": "string",
"suggested": true
},
},
"years_produced": {
"years_produced": {
"type": "string"
"type": "string",
"suggested": true
},
},
"number_built": {
"number_built": {
"type": "number"
"type": "string",
"suggested": true
}
}
}
}
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 08:26, 3 May 2024

}}} | image = | label2 = Role | data2 =

| label3 = National origin | data3 =

| label4 = Manufacturer | data4 =

| label5 = First flight | data5 =

| label6 = Status | data6 =

| label7 = Primary users | data7 =

| label8 = Years produced | data8 =

| label9 = Number built | data9 =

| belowclass = mergedtoprow noprint | below = }} </includeonly>

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
title1title1

no description

Stringrequired
image1image1

no description

Filesuggested
image2image2

no description

Filesuggested
rolerole

no description

Stringsuggested
national_originnational_origin

no description

Stringsuggested
manufacturermanufacturer

no description

Stringsuggested
first_flightfirst_flight

no description

Stringsuggested
statusstatus

no description

Stringsuggested
primary_usersprimary_users

no description

Stringsuggested
years_producedyears_produced

no description

Stringsuggested
number_builtnumber_built

no description

Stringsuggested