Template:Infobox elevator: Difference between revisions

From Australian Enthusiasts Wiki
m 1 revision imported: Add Template:Infobox elevator
Add third image and alt text
 
(12 intermediate revisions by the same user not shown)
Line 4: Line 4:
     </title>
     </title>
     <image source="image1">
     <image source="image1">
         <alt source="image1_alt">
        <caption source="caption1"/>
             <default>Elevator</default>
        <alt source="alt1">
            <default>{{{caption1}}}</default>
        </alt>
    </image>
    <image source="image2">
        <caption source="caption2"/>
        <alt source="alt2">
            <default>{{{caption2}}}</default>
        </alt>
    </image>
    <image source="image3">
        <caption source="caption3"/>
         <alt source="alt3">
             <default>{{{caption3}}}</default>
         </alt>
         </alt>
        <caption source="image1_caption"></caption>
     </image>
     </image>
    <group>
        <data source="location">
            <label>Location</label>
            <default>''Currently under investigation''<includeonly>[[Category:Elevators with unknown location]]</includeonly></default>
        </data>
        <data source="coordinates">
            <label>Coordinates</label>
        </data>
        <data source="lift_no">
            <label>Lift number</label>
        </data>
    </group>
     <group>
     <group>
         <header>Basic information</header>
         <header>Basic information</header>
         <data source="manufacturer">
         <data source="manufacturer">
             <label>Manufacturer</label>
             <label>Manufacturer</label>
             <default>{{error|Must provide manufacturer. See [[Template:Infobox elevator]] for help with this.|<includeonly>Category:Elevator pages with errors</includeonly>}}</default>
             <default>''Currently under investigation''<includeonly>[[Category:Elevators with unknown manufacturer]]</includeonly></default>
         </data>
         </data>
         <data source="serial">
         <data source="serial">
Line 22: Line 46:
             <label>Model</label>
             <label>Model</label>
             <default><noinclude>Unknown</noinclude></default>
             <default><noinclude>Unknown</noinclude></default>
         </data>
         </data>  
         <data source="installed">
         <data source="drive">
             <label>Year installed</label>
             <label>Drive type</label>
             <default><noinclude>2000</noinclude></default>
             <default>''Currently under investigation''<includeonly>[[Category:Elevators with unknown drive type]]</includeonly></default>
        </data>
             <format>{{#switch: {{lc: {{{drive}}}}}
        <data source="in_service">
             | traction = [[ew:Traction elevators|Traction]]
             <label>Year in service</label>
             | mrl_traction = [[ew:Machine room less elevators|MRL]] [[ew:Traction elevators|traction]]
             <default><noinclude>2001</noinclude></default>
             | {{error|Unknown drive type provided.|Elevator pages with errors}}
        </data>
             }}</format>
        <data source="modernised">
         </data>  
            <label>Year modernised</label>
             <default><noinclude>2017</noinclude></default>
        </data>
        <data source="replaced">
             <label>Year replaced</label>
             <default><noinclude>2018</noinclude></default>
         </data>
         <data source="capacity">
         <data source="capacity">
             <label>Capacity</label>
             <label>Capacity</label>
Line 55: Line 72:
             <default><noinclude>150</noinclude></default>
             <default><noinclude>150</noinclude></default>
         </data>
         </data>
         <data source="drive">
         <data source="controller_type">
             <label>Drive type</label>
             <label>Controller type</label>
             <default>{{error|Must provide drive type. See [[Template:Infobox elevator]] for help with this.|<includeonly>Elevator pages with errors]]</includeonly>}}</default>
             <default><noinclude>Unknown</noinclude></default>
            <format>{{#switch: {{{drive}}}
         </data>
            | traction = {{ew|Traction elevators|Traction}}
         <data source="controller_model">
            | mrl_traction = {{ew|Machine room less elevators|MRL}} {{ew|Traction elevators|traction}}
            | {{error|Unknown drive type provided.|Elevator pages with errors}}
            }}</format>
         </data>  
         <data source="controller">
             <label>Controller type</label>
             <label>Controller type</label>
             <default><noinclude>Unknown</noinclude></default>
             <default><noinclude>Unknown</noinclude></default>
        </data>
    </group>
    <group>
        <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>
         <data source="status">
         <data source="status">
Line 81: Line 143:
         </data>
         </data>
     </group>
     </group>
</infobox>
</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>
<noinclude>{{Documentation}}</noinclude>
{
"params": {
"image1": {
"label": "Image 1",
"description": "File name for the first image on the infobox.",
"example": "Elevator.jpg",
"type": "wiki-file-name",
"suggested": true
},
"caption1": {
"label": "Image caption 1",
"description": "An image caption to accompany image 1. Also acts as alt text if not explicitly provided.",
"example": "Elevator call button.",
"type": "content",
"suggested": true
},
"image_2": {
"label": "Image 2",
"description": "File name for the second image on the infobox.",
"example": "Fixtures.png",
"type": "wiki-file-name"
},
"caption2": {
"label": "Image caption 2",
"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"
},
"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": {
"label": "Manufacturer",
"description": "The company who installed the elevator.",
"example": "[[Kone]]",
"type": "wiki-page-name",
"suggested": true
},
"serial": {
"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.",
"example": "12345678",
"type": "string"
},
"drive": {
"label": "Drive type",
"description": "The mechanism used to drive the lift. Accepts \"traction\", \"hydraulic\", \"mrl_traction\" or \"mrl_hydro\". Case insensitive.",
"example": "mrl_traction",
"type": "string",
"suggested": true,
"autovalue": "traction, mrl_traction, hydraulic, mrl_hydro"
},
"year_installed": {
"label": "Year installed",
"description": "The year the elevator was installed.",
"type": "number"
},
"year_in_service": {
"label": "Year in service",
"description": "The year the elevator was placed into service (opened for public use, for instance).",
"type": "number"
},
"year_modernised": {
"label": "Year modernised",
"description": "The year the elevator was modernised. A modernisation is work carried out that changes the elevator's appearance or running equipment (significantly).",
"type": "number"
},
"year_replaced": {
"label": "Year replaced",
"description": "The year the elevator was replaced with a new elevator unit permanently.",
"type": "number"
},
"year_removed": {
"label": "Year removed",
"description": "The year the elevator was removed from its shaft permanently.",
"type": "number"
},
"year_demolished": {
"label": "Year demolished",
"description": "The year the elevator's host building was demolished.",
"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": {
"aliases": [
"speed_meters"
],
"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).",
"example": "1.0",
"type": "number"
},
"speed_fpm": {
"label": "Speed in feet per minute",
"description": "Speed, expressed in feet per minute (FPM).",
"example": "200",
"type": "number"
},
"controller_type": {
"label": "Controller type",
"description": "The type of controller in use (microprocessor, relay, slate)",
"example": "Microprocessor",
"type": "string"
},
"controller_model": {
"label": "Controller model",
"description": "The model of the controller in use on this elevator.",
"example": "[[Schindler Miconic Controls#MX-GC|Miconic MX-GC]]",
"type": "wiki-page-name"
},
"status": {
"label": "Current status",
"description": "The status of the elevator (in service, extended maintenance, extended out of service, removed, etc.)",
"example": "In service",
"autovalue": "In service"
},
"usage": {
"label": "Usage",
"description": "The intended usage of the elevator (public, service, staff, etc.)",
"example": "Public",
"type": "string"
},
"maintenance": {
"label": "Current maintenance",
"description": "The company that currently maintains this elevator.",
"example": "|maintenance = [[Kone]]",
"type": "wiki-page-name"
}
},
"format": "block",
"description": "Displays information on individual elevators."
}
</templatedata></noinclude>

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.