Jump to content

Template:Infobox elevator: Difference between revisions

From The Elevator Archive
No edit summary
Tag: Reverted
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<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;">
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
   
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}{{#if:{{{caption|}}}|<div class="infobox-caption"><small>{{{caption}}}</small></div>}}
    <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>
<table class="infobox-table">{{#if:{{{status|}}}|<tr>
 
     <th>Status</th>
    {{#if:{{{image|}}}|
     <td>{{{status}}}</td>
    <div class="infobox-image" style="text-align: center; border-bottom: 1px solid #eaecf0; padding: 8px 0;">
</tr>}}{{#if:{{{manufacturer|}}}|<tr>
        [[File:{{{image}}}|270px|center]]
    <th>Manufacturer</th>
        {{#if:{{{caption|}}}|<br /><small style="color: #54595d;">{{{caption}}}</small>}}
    <td>{{{manufacturer}}}</td>
    </div>
</tr>}}{{#if:{{{model|}}}|<tr>
    }}
    <th>Model / Series</th>
 
    <td>{{{model}}}</td>
    <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>
</tr>}}{{#if:{{{drive_type|}}}|<tr>
      
    <th>Drive Type</th>
     <table class="infobox-table" style="width: 100%; border-collapse: collapse; margin-top: 2px;">
    <td>{{{drive_type}}}</td>
        <tr>
</tr>}}{{#if:{{{controller|}}}|<tr>
            <th style="text-align: left; width: 45%; padding: 4px; vertical-align: top;">Manufacturer</th>
    <th>Controller / Fixtures</th>
            <td style="padding: 4px; text-align: right;">{{{manufacturer|-}}}</td>
    <td>{{{controller}}}</td>
        </tr>
</tr>}}{{#if:{{{capacity|}}}|<tr>
        <tr>
    <th>Capacity</th>
            <th style="text-align: left; padding: 4px; vertical-align: top;">Model / Series</th>
    <td>{{{capacity}}}</td>
            <td style="padding: 4px; text-align: right;">{{{model|-}}}</td>
</tr>}}{{#if:{{{speed|}}}|<tr>
        </tr>
    <th>Speed</th>
        <tr>
    <td>{{{speed}}}</td>
            <th style="text-align: left; padding: 4px; vertical-align: top;">Drive Type</th>
</tr>}}{{#if:{{{floors|}}}|<tr>
            <td style="padding: 4px; text-align: right;">{{{drive_type|-}}}</td>
    <th>Floors Served</th>
        </tr>
    <td>{{{floors}}}</td>
        <tr>
</tr>}}{{#if:{{{installation_year|}}}|<tr>
            <th style="text-align: left; padding: 4px; vertical-align: top;">Controller / Fixtures</th>
    <th>Installed</th>
            <td style="padding: 4px; text-align: right;">{{{controller|-}}}</td>
    <td>{{{installation_year}}}</td>
        </tr>
</tr>}}{{#if:{{{modernization_year|}}}|<tr>
        <tr>
    <th>Modernized</th>
            <th style="text-align: left; padding: 4px; vertical-align: top;">Capacity</th>
    <td>{{{modernization_year}}}{{#if:{{{modernized_by|}}}| (by {{{modernized_by}}})}}</td>
            <td style="padding: 4px; text-align: right;">{{{capacity|-}}}</td>
</tr>}}{{#if:{{{location|}}}|<tr>
        </tr>
    <th>Location</th>
        <tr>
    <td>{{{location}}}</td>
            <th style="text-align: left; padding: 4px; vertical-align: top;">Speed</th>
</tr>}}{{#if:{{{notes|}}}|<tr>
            <td style="padding: 4px; text-align: right;">{{{speed|-}}}</td>
     <th>Notes</th>
        </tr>
     <td>{{{notes}}}</td>
        <tr>
</tr>}}</table>
            <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>
</div><noinclude>
== TemplateData ==
== TemplateData ==
Line 45: Line 69:
"params": {
"params": {
"name": { "label": "Name", "type": "string", "suggested": true },
"name": { "label": "Name", "type": "string", "suggested": true },
"status": { "label": "Status", "type": "string", "suggested": true, "description": "🟢 Original System, 🔵 Modernized, or 🔴 Replaced" },
"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 61: Line 84:
"notes": { "label": "Notes", "type": "string", "suggested": true }
"notes": { "label": "Notes", "type": "string", "suggested": true }
},
},
"description": "Clean HTML infobox for elevator tracking.",
"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