Jump to content

Template:Infobox elevator: Difference between revisions

From The Elevator Archive
No edit summary
No edit summary
Line 3: Line 3:
     <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>
     <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>
      
      
     <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}};">
     <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: {{{status_color|#757575}}};">
         {{#switch: {{upper:{{{status|}}}}}|ORIGINAL=🟢 Original System|MODERNIZED=🔵 Modernized|REPLACED=🔴 Replaced / Scrapped|#default=Unknown Status}}
         {{{status|Unknown Status}}}
     </div>
     </div>


Line 73: Line 73:
"params": {
"params": {
"name": { "label": "Name", "type": "string", "suggested": true },
"name": { "label": "Name", "type": "string", "suggested": true },
"status": { "label": "Status", "type": "string", "required": true, "suggested": true, "description": "ORIGINAL, MODERNIZED, or REPLACED" },
"status": { "label": "Status Text", "type": "string", "suggested": true, "description": "e.g., 🟢 Original System, 🔵 Modernized, 🔴 Replaced" },
"status_color": { "label": "Status Color (HEX)", "type": "string", "suggested": true, "description": "Green: #2e7d32 | Blue: #1565c0 | Red: #c62828" },
"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 },

Revision as of 21:43, 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
Status Textstatus

e.g., 🟢 Original System, 🔵 Modernized, 🔴 Replaced

Stringsuggested
Status Color (HEX)status_color

Green: #2e7d32 | Blue: #1565c0 | Red: #c62828

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