Template:Infobox elevator: Difference between revisions
Appearance
TurkishLifts (talk | contribs) No edit summary |
TurkishLifts (talk | contribs) No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<div class="infobox | <div class="infobox"> | ||
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | |||
<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> | |||
<th>Status</th> | |||
<td>{{{status}}}</td> | |||
</tr>}}{{#if:{{{manufacturer|}}}|<tr> | |||
<th>Manufacturer</th> | |||
<td>{{{manufacturer}}}</td> | |||
</tr>}}{{#if:{{{model|}}}|<tr> | |||
<th>Model / Series</th> | |||
<td>{{{model}}}</td> | |||
</tr>}}{{#if:{{{drive_type|}}}|<tr> | |||
<th>Drive Type</th> | |||
<td>{{{drive_type}}}</td> | |||
</tr>}}{{#if:{{{controller|}}}|<tr> | |||
<th>Controller / Fixtures</th> | |||
<td>{{{controller}}}</td> | |||
</tr>}}{{#if:{{{capacity|}}}|<tr> | |||
<th>Capacity</th> | |||
<td>{{{capacity}}}</td> | |||
</tr>}}{{#if:{{{speed|}}}|<tr> | |||
<th>Speed</th> | |||
<td>{{{speed}}}</td> | |||
</tr>}}{{#if:{{{floors|}}}|<tr> | |||
<th>Floors Served</th> | |||
<td>{{{floors}}}</td> | |||
</tr>}}{{#if:{{{installation_year|}}}|<tr> | |||
<th>Installed</th> | |||
<td>{{{installation_year}}}</td> | |||
</tr>}}{{#if:{{{modernization_year|}}}|<tr> | |||
<th>Modernized</th> | |||
<td>{{{modernization_year}}}{{#if:{{{modernized_by|}}}| (by {{{modernized_by}}})}}</td> | |||
</tr>}}{{#if:{{{location|}}}|<tr> | |||
<th>Location</th> | |||
<td>{{{location}}}</td> | |||
</tr>}}{{#if:{{{notes|}}}|<tr> | |||
<th>Notes</th> | |||
<td>{{{notes}}}</td> | |||
</tr>}}</table> | |||
< | |||
< | |||
</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 | "status": { "label": "Status", "type": "string", "suggested": true, "description": "🟢 Original System, 🔵 Modernized, or 🔴 Replaced" }, | ||
"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 | "description": "Clean HTML infobox for elevator tracking.", | ||
"format": "block" | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 21:45, 3 June 2026
Infobox elevator
TemplateData
Clean HTML infobox for elevator tracking.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | String | suggested |
| Status | status | 🟢 Original System, 🔵 Modernized, or 🔴 Replaced | String | suggested |
| Image | image | no description | File | suggested |
| Caption | caption | no description | String | suggested |
| Manufacturer | manufacturer | no description | String | suggested |
| Model / Series | model | no description | String | suggested |
| Drive Type | drive_type | no description | String | suggested |
| Controller / Fixtures | controller | no description | String | suggested |
| Capacity | capacity | no description | String | suggested |
| Speed | speed | no description | String | suggested |
| Floors Served | floors | no description | String | suggested |
| Installation Year | installation_year | no description | String | suggested |
| Modernization Year | modernization_year | no description | String | suggested |
| Modernized By | modernized_by | no description | String | suggested |
| Location | location | no description | String | suggested |
| Notes | notes | no description | String | suggested |