Predloga:Projekt-članek/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-članek</span> • SL • Back to templates </div> <div style="margin:8px 0 16px 0;"> Core template for presenting an open-source project in the Center Rog Wiki. The template automatically includes navigation, a project overview, a CTA button,...« |
Brez povzetka urejanja |
||
| (Ena vmesna redakcija istega uporabnika ni prikazana) | |||
| Vrstica 8: | Vrstica 8: | ||
font-size:13px; | font-size:13px; | ||
font-weight:bold; | font-weight:bold; | ||
">Projekt-članek</span> | ">Projekt-članek/en</span> • [[Soustvarjaj_Wiki/en|Back to templates]] | ||
</div> | </div> | ||
| Vrstica 27: | Vrstica 27: | ||
<pre style="font-size:12px;"> | <pre style="font-size:12px;"> | ||
{{Projekt-članek/en | {{Projekt-članek/en | ||
|image1=Project.jpg | |image1=Project.jpg | ||
|image-x=0 | |image-x=0 | ||
Trenutna redakcija s časom 13:59, 31. avgust 2026
Projekt-članek/en • Back to templates
Core template for presenting an open-source project in the Center Rog Wiki. The template automatically includes navigation, a project overview, a CTA button, and a colophon.
Usage example (EN)
{{Projekt-članek/en
|image1=Project.jpg
|image-x=0
|image-y=0
|slika=500
|opis=Short project description.
|tezavnost=Medium
|cas=4 h
|cena=20 €
|labi=FabLab
|materiali=
* Material 1
|oprema=
* Equipment 1
|datoteke=
* [[File:Project.svg]]
|navodila=
{{Projekt-navodila/en
|st=1
|naslov=Preparation
|slika=Step1.jpg
|opis=Step description.
}}
|galerija=
<gallery>
File:Image1.jpg
</gallery>
|nasveti=
Tip.
|opozorila=
Warning.
|avtor=Ana Novak
|leto=2026
}}
Parameters
| Parameter | Description | Type | Required |
|---|---|---|---|
| lab-nav | Name of the lab highlighted as active in project navigation. | Text | Yes |
| image1 | Featured project image. | File | Yes |
| image-x | Horizontal offset of the featured image in pixels. | Number | No |
| image-y | Vertical offset of the featured image in pixels. | Number | No |
| slika | Width of the displayed image in pixels. | Number | No |
| opis | Short project description or introduction. | Content | Yes |
| tezavnost | Project difficulty level. | Content | Yes |
| cas | Estimated completion time. | Content | Yes |
| cena | Estimated project cost. | Content | Yes |
| labi | Labs associated with the project. | Content | Yes |
| materiali | List of required materials. | Content | Yes |
| oprema | List of required equipment. | Content | Yes |
| datoteke | Files associated with the project. | Content | Yes |
| navodila | One or more calls to the Projekt-navodila template. | Content | Yes |
| galerija | Additional project images. | Content | No |
| nasveti | Helpful tips for completing the project. | Content | No |
| opozorila | Safety warnings or important limitations. | Content | No |
| avtor | Project author. | Text | Yes |
| leto | Publication year. | Text | Yes |
Notes
- The template automatically includes the
Projekt-navigacija/entemplate. - The
lab-navparameter determines which lab is highlighted in the navigation. - Supported values for
lab-nav: FabLab, Textile Lab, Wood Lab, Metal Lab, Green Lab, Ceramics Lab, Glass Lab, Jewelry Lab, and Food Lab. - The
navodilaparameter typically contains one or moreProjekt-navodila/entemplates. - Use a separate
Projekt-navodila/entemplate call for each project step. - The
navodilaandgalerijaparameters usually contain multiline wiki content. - The
galerijaparameter uses the standard MediaWiki<gallery></gallery>element. - The
slikaparameter defines the image width in the project overview block. - The
image-xandimage-yparameters allow fine adjustment of the featured image position. - If
image-xorimage-yare not specified, the default value is 0. - A CTA button and colophon are automatically displayed at the end of the article.
- The
avtorandletoparameters define the information displayed in the colophon.
|image-x=-20 |image-y=10 |slika=600 |avtor=Ana Novak |leto=2026
Template hierarchy
Template:Projekt-članek/en
├─ uses Template:Projekt-navigacija/en for navigation between labs
├─ uses Template:Projekt-pregled/en to display key project information
├─ uses Template:Projekt-navodila/en to display individual project steps
├─ uses Template:CTA-gumb to encourage exploration of other projects
└─ uses Template:Kolofon/en to display authorship and publication year
Visual Editor
This template includes TemplateData and supports insertion through the Visual Editor.