Template:Infobox elevator: Difference between revisions

No edit summary
No edit summary
Line 2: Line 2:
|+ 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}}}}}
|+ 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}}}}}
|-
|-
| colspan="2" style="text-align: center; font-weight: bold; font-size: 110%; padding: 6px; border-radius: 2px; text-transform: uppercase; letter-spacing: 0.5px;
| 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|}}}}}
  {{#switch: {{upper:{{{status|}}}}}
    | ORIGINAL = background-color: #2e7d32; color: #ffffff;
    | MODERNIZED = background-color: #1565c0; color: #ffffff;
    | REPLACED = background-color: #c62828; color: #ffffff;
    | #default = background-color: #757575; color: #ffffff;
  }}" | {{#switch: {{upper:{{{status|}}}}}
     | ORIGINAL = 🟢 Original System
     | ORIGINAL = 🟢 Original System
     | MODERNIZED = 🔵 Modernized
     | MODERNIZED = 🔵 Modernized
Line 56: Line 50:
|-
|-
| colspan="2" style="text-align: left; font-size: 90%; background-color: #f8f9fa; padding: 6px; font-style: italic; color: #54595d;" | {{{notes|-}}}
| colspan="2" style="text-align: left; font-size: 90%; background-color: #f8f9fa; padding: 6px; font-style: italic; color: #54595d;" | {{{notes|-}}}
|}</includeonly>
|}</includeonly><noinclude>
== TemplateData ==
<templatedata>
{
"params": {
"name": {
"label": "Name",
"type": "string",
"required": false,
"suggested": true
},
"status": {
"label": "Status",
"type": "string",
"required": true,
"suggested": true,
"description": "ORIGINAL, MODERNIZED, or REPLACED"
},
"image": {
"label": "Image",
"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.",
"format": "block"
}
</templatedata>
</noinclude>