Template:Infobox elevator: Difference between revisions

From Australian Enthusiasts Wiki
Add location
Add third image and alt text
 
(9 intermediate revisions by the same user not shown)
Line 5: Line 5:
     <image source="image1">
     <image source="image1">
         <caption source="caption1"/>
         <caption source="caption1"/>
        <alt source="alt1">
            <default>{{{caption1}}}</default>
        </alt>
     </image>
     </image>
     <image source="image2">
     <image source="image2">
         <caption source="caption2"/>
         <caption source="caption2"/>
        <alt source="alt2">
            <default>{{{caption2}}}</default>
        </alt>
    </image>
    <image source="image3">
        <caption source="caption3"/>
        <alt source="alt3">
            <default>{{{caption3}}}</default>
        </alt>
     </image>
     </image>
     <group>
     <group>
         <data source="location">
         <data source="location">
             <label>Location</label>
             <label>Location</label>
             <default>''Currently under investigation''[[Category:Elevators with unknown location]]</default>
             <default>''Currently under investigation''<includeonly>[[Category:Elevators with unknown location]]</includeonly></default>
         </data>
         </data>
         <data source="coordinates">
         <data source="coordinates">
             <label>Coordinates</label>
             <label>Coordinates</label>
            <default>''Currently under investigation''<includeonly>[[Category:Elevators with unknown coordinates]]</includeonly></default>
        </data>
        <data source="lift_no">
            <label>Lift number</label>
         </data>
         </data>
     </group>
     </group>
Line 36: Line 50:
             <label>Drive type</label>
             <label>Drive type</label>
             <default>''Currently under investigation''<includeonly>[[Category:Elevators with unknown drive type]]</includeonly></default>
             <default>''Currently under investigation''<includeonly>[[Category:Elevators with unknown drive type]]</includeonly></default>
             <format>{{#switch: {{lc:{{{drive}}}
             <format>{{#switch: {{lc: {{{drive}}}}}
             | traction = {{ew|Traction elevators|Traction}}
             | traction = [[ew:Traction elevators|Traction]]
             | mrl_traction = {{ew|Machine room less elevators|MRL}} {{ew|Traction elevators|traction}}
             | mrl_traction = [[ew:Machine room less elevators|MRL]] [[ew:Traction elevators|traction]]
             | {{error|Unknown drive type provided.|Elevator pages with errors}}
             | {{error|Unknown drive type provided.|Elevator pages with errors}}
            }}
             }}</format>
             }}</format>
         </data>  
         </data>  
        <data source="year_installed">
            <label>Year installed</label>
            <default><noinclude>2000</noinclude></default>
        </data>
        <data source="year_in_service">
            <label>Year in service</label>
            <default><noinclude>2001</noinclude></default>
        </data>
        <data source="year_modernised">
            <label>Year modernised</label>
            <default><noinclude>2017</noinclude></default>
        </data>
        <data source="year_replaced">
            <label>Year replaced</label>
            <default><noinclude>2018</noinclude></default>
        </data>
        <data source="year_removed">
            <label>Year removed</label>
            <default><noinclude>2040</noinclude></default>
        </data>
        <data source="year_demolished">
            <label>Year demolished</label>
            <default><noinclude>2040</noinclude></default>
        </data>
         <data source="capacity">
         <data source="capacity">
             <label>Capacity</label>
             <label>Capacity</label>
Line 93: Line 82:
     </group>
     </group>
     <group>
     <group>
         <header>Current condition</header>
         <header>Fixtures</header>
        <data source="cop">
            <label>COP{{#if: {{{lop|}}}<noinclude>Dummy content to prevent LOP from showing</noinclude>||/LOP}} fixtures</label>
            <default><noinclude>Blue Dewhurst US95</noinclude></default>
        </data>
        <data source="lop">
            <label>LOP fixtures</label>
            <default><noinclude>Red EPL Kone 90s</noinclude></default>
        </data>
        <data source="cop_indicator">
            <label>COP{{#if: {{{lop_indicator|}}}<noinclude>Dummy content to prevent LOP from showing</noinclude>||/LOP}} indicator(s)</label>
            <default><noinclude>EPL 80s LED dot-matrix</noinclude></default>
        </data>
        <data source="lop_indicator">
            <label>LOP indicator(s)</label>
            <default><noinclude>EPL Synergy 2000</noinclude></default>
        </data>
        <data source="lanterns">
            <label>Lanterns</label>
            <default><noinclude>EPL classic triangle</noinclude></default>
        </data>
    </group>
    <group>
        <header>Timeline and current status</header>
        <data source="year_installed">
            <label>Year installed</label>
            <default><noinclude>2000</noinclude></default>
        </data>
        <data source="year_in_service">
            <label>Year in service</label>
            <default><noinclude>2001</noinclude></default>
        </data>
        <data source="year_modernised">
            <label>Year modernised</label>
            <default><noinclude>2017</noinclude></default>
        </data>
        <data source="year_replaced">
            <label>Year replaced</label>
            <default><noinclude>2018</noinclude></default>
        </data>
        <data source="year_removed">
            <label>Year removed</label>
            <default><noinclude>2040</noinclude></default>
        </data>
        <data source="year_demolished">
            <label>Year demolished</label>
            <default><noinclude>2040</noinclude></default>
        </data>
         <data source="status">
         <data source="status">
             <label>Status</label>
             <label>Status</label>
Line 107: Line 143:
         </data>
         </data>
     </group>
     </group>
</infobox><noinclude>
</infobox><includeonly>[[Category:Elevators]]</includeonly><noinclude>
<!-- Developed in a local MediaWiki 1.31.6 instance with [[mw:Extension:PortableInfobox]]. -->
<!-- Developed in a local MediaWiki 1.31.6 instance with [[mw:Extension:PortableInfobox]]. -->
{{Documentation}}<templatedata>
{{Documentation}}<templatedata>
Line 115: Line 151:
"label": "Image 1",
"label": "Image 1",
"description": "File name for the first image on the infobox.",
"description": "File name for the first image on the infobox.",
"example": "|image1 = Elevator.jpg",
"example": "Elevator.jpg",
"type": "wiki-file-name",
"type": "wiki-file-name",
"suggested": true
"suggested": true
Line 122: Line 158:
"label": "Image caption 1",
"label": "Image caption 1",
"description": "An image caption to accompany image 1. Also acts as alt text if not explicitly provided.",
"description": "An image caption to accompany image 1. Also acts as alt text if not explicitly provided.",
"example": "|caption1 = Top down view of the hard drive.",
"example": "Elevator call button.",
"type": "content",
"type": "content",
"suggested": true
"suggested": true
Line 129: Line 165:
"label": "Image 2",
"label": "Image 2",
"description": "File name for the second image on the infobox.",
"description": "File name for the second image on the infobox.",
"example": "|image2 = Fixtures.png",
"example": "Fixtures.png",
"type": "wiki-file-name"
"type": "wiki-file-name"
},
},
Line 135: Line 171:
"label": "Image caption 2",
"label": "Image caption 2",
"description": "An image caption to accompany image 2. Also acts as alt text if not explicity provided.",
"description": "An image caption to accompany image 2. Also acts as alt text if not explicity provided.",
            "example": "View of the COP fixtures.",
"type": "content"
"type": "content"
},
"location": {
"label": "Location",
"description": "The name of the location this elevator is in.",
"example": "[[Cultural Centre busway station]]",
"type": "wiki-page-name",
"suggested": true
},
"coordinates": {
"label": "Coordinates",
"description": "The coordinates for the building this elevator is in, or for the elevator itself."
},
},
"manufacturer": {
"manufacturer": {
"label": "Manufacturer",
"label": "Manufacturer",
"description": "The company who installed the elevator.",
"description": "The company who installed the elevator.",
"example": "|manufacturer = [[Kone]]",
"example": "[[Kone]]",
"type": "wiki-page-name",
"type": "wiki-page-name",
"suggested": true
"suggested": true
Line 147: Line 195:
"label": "Serial number",
"label": "Serial number",
"description": "The serial number assigned by the installer. This may be called a \"Machine No\", \"Equipment No\", or other term, if not a serial number.",
"description": "The serial number assigned by the installer. This may be called a \"Machine No\", \"Equipment No\", or other term, if not a serial number.",
"example": "|serial = 12345678",
"example": "12345678",
"type": "string"
"type": "string"
},
},
Line 153: Line 201:
"label": "Drive type",
"label": "Drive type",
"description": "The mechanism used to drive the lift. Accepts \"traction\", \"hydraulic\", \"mrl_traction\" or \"mrl_hydro\". Case insensitive.",
"description": "The mechanism used to drive the lift. Accepts \"traction\", \"hydraulic\", \"mrl_traction\" or \"mrl_hydro\". Case insensitive.",
"example": "|drive = mrl_traction",
"example": "mrl_traction",
"type": "string",
"type": "string",
"suggested": true,
"suggested": true,
Line 187: Line 235:
"description": "The year the elevator's host building was demolished.",
"description": "The year the elevator's host building was demolished.",
"type": "number"
"type": "number"
},
        "capacity": {
"label": "Capacity",
"description": "The full rated capacity of the elevator. Specify kg, persons and lb (translate if need be).",
"example": "1,600 kg (21 persons, approx. 3,527 lb)",
"suggested": true
},
},
"speed_metres": {
"speed_metres": {
Line 194: Line 248:
"label": "Speed in metres per second",
"label": "Speed in metres per second",
"description": "Speed, expressed in metres per second (m/s). The alias prints it in US spelling (meters per second).",
"description": "Speed, expressed in metres per second (m/s). The alias prints it in US spelling (meters per second).",
"example": "|speed_metres = 1.0",
"example": "1.0",
"type": "number"
"type": "number"
},
},
Line 200: Line 254:
"label": "Speed in feet per minute",
"label": "Speed in feet per minute",
"description": "Speed, expressed in feet per minute (FPM).",
"description": "Speed, expressed in feet per minute (FPM).",
"example": "|speed_fpm = 200",
"example": "200",
"type": "number"
"type": "number"
},
},
Line 206: Line 260:
"label": "Controller type",
"label": "Controller type",
"description": "The type of controller in use (microprocessor, relay, slate)",
"description": "The type of controller in use (microprocessor, relay, slate)",
"example": "|controller_type = Microprocessor",
"example": "Microprocessor",
"type": "string"
"type": "string"
},
},
Line 212: Line 266:
"label": "Controller model",
"label": "Controller model",
"description": "The model of the controller in use on this elevator.",
"description": "The model of the controller in use on this elevator.",
"example": "|controller_model = [[Schindler Miconic Controls#MX-GC|Miconic MX-GC]]",
"example": "[[Schindler Miconic Controls#MX-GC|Miconic MX-GC]]",
"type": "wiki-page-name"
"type": "wiki-page-name"
},
},
Line 218: Line 272:
"label": "Current status",
"label": "Current status",
"description": "The status of the elevator (in service, extended maintenance, extended out of service, removed, etc.)",
"description": "The status of the elevator (in service, extended maintenance, extended out of service, removed, etc.)",
"example": "|status = In service",
"example": "In service",
"default": "In service"
"autovalue": "In service"
},
},
"usage": {
"usage": {
"label": "Usage",
"label": "Usage",
"description": "The intended usage of the elevator (public, service, staff, etc.)",
"description": "The intended usage of the elevator (public, service, staff, etc.)",
"example": "|usage = Public",
"example": "Public",
"type": "string",
"type": "string"
"autovalue": ""
},
},
"maintenance": {
"maintenance": {

Latest revision as of 13:28, 14 August 2021

Template documentation (for the above template, sometimes hidden or invisible)

Displays information on individual elevators.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Image 1image1

File name for the first image on the infobox.

Example
Elevator.jpg
Filesuggested
Image caption 1caption1

An image caption to accompany image 1. Also acts as alt text if not explicitly provided.

Example
Elevator call button.
Contentsuggested
Image 2image_2

File name for the second image on the infobox.

Example
Fixtures.png
Fileoptional
Image caption 2caption2

An image caption to accompany image 2. Also acts as alt text if not explicity provided.

Example
View of the COP fixtures.
Contentoptional
Locationlocation

The name of the location this elevator is in.

Example
[[Cultural Centre busway station]]
Page namesuggested
Coordinatescoordinates

The coordinates for the building this elevator is in, or for the elevator itself.

Unknownoptional
Manufacturermanufacturer

The company who installed the elevator.

Example
[[Kone]]
Page namesuggested
Serial numberserial

The serial number assigned by the installer. This may be called a "Machine No", "Equipment No", or other term, if not a serial number.

Example
12345678
Stringoptional
Drive typedrive

The mechanism used to drive the lift. Accepts "traction", "hydraulic", "mrl_traction" or "mrl_hydro". Case insensitive.

Example
mrl_traction
Auto value
traction, mrl_traction, hydraulic, mrl_hydro
Stringsuggested
Year installedyear_installed

The year the elevator was installed.

Numberoptional
Year in serviceyear_in_service

The year the elevator was placed into service (opened for public use, for instance).

Numberoptional
Year modernisedyear_modernised

The year the elevator was modernised. A modernisation is work carried out that changes the elevator's appearance or running equipment (significantly).

Numberoptional
Year replacedyear_replaced

The year the elevator was replaced with a new elevator unit permanently.

Numberoptional
Year removedyear_removed

The year the elevator was removed from its shaft permanently.

Numberoptional
Year demolishedyear_demolished

The year the elevator's host building was demolished.

Numberoptional
Capacitycapacity

The full rated capacity of the elevator. Specify kg, persons and lb (translate if need be).

Example
1,600 kg (21 persons, approx. 3,527 lb)
Unknownsuggested
Speed in metres per secondspeed_metres speed_meters

Speed, expressed in metres per second (m/s). The alias prints it in US spelling (meters per second).

Example
1.0
Numberoptional
Speed in feet per minutespeed_fpm

Speed, expressed in feet per minute (FPM).

Example
200
Numberoptional
Controller typecontroller_type

The type of controller in use (microprocessor, relay, slate)

Example
Microprocessor
Stringoptional
Controller modelcontroller_model

The model of the controller in use on this elevator.

Example
[[Schindler Miconic Controls#MX-GC|Miconic MX-GC]]
Page nameoptional
Current statusstatus

The status of the elevator (in service, extended maintenance, extended out of service, removed, etc.)

Example
In service
Auto value
In service
Unknownoptional
Usageusage

The intended usage of the elevator (public, service, staff, etc.)

Example
Public
Stringoptional
Current maintenancemaintenance

The company that currently maintains this elevator.

Example
|maintenance = [[Kone]]
Page nameoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.