Jump to content

Template:Infobox elevator: Difference between revisions

From The Elevator Archive
Created page with "<infobox theme="elevator"> <title source="name"><default>{{PAGENAME}}</default></title> <header class="status-header status-{{#if:{{{status|}}}|{{lower:{{{status}}}}}|unknown}}"> {{#switch: {{upper:{{{status|}}}}} | ORIGINAL = 🟢 Original System | MODERNIZED = 🔵 Modernized | REPLACED = 🔴 Replaced / Scrapped | #default = Unknown Status }} </header> <image source="image"> <cap..."
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<infobox theme="elevator">
<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;">
     <title source="name"><default>{{PAGENAME}}</default></title>
   
     <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>


     <header class="status-header status-{{#if:{{{status|}}}|{{lower:{{{status}}}}}|unknown}}">
     {{#if:{{{image|}}}|
         {{#switch: {{upper:{{{status|}}}}}
    <div class="infobox-image" style="text-align: center; border-bottom: 1px solid #eaecf0; padding: 8px 0;">
            | ORIGINAL = 🟢 Original System
        [[File:{{{image}}}|270px|center]]
            | MODERNIZED = 🔵 Modernized
         {{#if:{{{caption|}}}|<br /><small style="color: #54595d;">{{{caption}}}</small>}}
            | REPLACED = 🔴 Replaced / Scrapped
     </div>
            | #default = Unknown Status
    }}
        }}
     </header>


     <image source="image">
     <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>
         <caption source="caption"/>
   
     </image>
    <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>


     <group>
     <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>
        <header>Technical Specifications</header>
   
        <data source="manufacturer">
    <table class="infobox-table" style="width: 100%; border-collapse: collapse; margin-top: 2px;">
            <label>Manufacturer</label>
         <tr>
         </data>
            <th style="text-align: left; width: 45%; padding: 4px; vertical-align: top;">Installed</th>
        <data source="model">
            <td style="padding: 4px; text-align: right;">{{{installation_year|-}}}</td>
            <label>Model / Series</label>
         </tr>
        </data>
         <tr>
        <data source="drive_type">
             <th style="text-align: left; padding: 4px; vertical-align: top;">Modernized</th>
            <label>Drive Type</label>
            <td style="padding: 4px; text-align: right;">{{{modernization_year|-}}} {{#if:{{{modernized_by|}}}| (by {{{modernized_by}}}) }}</td>
         </data>
         </tr>
         <data source="controller">
         <tr>
             <label>Controller / Fixtures</label>
             <th style="text-align: left; padding: 4px; vertical-align: top;">Location</th>
        </data>
            <td style="padding: 4px; text-align: right;">{{{location|-}}}</td>
        <data source="capacity">
         </tr>
            <label>Capacity</label>
     </table>
         </data>
         <data source="speed">
             <label>Speed</label>
        </data>
        <data source="floors">
            <label>Floors Served</label>
         </data>
     </group>


     <group>
     <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>
        <header>History & Location</header>
    <div style="text-align: left; font-size: 90%; padding: 6px; font-style: italic; color: #54595d;">{{{notes|-}}}</div>
        <data source="installation_year">
            <label>Installed</label>
        </data>
        <data source="modernization_year">
            <label>Modernized</label>
            <format>{{{modernization_year}}} {{#if:{{{modernized_by|}}}| (by {{{modernized_by}}}) }}</format>
        </data>
        <data source="location">
            <label>Location</label>
        </data>
    </group>


    <group collapse="open">
</div><noinclude>
        <header>Notes</header>
== TemplateData ==
        <data source="notes">
<templatedata>
            <format>''{{{notes}}}''</format>
{
        </data>
"params": {
    </group>
"name": { "label": "Name", "type": "string", "suggested": true },
</infobox>
"image": { "label": "Image", "type": "wiki-file-name", "suggested": true },
<noinclude>
"caption": { "label": "Caption", "type": "string", "suggested": true },
== Usage ==
"manufacturer": { "label": "Manufacturer", "type": "string", "suggested": true },
<pre>
"model": { "label": "Model / Series", "type": "string", "suggested": true },
{{Infobox_elevator
"drive_type": { "label": "Drive Type", "type": "string", "suggested": true },
| name               =
"controller": { "label": "Controller / Fixtures", "type": "string", "suggested": true },
| status            = | image             =
"capacity": { "label": "Capacity", "type": "string", "suggested": true },
| caption           =
"speed": { "label": "Speed", "type": "string", "suggested": true },
| manufacturer       =
"floors": { "label": "Floors Served", "type": "string", "suggested": true },
| model             =
"installation_year": { "label": "Installation Year", "type": "string", "suggested": true },
| drive_type         =
"modernization_year": { "label": "Modernization Year", "type": "string", "suggested": true },
| controller         =
"modernized_by": { "label": "Modernized By", "type": "string", "suggested": true },
| capacity           =
"location": { "label": "Location", "type": "string", "suggested": true },
| speed             =
"notes": { "label": "Notes", "type": "string", "suggested": true }
| floors             =
},
| installation_year =
"description": "HTML syntax based infobox for documenting elevator systems without status bars.",
| modernization_year =
"format": "block"
| modernized_by     =
}
| location           =
</templatedata>
| notes             =
}}
</pre>
[[Category:Infobox templates]]
</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