Jump to content

Template:Infobox elevator: Difference between revisions

From The Elevator Archive
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{| 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;"
<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;">
|+ style="font-size: 130%; font-weight: bold; padding: 0.3em; background-color: #e2e8f0; border: 1px solid #a2a9b1; border-bottom: none; border-radius: 4px 4px 0 0;" | {{{name|{{PAGENAME}}}}}
   
|-
    <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>
| colspan="2" style="text-align: center; font-weight: bold; font-size: 110%; padding: 6px; border-radius: 2px; text-transform: uppercase; letter-spacing: 0.5px; color: #ffffff; background-color: {{#switch:{{upper:{{{status|}}}}}|ORIGINAL=#2e7d32|MODERNIZED=#1565c0|REPLACED=#c62828|#default=#757575}};" | {{#switch: {{upper:{{{status|}}}}}
   
    | ORIGINAL = 🟢 Original System
    <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: {{#switch:{{upper:{{{status|}}}}}|ORIGINAL=#2e7d32|MODERNIZED=#1565c0|REPLACED=#c62828|#default=#757575}};">
    | MODERNIZED = 🔵 Modernized
        {{#switch: {{upper:{{{status|}}}}}|ORIGINAL=🟢 Original System|MODERNIZED=🔵 Modernized|REPLACED=🔴 Replaced / Scrapped|#default=Unknown Status}}
    | REPLACED = 🔴 Replaced / Scrapped
    </div>
    | #default = Unknown Status
 
  }}
    {{#if:{{{image|}}}|
|-
    <div class="infobox-image" style="text-align: center; border-bottom: 1px solid #eaecf0; padding: 8px 0;">
{{#if:{{{image|}}}|
        [[File:{{{image}}}|270px|center]]
{{!}} colspan="2" style="text-align: center; border-bottom: 1px solid #eaecf0; padding: 8px 0;" {{!}} [[Dosya:{{{image}}}|270px|center|{{{caption|}}}]]<br /><small style="color: #54595d;">{{{caption|}}}</small>
        {{#if:{{{caption|}}}|<br /><small style="color: #54595d;">{{{caption}}}</small>}}
}}
    </div>
|-
    }}
! colspan="2" style="background-color: #eaecf0; text-align: left; padding: 4px 6px; font-weight: bold; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1;" | Technical Specifications
 
|-
    <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>
! style="text-align: left; width: 45%; padding: 4px; vertical-align: top;" | Manufacturer
   
| style="padding: 4px; text-align: right;" | {{{manufacturer|-}}}
    <table class="infobox-table" style="width: 100%; border-collapse: collapse; margin-top: 2px;">
|-
        <tr>
! style="text-align: left; padding: 4px; vertical-align: top;" | Model / Series
            <th style="text-align: left; width: 45%; padding: 4px; vertical-align: top;">Manufacturer</th>
| style="padding: 4px; text-align: right;" | {{{model|-}}}
            <td style="padding: 4px; text-align: right;">{{{manufacturer|-}}}</td>
|-
        </tr>
! style="text-align: left; padding: 4px; vertical-align: top;" | Drive Type
        <tr>
| style="padding: 4px; text-align: right;" | {{{drive_type|-}}}
            <th style="text-align: left; padding: 4px; vertical-align: top;">Model / Series</th>
|-
            <td style="padding: 4px; text-align: right;">{{{model|-}}}</td>
! style="text-align: left; padding: 4px; vertical-align: top;" | Controller / Fixtures
        </tr>
| style="padding: 4px; text-align: right;" | {{{controller|-}}}
        <tr>
|-
            <th style="text-align: left; padding: 4px; vertical-align: top;">Drive Type</th>
! style="text-align: left; padding: 4px; vertical-align: top;" | Capacity
            <td style="padding: 4px; text-align: right;">{{{drive_type|-}}}</td>
| style="padding: 4px; text-align: right;" | {{{capacity|-}}}
        </tr>
|-
        <tr>
! style="text-align: left; padding: 4px; vertical-align: top;" | Speed
            <th style="text-align: left; padding: 4px; vertical-align: top;">Controller / Fixtures</th>
| style="padding: 4px; text-align: right;" | {{{speed|-}}}
            <td style="padding: 4px; text-align: right;">{{{controller|-}}}</td>
|-
        </tr>
! style="text-align: left; padding: 4px; vertical-align: top;" | Floors Served
        <tr>
| style="padding: 4px; text-align: right;" | {{{floors|-}}}
            <th style="text-align: left; padding: 4px; vertical-align: top;">Capacity</th>
|-
            <td style="padding: 4px; text-align: right;">{{{capacity|-}}}</td>
! colspan="2" style="background-color: #eaecf0; text-align: left; padding: 4px 6px; font-weight: bold; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1;" | History & Location
        </tr>
|-
        <tr>
! style="text-align: left; padding: 4px; vertical-align: top;" | Installed
            <th style="text-align: left; padding: 4px; vertical-align: top;">Speed</th>
| style="padding: 4px; text-align: right;" | {{{installation_year|-}}}
            <td style="padding: 4px; text-align: right;">{{{speed|-}}}</td>
|-
        </tr>
! style="text-align: left; padding: 4px; vertical-align: top;" | Modernized
        <tr>
| style="padding: 4px; text-align: right;" | {{{modernization_year|-}}} {{#if:{{{modernized_by|}}}| (by {{{modernized_by}}}) }}
            <th style="text-align: left; padding: 4px; vertical-align: top;">Floors Served</th>
|-
            <td style="padding: 4px; text-align: right;">{{{floors|-}}}</td>
! style="text-align: left; padding: 4px; vertical-align: top;" | Location
        </tr>
| style="padding: 4px; text-align: right;" | {{{location|-}}}
    </table>
|-
 
! colspan="2" style="background-color: #eaecf0; text-align: left; padding: 4px 6px; font-weight: bold; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1;" | Notes
    <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>
|-
   
| colspan="2" style="text-align: left; font-size: 90%; background-color: #f8f9fa; padding: 6px; font-style: italic; color: #54595d;" | {{{notes|-}}}
    <table class="infobox-table" style="width: 100%; border-collapse: collapse; margin-top: 2px;">
|}</includeonly><noinclude>
        <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>
<templatedata>
{
{
"params": {
"params": {
"name": {
"name": { "label": "Name", "type": "string", "suggested": true },
"label": "Name",
"status": { "label": "Status", "type": "string", "required": true, "suggested": true, "description": "ORIGINAL, MODERNIZED, or REPLACED" },
"type": "string",
"image": { "label": "Image", "type": "wiki-file-name", "suggested": true },
"required": false,
"caption": { "label": "Caption", "type": "string", "suggested": true },
"suggested": true
"manufacturer": { "label": "Manufacturer", "type": "string", "suggested": true },
},
"model": { "label": "Model / Series", "type": "string", "suggested": true },
"status": {
"drive_type": { "label": "Drive Type", "type": "string", "suggested": true },
"label": "Status",
"controller": { "label": "Controller / Fixtures", "type": "string", "suggested": true },
"type": "string",
"capacity": { "label": "Capacity", "type": "string", "suggested": true },
"required": true,
"speed": { "label": "Speed", "type": "string", "suggested": true },
"suggested": true,
"floors": { "label": "Floors Served", "type": "string", "suggested": true },
"description": "ORIGINAL, MODERNIZED, or REPLACED"
"installation_year": { "label": "Installation Year", "type": "string", "suggested": true },
},
"modernization_year": { "label": "Modernization Year", "type": "string", "suggested": true },
"image": {
"modernized_by": { "label": "Modernized By", "type": "string", "suggested": true },
"label": "Image",
"location": { "label": "Location", "type": "string", "suggested": true },
"type": "wiki-file-name",
"notes": { "label": "Notes", "type": "string", "suggested": true }
"required": false,
"suggested": true
},
"caption": {
"label": "Caption",
"type": "string",
"required": false,
"suggested": true
},
"manufacturer": {
"label": "Manufacturer",
"type": "string",
"required": false,
"suggested": true
},
"model": {
"label": "Model / Series",
"type": "string",
"required": false,
"suggested": true
},
"drive_type": {
"label": "Drive Type",
"type": "string",
"required": false,
"suggested": true
},
"controller": {
"label": "Controller / Fixtures",
"type": "string",
"required": false,
"suggested": true
},
"capacity": {
"label": "Capacity",
"type": "string",
"required": false,
"suggested": true
},
"speed": {
"label": "Speed",
"type": "string",
"required": false,
"suggested": true
},
"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.",
"description": "HTML syntax based infobox for documenting elevator systems.",
"format": "block"
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 21:40, 3 June 2026

Infobox elevator
       Unknown Status


Technical Specifications
Manufacturer -
Model / Series -
Drive Type -
Controller / Fixtures -
Capacity -
Speed -
Floors Served -
History & Location
Installed -
Modernized -
Location -
Notes
-

TemplateData

HTML syntax based infobox for documenting elevator systems.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Stringsuggested
Statusstatus

ORIGINAL, MODERNIZED, or REPLACED

Stringrequired
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