Jump to content

Template:Infobox elevator: Difference between revisions

From The Elevator Archive
Created page with "<infobox theme="elevator"> <title source="name"><default>{{PAGENAME}}</default></title> <header class="status-header status-{{#if:{{{status|}}}|{{lower:{{{status}}}}}|unknown}}"> {{#switch: {{upper:{{{status|}}}}} | ORIGINAL = 🟢 Original System | MODERNIZED = 🔵 Modernized | REPLACED = 🔴 Replaced / Scrapped | #default = Unknown Status }} </header> <image source="image"> <cap..."
 
No edit summary
Line 17: Line 17:
     <group>
     <group>
         <header>Technical Specifications</header>
         <header>Technical Specifications</header>
         <data source="manufacturer">
         <data source="manufacturer" hide="false">
             <label>Manufacturer</label>
             <label>Manufacturer</label>
            <default>-</default>
         </data>
         </data>
         <data source="model">
         <data source="model" hide="false">
             <label>Model / Series</label>
             <label>Model / Series</label>
            <default>-</default>
         </data>
         </data>
         <data source="drive_type">
         <data source="drive_type" hide="false">
             <label>Drive Type</label>
             <label>Drive Type</label>
            <default>-</default>
         </data>
         </data>
         <data source="controller">
         <data source="controller" hide="false">
             <label>Controller / Fixtures</label>
             <label>Controller / Fixtures</label>
            <default>-</default>
         </data>
         </data>
         <data source="capacity">
         <data source="capacity" hide="false">
             <label>Capacity</label>
             <label>Capacity</label>
            <default>-</default>
         </data>
         </data>
         <data source="speed">
         <data source="speed" hide="false">
             <label>Speed</label>
             <label>Speed</label>
            <default>-</default>
         </data>
         </data>
         <data source="floors">
         <data source="floors" hide="false">
             <label>Floors Served</label>
             <label>Floors Served</label>
            <default>-</default>
         </data>
         </data>
     </group>
     </group>
Line 42: Line 49:
     <group>
     <group>
         <header>History & Location</header>
         <header>History & Location</header>
         <data source="installation_year">
         <data source="installation_year" hide="false">
             <label>Installed</label>
             <label>Installed</label>
            <default>-</default>
         </data>
         </data>
         <data source="modernization_year">
         <data source="modernization_year" hide="false">
             <label>Modernized</label>
             <label>Modernized</label>
             <format>{{{modernization_year}}} {{#if:{{{modernized_by|}}}| (by {{{modernized_by}}}) }}</format>
             <format>{{{modernization_year}}} {{#if:{{{modernized_by|}}}| (by {{{modernized_by}}}) }}</format>
            <default>-</default>
         </data>
         </data>
         <data source="location">
         <data source="location" hide="false">
             <label>Location</label>
             <label>Location</label>
            <default>-</default>
         </data>
         </data>
     </group>
     </group>
Line 56: Line 66:
     <group collapse="open">
     <group collapse="open">
         <header>Notes</header>
         <header>Notes</header>
         <data source="notes">
         <data source="notes" hide="false">
             <format>''{{{notes}}}''</format>
             <format>''{{{notes}}}''</format>
            <default>-</default>
         </data>
         </data>
     </group>
     </group>
</infobox>
</infobox>
<noinclude>
<noinclude>
== Usage ==
== TemplateData ==
<pre>
<templatedata>
{{Infobox_elevator
{
| name               =
"params": {
| status             = | image             =
"name": {
| caption           =
"label": "Name",
| manufacturer       =
"type": "string",
| model             =
"required": false,
| drive_type         =
"suggested": true,
| controller         =
"description": "Name of the elevator or building system"
| capacity           =
},
| speed             =
"status": {
| floors             =
"label": "Status",
| installation_year =
"type": "string",
| modernization_year =
"required": true,
| modernized_by     =
"suggested": true,
| location           =
"description": "ORIGINAL, MODERNIZED, or REPLACED"
| notes             =
},
}}
"image": {
</pre>
"label": "Image",
[[Category:Infobox templates]]
"type": "wiki-file-name",
"required": false,
"suggested": true
},
"caption": {
"label": "Caption",
"type": "string",
"required": false,
"suggested": true
},
"manufacturer": {
"label": "Manufacturer",
"type": "string",
"required": false,
"suggested": true,
"example": "Schlieren, Schindler, Otis"
},
"model": {
"label": "Model / Series",
"type": "string",
"required": false,
"suggested": true
},
"drive_type": {
"label": "Drive Type",
"type": "string",
"required": false,
"suggested": true,
"example": "Geared Traction, Gearless Traction, Hydraulic"
},
"controller": {
"label": "Controller / Fixtures",
"type": "string",
"required": false,
"suggested": true,
"example": "Arcode, Relay Logic"
},
"capacity": {
"label": "Capacity",
"type": "string",
"required": false,
"suggested": true,
"example": "450 kg (6 Persons)"
},
"speed": {
"label": "Speed",
"type": "string",
"required": false,
"suggested": true,
"example": "1.0 m/s"
},
"floors": {
"label": "Floors Served",
"type": "string",
"required": false,
"suggested": true
},
"installation_year": {
"label": "Installation Year",
"type": "string",
"required": false,
"suggested": true
},
"modernization_year": {
"label": "Modernization Year",
"type": "string",
"required": false,
"suggested": true
},
"modernized_by": {
"label": "Modernized By",
"type": "string",
"required": false,
"suggested": true
},
"location": {
"label": "Location",
"type": "string",
"required": false,
"suggested": true
},
"notes": {
"label": "Notes",
"type": "string",
"required": false,
"suggested": true
}
},
"description": "Infobox for documenting elevator systems, controllers, and history.",
"format": "block"
}
</templatedata>
</noinclude>
</noinclude>

Revision as of 21:36, 3 June 2026

TemplateData

Infobox for documenting elevator systems, controllers, and history.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of the elevator or building system

Stringsuggested
Statusstatus

ORIGINAL, MODERNIZED, or REPLACED

Stringrequired
Imageimage

no description

Filesuggested
Captioncaption

no description

Stringsuggested
Manufacturermanufacturer

no description

Example
Schlieren, Schindler, Otis
Stringsuggested
Model / Seriesmodel

no description

Stringsuggested
Drive Typedrive_type

no description

Example
Geared Traction, Gearless Traction, Hydraulic
Stringsuggested
Controller / Fixturescontroller

no description

Example
Arcode, Relay Logic
Stringsuggested
Capacitycapacity

no description

Example
450 kg (6 Persons)
Stringsuggested
Speedspeed

no description

Example
1.0 m/s
Stringsuggested
Floors Servedfloors

no description

Stringsuggested
Installation Yearinstallation_year

no description

Stringsuggested
Modernization Yearmodernization_year

no description

Stringsuggested
Modernized Bymodernized_by

no description

Stringsuggested
Locationlocation

no description

Stringsuggested
Notesnotes

no description

Stringsuggested