Predloga:Projekt-pregled/en: Razlika med redakcijama
nova stran z vsebino: »<!-- ===== START: PROJECT OVERVIEW ===== --> <div style="margin:20px auto 30px auto;width:{{{sirina|900px}}};max-width:100%;background:#f8f9fb;border:1px solid #ECECEC;border-radius:8px;overflow:hidden;"> <div style="display:flex;flex-wrap:wrap;align-items:stretch;"> <!-- ===== IMAGE ===== --> <div style="flex:1;min-width:320px;overflow:hidden;padding:20px 10px;"> <div style="position:relative;left:{{{image-x|0}}}px;top:{{{image-y|0}}}px;text-align:center;"> Fil...« |
Brez povzetka urejanja |
||
| Vrstica 42: | Vrstica 42: | ||
</div> | </div> | ||
<!-- ===== END: PROJECT OVERVIEW ===== --> | <!-- ===== END: PROJECT OVERVIEW ===== --> | ||
<noinclude> | |||
---- | |||
'''Documentation:''' [[Predloga:Projekt-pregled/en/dok|View template documentation]] | |||
<templatedata> | |||
{ | |||
"params": { | |||
"sirina": { | |||
"label": "Block width", | |||
"description": "Overall width of the project overview.", | |||
"type": "content", | |||
"default": "900px" | |||
}, | |||
"image-x": { | |||
"label": "Horizontal image offset", | |||
"description": "Moves the image left or right in pixels. A negative value moves the image to the left.", | |||
"type": "number", | |||
"default": "0" | |||
}, | |||
"image-y": { | |||
"label": "Vertical image offset", | |||
"description": "Moves the image up or down in pixels. A negative value moves the image upward.", | |||
"type": "number", | |||
"default": "0" | |||
}, | |||
"image1": { | |||
"label": "Project image", | |||
"description": "Main project image. Enter the file name without the File: prefix.", | |||
"type": "wiki-file-name", | |||
"required": true | |||
}, | |||
"slika": { | |||
"label": "Image width", | |||
"description": "Width of the displayed image in pixels.", | |||
"type": "number", | |||
"default": "500" | |||
}, | |||
"opis": { | |||
"label": "Project description", | |||
"description": "Short summary of the project, its purpose, and the making process.", | |||
"type": "content", | |||
"required": true | |||
}, | |||
"tezavnost": { | |||
"label": "Difficulty", | |||
"description": "Estimated project difficulty.", | |||
"type": "content", | |||
"suggestedvalues": [ | |||
"Easy", | |||
"Medium", | |||
"Hard" | |||
], | |||
"required": true | |||
}, | |||
"cas": { | |||
"label": "Completion time", | |||
"description": "Estimated time required to complete the project.", | |||
"type": "content", | |||
"required": true | |||
}, | |||
"cena": { | |||
"label": "Cost", | |||
"description": "Estimated material or production cost in EUR.", | |||
"type": "content", | |||
"required": true | |||
}, | |||
"labi": { | |||
"label": "Labs", | |||
"description": "Labs required to complete the project.", | |||
"type": "content", | |||
"required": true, | |||
"suggestedvalues": [ | |||
"FabLab", | |||
"Textile Lab", | |||
"Wood Lab", | |||
"Metal Lab", | |||
"Green Lab", | |||
"Ceramics Lab", | |||
"Glass Lab", | |||
"Jewelry Lab", | |||
"Food Lab" | |||
] | |||
} | |||
}, | |||
"description": "Template for displaying a project overview with an image, description, and key specifications such as difficulty, completion time, cost, and required labs.", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Redakcija: 08:37, 27. avgust 2026
Documentation: View template documentation
Template for displaying a project overview with an image, description, and key specifications such as difficulty, completion time, cost, and required labs.
| Parameter | Opis | Vrsta | Stanje | |
|---|---|---|---|---|
| Block width | sirina | Overall width of the project overview.
| Vsebina | neobvezno |
| Horizontal image offset | image-x | Moves the image left or right in pixels. A negative value moves the image to the left.
| Številka | neobvezno |
| Vertical image offset | image-y | Moves the image up or down in pixels. A negative value moves the image upward.
| Številka | neobvezno |
| Project image | image1 | Main project image. Enter the file name without the File: prefix. | Datoteka | zahtevano |
| Image width | slika | Width of the displayed image in pixels.
| Številka | neobvezno |
| Project description | opis | Short summary of the project, its purpose, and the making process. | Vsebina | zahtevano |
| Difficulty | tezavnost | Estimated project difficulty.
| Vsebina | zahtevano |
| Completion time | cas | Estimated time required to complete the project. | Vsebina | zahtevano |
| Cost | cena | Estimated material or production cost in EUR. | Vsebina | zahtevano |
| Labs | labi | Labs required to complete the project.
| Vsebina | zahtevano |
