Template:Infobox Forklift: Difference between revisions

From Forklift Certified Video Games
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 3: Line 3:
|-
|-
| colspan="2" style="text-align:center; font-weight:bold;" | {{{title|{{PAGENAME}}}}}
| colspan="2" style="text-align:center; font-weight:bold;" | {{{title|{{PAGENAME}}}}}
{{#if: {{{image|}}} |
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}}
[[File:{{{image|}}}|frameless|center]] }}
|-
|-
| colspan="2" style="text-align:center;" |
! style="text-align: left;" | Engine type
[[File:{{{image|}}}|frameless|center]]
| {{#arraymap:{{{enginetype|}}}|,|x|[[:Category:x|x]]|<br>}}
|-
|-
! style="text-align: left;" | Engine type
! style="text-align: left;" | Function(s)
| {{#arraymap:{{{enginetype|}}}|,|x|x|<br>}}
| {{#arraymap:{{{functions|}}}|,|x|[[:Category:x|x]]|<br>}}
|-
|-
! style="text-align: left;" | Max speed
! style="text-align: left;" | Max speed
| {{#arraymap:{{{maxspeed|}}}|,|x|[[:Category:x|x]]|<br>}}
| {{{maxspeed|}}} mph
|-
|-
! style="text-align: left;" | Color(s)
! style="text-align: left;" | Color
| {{#arraymap:{{{colors|}}}|,|x|x|<br>}}
| {{#arraymap:{{{colors|}}}|,|x|x|<br>}}
|-
! style="text-align: left;" | Function(s)
| {{#arraymap:{{{functions|}}}|,|x|[[:Category:x|x]]|<br>}}
{{#if:{{{label1|}}}{{{label2|}}}{{{label3|}}}|
{{#if:{{{label1|}}}{{{label2|}}}{{{label3|}}}|
{{!}}-
{{!}}-
Line 31: Line 32:
}}
}}
}}
}}
|}
|}{{#arraymap:{{{enginetype|}}}|,|x|[[Category:x]]|\n}}
<noinclude>
{{#arraymap:{{{functions|}}}|,|x|[[Category:x]]|\n}}<noinclude>{{#cargo_declare:
<templatedata>
_table=Thumbnails_Forklift
{
|Page=String
"params": {
|Image=File
"image": {
|Engine_Type=List ( , ) of String
"label": "Forklift cover image",
|Functions=List ( , ) of String
"description": "Upload an image, then insert name.filename",
|Max_Speed=Float
"example": "UploadedImage.jpg",
|Colors=List ( , ) of String
"type": "wiki-file-name",
|Creator=String
"required": true
}}</noinclude><includeonly>{{#ifeq: {{NAMESPACE}} | |{{#cargo_store:
},
_table=Thumbnails_Forklift
"enginetype": {
|Page={{PAGENAME}}
"label": "Engine type",
|Image={{{image|}}}
"description": "The type of engine the forklift runs on",
|Engine_Type={{{enginetype|}}}
"example": "Diesel",
|Functions={{{functions|}}}
"type": "string",
|Max_Speed={{{maxspeed|}}}
"required": true
|Colors={{{colors|}}}
},
|Creator={{{creator|}}}
"colors": {
|quiet=yes
"label": "Color(s)",
}}}}{{#if: {{{creator|}}} | [[Category:Certified by {{{creator}}}]] }}</includeonly>
"description": "The types of available colors for the forklift",
"example": "Red",
"type": "string",
"required": true
},
"maxspeed": {
"label": "Max speed",
"description": "The maximum speed the forklift can achieve (if not drivable, write \"N/A\")",
"example": "20 km/h",
"type": "string",
"required": true
},
"functions": {
"label": "Functions",
"description": "The functions available for the forklift. Separate  several with <br>",
"example": "Lifting",
"type": "string",
"required": true
},
"label1": {
"label": "Extra Row 1 Title",
"description": "The title for custom row 1 (e.g. 'Capacity')",
"type": "string"
},
"data1": {
"label": "Extra Row 1 Content",
"description": "Add content to row 1",
"type": "string"
},
"label2": {
"label": "Extra Row 2 Title",
"description": "The title for custom row 2 (e.g. 'Length')",
"type": "string"
},
"data2": {
"label": "Extra Row 2 Content",
"description": "Add content to row 2",
"type": "string"
},
"label3": {
"label": "Extra Row 3 Title",
"description": "The title for custom row 3 (e.g. 'Certification')",
"type": "string"
},
"data3": {
"label": "Extra Row 3 Content",
"description": "Add content to row 3",
"type": "string"
}
},
"description": "Infobox Forklift"
}
</templatedata>
</noinclude>

Latest revision as of 00:04, 1 May 2026

Infobox Forklift
Engine type
Function(s)
Max speed mph
Color

This template defines the table "Thumbnails_Forklift". View table.