Jump to content

Template:Infobox elevator: Difference between revisions

From The Elevator Archive
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
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: 5px;">{{{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
     {{#if:{{{image|}}}|
    | MODERNIZED = 🔵 Modernized
    <div class="infobox-image" style="text-align: center; border-bottom: 1px solid #eaecf0; padding: 8px 0;">
    | REPLACED = 🔴 Replaced / Scrapped
        [[File:{{{image}}}|270px|center]]
     | #default = Unknown Status
        {{#if:{{{caption|}}}|<br /><small style="color: #54595d;">{{{caption}}}</small>}}
  }}
    </div>
|-
    }}
{{#if:{{{image|}}}|
 
{{!}} 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>
    <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;">
! 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
        <tr>
|-
            <th style="text-align: left; width: 45%; padding: 4px; vertical-align: top;">Manufacturer</th>
! style="text-align: left; width: 45%; padding: 4px; vertical-align: top;" | Manufacturer
            <td style="padding: 4px; text-align: right;">{{{manufacturer|-}}}</td>
| style="padding: 4px; text-align: right;" | {{{manufacturer|-}}}
        </tr>
|-
        <tr>
! style="text-align: left; padding: 4px; vertical-align: top;" | Model / Series
            <th style="text-align: left; padding: 4px; vertical-align: top;">Model / Series</th>
| style="padding: 4px; text-align: right;" | {{{model|-}}}
            <td style="padding: 4px; text-align: right;">{{{model|-}}}</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;">Drive Type</th>
|-
            <td style="padding: 4px; text-align: right;">{{{drive_type|-}}}</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;">Controller / Fixtures</th>
! style="text-align: left; padding: 4px; vertical-align: top;" | Capacity
            <td style="padding: 4px; text-align: right;">{{{controller|-}}}</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;">Capacity</th>
| style="padding: 4px; text-align: right;" | {{{speed|-}}}
            <td style="padding: 4px; text-align: right;">{{{capacity|-}}}</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;">Speed</th>
|-
            <td style="padding: 4px; text-align: right;">{{{speed|-}}}</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;">Floors Served</th>
| style="padding: 4px; text-align: right;" | {{{installation_year|-}}}
            <td style="padding: 4px; text-align: right;">{{{floors|-}}}</td>
|-
        </tr>
! style="text-align: left; padding: 4px; vertical-align: top;" | Modernized
    </table>
| style="padding: 4px; text-align: right;" | {{{modernization_year|-}}} {{#if:{{{modernized_by|}}}| (by {{{modernized_by}}}) }}
 
|-
    <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>
! style="text-align: left; padding: 4px; vertical-align: top;" | Location
   
| style="padding: 4px; text-align: right;" | {{{location|-}}}
    <table class="infobox-table" style="width: 100%; border-collapse: collapse; margin-top: 2px;">
|-
        <tr>
! 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
            <th style="text-align: left; width: 45%; padding: 4px; vertical-align: top;">Installed</th>
|-
            <td style="padding: 4px; text-align: right;">{{{installation_year|-}}}</td>
| colspan="2" style="text-align: left; font-size: 90%; background-color: #f8f9fa; padding: 6px; font-style: italic; color: #54595d;" | {{{notes|-}}}
        </tr>
|}</includeonly><noinclude>
        <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",
"image": { "label": "Image", "type": "wiki-file-name", "suggested": true },
"type": "string",
"caption": { "label": "Caption", "type": "string", "suggested": true },
"required": false,
"manufacturer": { "label": "Manufacturer", "type": "string", "suggested": true },
"suggested": true
"model": { "label": "Model / Series", "type": "string", "suggested": true },
},
"drive_type": { "label": "Drive Type", "type": "string", "suggested": true },
"status": {
"controller": { "label": "Controller / Fixtures", "type": "string", "suggested": true },
"label": "Status",
"capacity": { "label": "Capacity", "type": "string", "suggested": true },
"type": "string",
"speed": { "label": "Speed", "type": "string", "suggested": true },
"required": true,
"floors": { "label": "Floors Served", "type": "string", "suggested": true },
"suggested": true,
"installation_year": { "label": "Installation Year", "type": "string", "suggested": true },
"description": "ORIGINAL, MODERNIZED, or REPLACED"
"modernization_year": { "label": "Modernization Year", "type": "string", "suggested": true },
},
"modernized_by": { "label": "Modernized By", "type": "string", "suggested": true },
"image": {
"location": { "label": "Location", "type": "string", "suggested": true },
"label": "Image",
"notes": { "label": "Notes", "type": "string", "suggested": true }
"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
},
"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 without status bars.",
"format": "block"
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 21:45, 3 June 2026

Infobox elevator


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 without status bars.

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