Toggle menu
1
178
1
470
The Elevator Archive
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox elevator: Difference between revisions

Template page
Undo revision 26 by TurkishLifts (talk)
Tag: Undo
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox" style="border: 1px solid #a2a9b1; border-radius: 4px; padding: 5px; width: 290px; float: right; margin: 0 0 1em 1em; background-color: #f8f9fa; font-size: 88%; line-height: 1.5em; color: #202122; font-family: sans-serif;">
<noinclude>
   
    <div class="infobox-title" style="font-size: 130%; font-weight: bold; text-align: center; padding: 0.3em; background-color: #e2e8f0; border: 1px solid #a2a9b1; border-radius: 4px 4px 0 0; margin-bottom: 4px;">{{{name|{{PAGENAME}}}}}</div>
   
    <div class="infobox-status" style="text-align: center; font-weight: bold; font-size: 110%; padding: 6px; border-radius: 2px; text-transform: uppercase; letter-spacing: 0.5px; color: #ffffff; margin-bottom: 5px; background-color: {{{status_color|#757575}}};">
        {{{status|Unknown Status}}}
    </div>
 
    {{#if:{{{image|}}}|
    <div class="infobox-image" style="text-align: center; border-bottom: 1px solid #eaecf0; padding: 8px 0;">
        [[File:{{{image}}}|270px|center]]
        {{#if:{{{caption|}}}|<br /><small style="color: #54595d;">{{{caption}}}</small>}}
    </div>
    }}
 
    <div style="background-color: #eaecf0; text-align: left; padding: 4px 6px; font-weight: bold; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1; margin-top: 5px;">Technical Specifications</div>
   
    <table class="infobox-table" style="width: 100%; border-collapse: collapse; margin-top: 2px;">
        <tr>
            <th style="text-align: left; width: 45%; padding: 4px; vertical-align: top;">Manufacturer</th>
            <td style="padding: 4px; text-align: right;">{{{manufacturer|-}}}</td>
        </tr>
        <tr>
            <th style="text-align: left; padding: 4px; vertical-align: top;">Model / Series</th>
            <td style="padding: 4px; text-align: right;">{{{model|-}}}</td>
        </tr>
        <tr>
            <th style="text-align: left; padding: 4px; vertical-align: top;">Drive Type</th>
            <td style="padding: 4px; text-align: right;">{{{drive_type|-}}}</td>
        </tr>
        <tr>
            <th style="text-align: left; padding: 4px; vertical-align: top;">Controller / Fixtures</th>
            <td style="padding: 4px; text-align: right;">{{{controller|-}}}</td>
        </tr>
        <tr>
            <th style="text-align: left; padding: 4px; vertical-align: top;">Capacity</th>
            <td style="padding: 4px; text-align: right;">{{{capacity|-}}}</td>
        </tr>
        <tr>
            <th style="text-align: left; padding: 4px; vertical-align: top;">Speed</th>
            <td style="padding: 4px; text-align: right;">{{{speed|-}}}</td>
        </tr>
        <tr>
            <th style="text-align: left; padding: 4px; vertical-align: top;">Floors Served</th>
            <td style="padding: 4px; text-align: right;">{{{floors|-}}}</td>
        </tr>
    </table>
 
    <div style="background-color: #eaecf0; text-align: left; padding: 4px 6px; font-weight: bold; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1; margin-top: 5px;">History & Location</div>
   
    <table class="infobox-table" style="width: 100%; border-collapse: collapse; margin-top: 2px;">
        <tr>
            <th style="text-align: left; width: 45%; padding: 4px; vertical-align: top;">Installed</th>
            <td style="padding: 4px; text-align: right;">{{{installation_year|-}}}</td>
        </tr>
        <tr>
            <th style="text-align: left; padding: 4px; vertical-align: top;">Modernized</th>
            <td style="padding: 4px; text-align: right;">{{{modernization_year|-}}} {{#if:{{{modernized_by|}}}| (by {{{modernized_by}}}) }}</td>
        </tr>
        <tr>
            <th style="text-align: left; padding: 4px; vertical-align: top;">Location</th>
            <td style="padding: 4px; text-align: right;">{{{location|-}}}</td>
        </tr>
    </table>
 
    <div style="background-color: #eaecf0; text-align: left; padding: 4px 6px; font-weight: bold; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1; margin-top: 5px;">Notes</div>
    <div style="text-align: left; font-size: 90%; padding: 6px; font-style: italic; color: #54595d;">{{{notes|-}}}</div>
 
</div><noinclude>
== TemplateData ==
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"name": { "label": "Name", "type": "string", "suggested": true },
"name": { "label": "Name", "type": "string", "suggested": true },
"status": { "label": "Status Text", "type": "string", "suggested": true, "description": "e.g., 🟢 Original System, 🔵 Modernized, 🔴 Replaced" },
"status_color": { "label": "Status Color (HEX)", "type": "string", "suggested": true, "description": "Green: #2e7d32 | Blue: #1565c0 | Red: #c62828" },
"image": { "label": "Image", "type": "wiki-file-name", "suggested": true },
"image": { "label": "Image", "type": "wiki-file-name", "suggested": true },
"caption": { "label": "Caption", "type": "string", "suggested": true },
"caption": { "label": "Caption", "type": "string", "suggested": true },
Line 90: Line 19:
"notes": { "label": "Notes", "type": "string", "suggested": true }
"notes": { "label": "Notes", "type": "string", "suggested": true }
},
},
"description": "HTML syntax based infobox for documenting elevator systems.",
"description": "Infobox for documenting elevator systems.",
"format": "block"
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude><includeonly>{{Infobox
| child      = {{#ifeq:{{{embed|}}}|yes|yes}}
| bodystyle  = float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; padding: 0.2em; background: #f8f9fa; width: 22em; font-size: 88%;
| autoheaders = yes
| aboveclass  = fn org
| above      = {{if empty|{{{name|}}}|Elevator}}
 
| image1      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=250px|upright=1.1|alt={{{caption|}}}}}
| caption1    = {{{caption|}}}
 
| header2    = Technical Specifications
 
| label3      = Manufacturer
|  data3      = {{{manufacturer|}}}
 
| label4      = Model / Series
|  data4      = {{{model|}}}
 
| label5      = Drive Type
|  data5      = {{{drive_type|}}}
 
| label6      = Controller / Fixtures
|  data6      = {{{controller|}}}
 
| header7    = Performance
 
| label8      = Capacity
|  data8      = {{{capacity|}}}
 
| label9      = Speed
|  data9      = {{{speed|}}}
 
| label10    = Floors Served
|  data10    = {{{floors|}}}
 
| header11    = History
 
| label12    = Installation Year
|  data12    = {{{installation_year|}}}
 
| label13    = Modernization Year
|  data13    = {{{modernization_year|}}}
 
| label14    = Modernized By
|  data14    = {{{modernized_by|}}}
 
| label15    = Location
|  data15    = {{{location|}}}
 
| rowclass16  = note
|  data16    = {{{notes|}}}
}}{{#invoke:Check for unknown parameters|check
| unknown    = [[Category:Pages using infobox elevator with unknown parameters|_VALUE_{{PAGENAME}}]]
| preview    = Page using [[Template:Infobox elevator]] with unknown parameter "_VALUE_"
| ignoreblank = y
| embed | name | image | image_size | caption
| manufacturer | model | drive_type | controller
| capacity | speed | floors
| installation_year | modernization_year | modernized_by | location
| notes
}}</includeonly>

Latest revision as of 19:26, 4 June 2026

Infobox for documenting elevator systems.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Stringsuggested
Imageimage

no description

Filesuggested
Captioncaption

no description

Stringsuggested
Manufacturermanufacturer

no description

Stringsuggested
Model / Seriesmodel

no description

Stringsuggested
Drive Typedrive_type

no description

Stringsuggested
Controller / Fixturescontroller

no description

Stringsuggested
Capacitycapacity

no description

Stringsuggested
Speedspeed

no description

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