Template:Infobox elevator: Difference between revisions
More actions
TurkishLifts (talk | contribs) No edit summary |
TurkishLifts (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
< | <noinclude> | ||
{{TemplateData| | |||
{ | { | ||
"params": { | "params": { | ||
| Line 87: | Line 22: | ||
"format": "block" | "format": "block" | ||
} | } | ||
</ | }} | ||
</ | </noinclude><includeonly> | ||
<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;"> | |||
<div style="background:#1a1a2e; color:#e8e4d0; text-align:center; padding:8px 12px; font-size:1.1em; font-weight:bold;"> | |||
{{#if:{{{name|}}} | {{{name}}} | Elevator }} | |||
</div> | |||
{{#if:{{{image|}}} | | |||
<div style="text-align:center; padding:6px 0 0;"> | |||
[[File:{{{image}}}|260px|center|{{#if:{{{caption|}}}|{{{caption}}}|}}]] | |||
</div> | |||
}} | |||
{{#if:{{{caption|}}} | | |||
<div style="text-align:center; font-size:0.85em; color:#555; padding:2px 8px 6px;"> | |||
{{{caption}}} | |||
</div> | |||
}} | |||
{{#if:{{{manufacturer|}}}{{{model|}}}{{{drive_type|}}}{{{controller|}}} | | |||
<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;"> | |||
Technical Specifications | |||
</th> | |||
</tr> | |||
{{#if:{{{manufacturer|}}} | | |||
<tr> | |||
<td style="padding:4px 8px; color:#555; width:45%; border-top:1px solid #eaecf0;">Manufacturer</td> | |||
<td style="padding:4px 8px; border-top:1px solid #eaecf0;">{{{manufacturer}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{model|}}} | | |||
<tr> | |||
<td style="padding:4px 8px; color:#555; border-top:1px solid #eaecf0;">Model / Series</td> | |||
<td style="padding:4px 8px; border-top:1px solid #eaecf0;">{{{model}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{drive_type|}}} | | |||
<tr> | |||
<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> | |||
</tr> | |||
}} | |||
{{#if:{{{controller|}}} | | |||
<tr> | |||
<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> | |||
</tr> | |||
}} | |||
</table> | |||
}} | |||
{{#if:{{{capacity|}}}{{{speed|}}}{{{floors|}}} | | |||
<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;"> | |||
Performance | |||
</th> | |||
</tr> | |||
{{#if:{{{capacity|}}} | | |||
<tr> | |||
<td style="padding:4px 8px; color:#555; width:45%; border-top:1px solid #eaecf0;">Capacity</td> | |||
<td style="padding:4px 8px; border-top:1px solid #eaecf0;">{{{capacity}}}</td> | |||
</tr> | |||
}} | |||
{{#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> | |||
Revision as of 17:31, 4 June 2026
[view] [edit] [history] [purge]
TemplateData for Infobox elevator
{ "params": { "name": { "label": "Name", "type": "string", "suggested": true }, "image": { "label": "Image", "type": "wiki-file-name", "suggested": true }, "caption": { "label": "Caption", "type": "string", "suggested": true }, "manufacturer": { "label": "Manufacturer", "type": "string", "suggested": true }, "model": { "label": "Model / Series", "type": "string", "suggested": true }, "drive_type": { "label": "Drive Type", "type": "string", "suggested": true }, "controller": { "label": "Controller / Fixtures", "type": "string", "suggested": true }, "capacity": { "label": "Capacity", "type": "string", "suggested": true }, "speed": { "label": "Speed", "type": "string", "suggested": true }, "floors": { "label": "Floors Served", "type": "string", "suggested": true }, "installation_year": { "label": "Installation Year", "type": "string", "suggested": true }, "modernization_year": { "label": "Modernization Year", "type": "string", "suggested": true }, "modernized_by": { "label": "Modernized By", "type": "string", "suggested": true }, "location": { "label": "Location", "type": "string", "suggested": true }, "notes": { "label": "Notes", "type": "string", "suggested": true } }, "description": "HTML syntax based infobox for documenting elevator systems without status bars.", "format": "block" }