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
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{TemplateData|
<templatedata>
{
{
"params": {
"params": {
Line 19: 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 without status bars.",
"description": "Infobox for documenting elevator systems.",
"format": "block"
"format": "block"
}
}
}}
</templatedata>
</noinclude><includeonly>
</noinclude><includeonly>{{Infobox
<div class="infobox" style="float:right; clear:right; margin:0 0 1em 1.5em; padding:0; border:1px solid #a2a9b1; background:#f8f9fa; font-size:88%; line-height:1.5em; width:22em;">
| child      = {{#ifeq:{{{embed|}}}|yes|yes}}
  <div style="background:#1a1a2e; color:#e8e4d0; text-align:center; padding:8px 12px; font-size:1.1em; font-weight:bold;">
| bodystyle  = float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; padding: 0.2em; background: #f8f9fa; width: 22em; font-size: 88%;
    {{#if:{{{name|}}} | {{{name}}} | Elevator }}
| autoheaders = yes
  </div>
| aboveclass  = fn org
  {{#if:{{{image|}}} |
| above      = {{if empty|{{{name|}}}|Elevator}}
  <div style="text-align:center; padding:6px 0 0;">
 
    [[File:{{{image}}}|260px|center|{{#if:{{{caption|}}}|{{{caption}}}|}}]]
| image1      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=250px|upright=1.1|alt={{{caption|}}}}}
  </div>
| caption1    = {{{caption|}}}
  }}
 
  {{#if:{{{caption|}}} |
| header2     = Technical Specifications
  <div style="text-align:center; font-size:0.85em; color:#555; padding:2px 8px 6px;">
 
    {{{caption}}}
| label3      = Manufacturer
  </div>
|  data3      = {{{manufacturer|}}}
  }}
 
  {{#if:{{{manufacturer|}}}{{{model|}}}{{{drive_type|}}}{{{controller|}}} |
| label4      = Model / Series
  <table style="width:100%; border-collapse:collapse;">
|  data4      = {{{model|}}}
     <tr>
 
      <th colspan="2" style="background:#2a2a4a; color:#c8c4b0; font-size:0.8em; letter-spacing:0.05em; text-transform:uppercase; padding:4px 8px; text-align:left;">
| label5      = Drive Type
        Technical Specifications
|  data5      = {{{drive_type|}}}
      </th>
 
    </tr>
| label6      = Controller / Fixtures
    {{#if:{{{manufacturer|}}} |
|  data6      = {{{controller|}}}
    <tr>
 
      <td style="padding:4px 8px; color:#555; width:45%; border-top:1px solid #eaecf0;">Manufacturer</td>
| header7     = Performance
      <td style="padding:4px 8px; border-top:1px solid #eaecf0;">{{{manufacturer}}}</td>
 
    </tr>
| label8      = Capacity
    }}
|  data8      = {{{capacity|}}}
    {{#if:{{{model|}}} |
 
    <tr>
| label9      = Speed
      <td style="padding:4px 8px; color:#555; border-top:1px solid #eaecf0;">Model / Series</td>
|  data9      = {{{speed|}}}
      <td style="padding:4px 8px; border-top:1px solid #eaecf0;">{{{model}}}</td>
 
    </tr>
| label10     = Floors Served
    }}
|  data10    = {{{floors|}}}
    {{#if:{{{drive_type|}}} |
 
    <tr>
| header11    = History
      <td style="padding:4px 8px; color:#555; border-top:1px solid #eaecf0;">Drive Type</td>
 
      <td style="padding:4px 8px; border-top:1px solid #eaecf0;">{{{drive_type}}}</td>
| label12     = Installation Year
    </tr>
|  data12    = {{{installation_year|}}}
    }}
 
    {{#if:{{{controller|}}} |
| label13     = Modernization Year
    <tr>
|  data13     = {{{modernization_year|}}}
      <td style="padding:4px 8px; color:#555; border-top:1px solid #eaecf0;">Controller / Fixtures</td>
 
      <td style="padding:4px 8px; border-top:1px solid #eaecf0;">{{{controller}}}</td>
| label14     = Modernized By
    </tr>
|  data14    = {{{modernized_by|}}}
    }}
 
  </table>
| label15     = Location
  }}
|  data15     = {{{location|}}}
  {{#if:{{{capacity|}}}{{{speed|}}}{{{floors|}}} |
 
  <table style="width:100%; border-collapse:collapse;">
| rowclass16  = note
     <tr>
|  data16    = {{{notes|}}}
      <th colspan="2" style="background:#2a2a4a; color:#c8c4b0; font-size:0.8em; letter-spacing:0.05em; text-transform:uppercase; padding:4px 8px; text-align:left;">
}}{{#invoke:Check for unknown parameters|check
        Performance
| unknown     = [[Category:Pages using infobox elevator with unknown parameters|_VALUE_{{PAGENAME}}]]
      </th>
| preview     = Page using [[Template:Infobox elevator]] with unknown parameter "_VALUE_"
    </tr>
| ignoreblank = y
    {{#if:{{{capacity|}}} |
| embed | name | image | image_size | caption
    <tr>
| manufacturer | model | drive_type | controller
      <td style="padding:4px 8px; color:#555; width:45%; border-top:1px solid #eaecf0;">Capacity</td>
| capacity | speed | floors
      <td style="padding:4px 8px; border-top:1px solid #eaecf0;">{{{capacity}}}</td>
| installation_year | modernization_year | modernized_by | location
    </tr>
| notes
    }}
}}</includeonly>
    {{#if:{{{speed|}}} |
    <tr>
      <td style="padding:4px 8px; color:#555; border-top:1px solid #eaecf0;">Speed</td>
      <td style="padding:4px 8px; border-top:1px solid #eaecf0;">{{{speed}}}</td>
    </tr>
    }}
    {{#if:{{{floors|}}} |
     <tr>
      <td style="padding:4px 8px; color:#555; border-top:1px solid #eaecf0;">Floors Served</td>
      <td style="padding:4px 8px; border-top:1px solid #eaecf0;">{{{floors}}}</td>
    </tr>
    }}
  </table>
  }}
  {{#if:{{{installation_year|}}}{{{modernization_year|}}}{{{modernized_by|}}}{{{location|}}} |
  <table style="width:100%; border-collapse:collapse;">
    <tr>
      <th colspan="2" style="background:#2a2a4a; color:#c8c4b0; font-size:0.8em; letter-spacing:0.05em; text-transform:uppercase; padding:4px 8px; text-align:left;">
        History
      </th>
    </tr>
    {{#if:{{{installation_year|}}} |
     <tr>
      <td style="padding:4px 8px; color:#555; width:45%; border-top:1px solid #eaecf0;">Installation Year</td>
      <td style="padding:4px 8px; border-top:1px solid #eaecf0;">{{{installation_year}}}</td>
    </tr>
     }}
     {{#if:{{{modernization_year|}}} |
     <tr>
      <td style="padding:4px 8px; color:#555; border-top:1px solid #eaecf0;">Modernization Year</td>
      <td style="padding:4px 8px; border-top:1px solid #eaecf0;">{{{modernization_year}}}</td>
    </tr>
     }}
     {{#if:{{{modernized_by|}}} |
    <tr>
      <td style="padding:4px 8px; color:#555; border-top:1px solid #eaecf0;">Modernized By</td>
      <td style="padding:4px 8px; border-top:1px solid #eaecf0;">{{{modernized_by}}}</td>
    </tr>
    }}
    {{#if:{{{location|}}} |
     <tr>
      <td style="padding:4px 8px; color:#555; border-top:1px solid #eaecf0;">Location</td>
      <td style="padding:4px 8px; border-top:1px solid #eaecf0;">{{{location}}}</td>
     </tr>
    }}
  </table>
  }}
  {{#if:{{{notes|}}} |
  <div style="border-top:1px solid #eaecf0; padding:6px 10px; font-size:0.9em; color:#444;">
    {{{notes}}}
  </div>
  }}
</div>
</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