Template:Infobox elevator: Difference between revisions

Undo revision 26 by TurkishLifts (talk)
Tag: Undo
No edit summary
 
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" 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-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: 5px;">{{{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: {{{status_color|#757575}}};">
        {{{status|Unknown Status}}}
    </div>


     {{#if:{{{image|}}}|
     {{#if:{{{image|}}}|
Line 73: Line 69:
"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_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 84:
"notes": { "label": "Notes", "type": "string", "suggested": true }
"notes": { "label": "Notes", "type": "string", "suggested": true }
},
},
"description": "HTML syntax based infobox for documenting elevator systems.",
"description": "HTML syntax based infobox for documenting elevator systems without status bars.",
"format": "block"
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>