Predloga:Projekt-pregled/en/doc: Razlika med redakcijama
Videz
nova stran z vsebino: »<div style="margin-bottom:16px;"> <span style=" background:#2c3e50; color:white; padding:6px 12px; border-radius:20px; font-size:13px; font-weight:bold; ">Projekt-pregled</span> • SL • Back to templates </div> <div style="margin:8px 0 16px 0;"> Project overview block with a featured image, description, and key project specifications. </div> <div style="display:flex;gap:12px;align-items:flex-start;fl...« |
Brez povzetka urejanja |
||
| (Ena vmesna redakcija istega uporabnika ni prikazana) | |||
| Vrstica 114: | Vrstica 114: | ||
Notes | Notes | ||
</div> | </div> | ||
<ul style="font-size:12px;"> | <ul style="font-size:12px;"> | ||
<li>The template is used within the <code>Projekt-članek</code> template.</li> | <li>The template is used within the <code>Projekt-članek</code> template.</li> | ||
| Vrstica 122: | Vrstica 121: | ||
<li>The <code>sirina</code> parameter allows adjustment of the overall width of the overview block.</li> | <li>The <code>sirina</code> parameter allows adjustment of the overall width of the overview block.</li> | ||
</ul> | </ul> | ||
<b>Supported values for the <code>tezavnost</code> parameter:</b> | <b>Supported values for the <code>tezavnost</code> parameter:</b> | ||
<ul style="font-size:12px;"> | <ul style="font-size:12px;"> | ||
<li>Easy</li> | <li>Easy</li> | ||
<li> | <li>Moderate</li> | ||
<li>Hard</li> | <li>Hard</li> | ||
</ul> | </ul> | ||
<b>Example values for the <code>labi</code> parameter:</b> | <b>Example values for the <code>labi</code> parameter:</b> | ||
<ul style="font-size:12px;"> | <ul style="font-size:12px;"> | ||
<li>FabLab</li> | <li>FabLab</li> | ||
| Vrstica 144: | Vrstica 139: | ||
<li>Food Lab</li> | <li>Food Lab</li> | ||
</ul> | </ul> | ||
<pre style="font-size:12px;"> | <pre style="font-size:12px;"> | ||
|image-x=-20 | |image-x=-20 | ||
| Vrstica 153: | Vrstica 147: | ||
|cena=20 € | |cena=20 € | ||
</pre> | </pre> | ||
</div> | </div> | ||
</div> | </div> | ||
<hr> | <hr> | ||
<div style=" | <div style=" | ||
padding:10px; | padding:10px; | ||
| Vrstica 167: | Vrstica 157: | ||
font-size:12px; | font-size:12px; | ||
"> | "> | ||
<div style=" | <div style=" | ||
font-size:12px; | font-size:12px; | ||
| Vrstica 173: | Vrstica 162: | ||
color:#2c3e50; | color:#2c3e50; | ||
margin-bottom:8px; | margin-bottom:8px; | ||
"> | ">Template hierarchy | ||
Template hierarchy | |||
</div> | </div> | ||
[[Template:Projekt-članek/en]] | [[Template:Projekt-članek/en]] | ||
<br>└─ uses [[Template:Projekt-pregled/en]] at the beginning of a project page to display key project specifications | <br>└─ uses [[Template:Projekt-pregled/en]] at the beginning of a project page to display key project specifications | ||
</div> | </div> | ||
<hr> | <hr> | ||
<div style=" | <div style=" | ||
padding:10px; | padding:10px; | ||
| Vrstica 191: | Vrstica 175: | ||
font-size:12px; | font-size:12px; | ||
"> | "> | ||
<b>Visual Editor</b><br> | <b>Visual Editor</b><br> | ||
This template includes TemplateData and supports insertion through the Visual Editor. | This template includes TemplateData and supports insertion through the Visual Editor. | ||
</div> | </div> | ||
Trenutna redakcija s časom 15:11, 31. avgust 2026
Projekt-pregled • SL • Back to templates
Project overview block with a featured image, description, and key project specifications.
Usage example (EN)
{{Projekt-pregled/en
|image1=image.jpg
|image-x=
|image-y=
|slika=
|sirina=
|opis=Short project description.
|tezavnost=
|cas= h
|cena=€
|labi=
}}
Parameters
| Parameter | Description | Type | Required |
|---|---|---|---|
| image1 | Main project image. | File | Yes |
| image-x | Horizontal image offset. | Number | No |
| image-y | Vertical image offset. | Number | No |
| slika | Width of the displayed image in pixels. | Number | No |
| sirina | Overall width of the project block. | Text | No |
| opis | Short project description. | Content | Yes |
| tezavnost | Project difficulty. | Content | Yes |
| cas | Estimated completion time. | Content | Yes |
| cena | Estimated project cost. | Content | Yes |
| labi | Labs used in the project. | Content | Yes |
Notes
- The template is used within the
Projekt-članektemplate. - If the
image1parameter is not provided, the default filePlaceholder.jpgis used. - The
image-xandimage-yparameters allow precise image positioning. - The
slikaparameter defines the width of the displayed image. - The
sirinaparameter allows adjustment of the overall width of the overview block.
Supported values for the tezavnost parameter:
- Easy
- Moderate
- Hard
Example values for the labi parameter:
- FabLab
- Textile Lab
- Wood Lab
- Metal Lab
- Green Lab
- Ceramics Lab
- Glass Lab
- Jewelry Lab
- Food Lab
|image-x=-20 |image-y=10 |slika=600 |sirina=1000px |cas=4 h |cena=20 €
Template hierarchy
Template:Projekt-članek/en
└─ uses Template:Projekt-pregled/en at the beginning of a project page to display key project specifications
Visual Editor
This template includes TemplateData and supports insertion through the Visual Editor.