|
|
| Line 1: |
Line 1: |
| <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"> |
|
| | <div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| |
| <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-image">[[File:{{{image}}}|300px]]</div>}}{{#if:{{{caption|}}}|<div class="infobox-caption"><small>{{{caption}}}</small></div>}} |
|
| | <table class="infobox-table">{{#if:{{{status|}}}|<tr> |
| <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}}};">
| | <th>Status</th> |
| {{{status|Unknown Status}}}
| | <td>{{{status}}}</td> |
| </div>
| | </tr>}}{{#if:{{{manufacturer|}}}|<tr> |
| | | <th>Manufacturer</th> |
| {{#if:{{{image|}}}|
| | <td>{{{manufacturer}}}</td> |
| <div class="infobox-image" style="text-align: center; border-bottom: 1px solid #eaecf0; padding: 8px 0;">
| | </tr>}}{{#if:{{{model|}}}|<tr> |
| [[File:{{{image}}}|270px|center]]
| | <th>Model / Series</th> |
| {{#if:{{{caption|}}}|<br /><small style="color: #54595d;">{{{caption}}}</small>}}
| | <td>{{{model}}}</td> |
| </div>
| | </tr>}}{{#if:{{{drive_type|}}}|<tr> |
| }}
| | <th>Drive Type</th> |
| | | <td>{{{drive_type}}}</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:{{{controller|}}}|<tr> |
| | | <th>Controller / Fixtures</th> |
| <table class="infobox-table" style="width: 100%; border-collapse: collapse; margin-top: 2px;">
| | <td>{{{controller}}}</td> |
| <tr>
| | </tr>}}{{#if:{{{capacity|}}}|<tr> |
| <th style="text-align: left; width: 45%; padding: 4px; vertical-align: top;">Manufacturer</th>
| | <th>Capacity</th> |
| <td style="padding: 4px; text-align: right;">{{{manufacturer|-}}}</td>
| | <td>{{{capacity}}}</td> |
| </tr>
| | </tr>}}{{#if:{{{speed|}}}|<tr> |
| <tr>
| | <th>Speed</th> |
| <th style="text-align: left; padding: 4px; vertical-align: top;">Model / Series</th>
| | <td>{{{speed}}}</td> |
| <td style="padding: 4px; text-align: right;">{{{model|-}}}</td>
| | </tr>}}{{#if:{{{floors|}}}|<tr> |
| </tr>
| | <th>Floors Served</th> |
| <tr>
| | <td>{{{floors}}}</td> |
| <th style="text-align: left; padding: 4px; vertical-align: top;">Drive Type</th>
| | </tr>}}{{#if:{{{installation_year|}}}|<tr> |
| <td style="padding: 4px; text-align: right;">{{{drive_type|-}}}</td>
| | <th>Installed</th> |
| </tr>
| | <td>{{{installation_year}}}</td> |
| <tr>
| | </tr>}}{{#if:{{{modernization_year|}}}|<tr> |
| <th style="text-align: left; padding: 4px; vertical-align: top;">Controller / Fixtures</th>
| | <th>Modernized</th> |
| <td style="padding: 4px; text-align: right;">{{{controller|-}}}</td>
| | <td>{{{modernization_year}}}{{#if:{{{modernized_by|}}}| (by {{{modernized_by}}})}}</td> |
| </tr>
| | </tr>}}{{#if:{{{location|}}}|<tr> |
| <tr>
| | <th>Location</th> |
| <th style="text-align: left; padding: 4px; vertical-align: top;">Capacity</th>
| | <td>{{{location}}}</td> |
| <td style="padding: 4px; text-align: right;">{{{capacity|-}}}</td>
| | </tr>}}{{#if:{{{notes|}}}|<tr> |
| </tr>
| | <th>Notes</th> |
| <tr>
| | <td>{{{notes}}}</td> |
| <th style="text-align: left; padding: 4px; vertical-align: top;">Speed</th>
| | </tr>}}</table> |
| <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>
| |
| | |
| <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 73: |
Line 45: |
| "params": { | | "params": { |
| "name": { "label": "Name", "type": "string", "suggested": true }, | | "name": { "label": "Name", "type": "string", "suggested": true }, |
| "status": { "label": "Status Text", "type": "string", "suggested": true, "description": "e.g., 🟢 Original System, 🔵 Modernized, 🔴 Replaced" }, | | "status": { "label": "Status", "type": "string", "suggested": true, "description": "🟢 Original System, 🔵 Modernized, or 🔴 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 }, |
| Line 90: |
Line 61: |
| "notes": { "label": "Notes", "type": "string", "suggested": true } | | "notes": { "label": "Notes", "type": "string", "suggested": true } |
| }, | | }, |
| "description": "HTML syntax based infobox for documenting elevator systems.", | | "description": "Clean HTML infobox for elevator tracking.", |
| "format": "block" | | "format": "block" |
| } | | } |
| </templatedata> | | </templatedata> |
| </noinclude> | | </noinclude> |