Predloga:Material-kartica/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; ">Material-kartica</span> • Back to templates </div> Material card for displaying materials in the materials library. <div style="display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap;"> <div style="flex:1;min-width:280px;padding:10px;background:#ffffff;border:1px solid #E...« |
Brez povzetka urejanja |
||
| Vrstica 135: | Vrstica 135: | ||
</div> | </div> | ||
[[Knjižnica_materialov/en]] | Material Library - [[Knjižnica_materialov/en]] | ||
<br>└─ uses template [[Predloga:Grid3]] | <br>└─ uses template [[Predloga:Grid3]] | ||
<br> └─ uses [[Template:Material-kartica/en]] | <br> └─ uses [[Template:Material-kartica/en]] | ||
Redakcija: 09:59, 26. avgust 2026
Material-kartica • Back to templates
Material card for displaying materials in the materials library.
Usage example (EN)
{{Material-kartica/en
|title1=Material page name
|display1=Material display name
|image1=File_name.jpg
|image-y=0
|kategorija1=CATEGORY
|lokacija1=LAB
|inv1=INV-001
|info1=
Short material description.
}}
Parameters
| Parameter | Description | Type | Required |
|---|---|---|---|
| title1 | Name of the page linked from the card. | Content | Yes |
| display1 | Text shown in the card title. If left empty, the page title is used. | Unbalanced wikitext | Suggested |
| image-y | Moves the image up or down in pixels. Use a negative value to move it upward. | Number | No |
| image1 | Image file name without the File: prefix. | File | Yes |
| kategorija1 | Category of the material or object. | Content | Yes |
| lokacija1 | Location of the material or object. | Content | Yes |
| inv1 | Inventory or reference number of the material or object. | Content | Yes |
| info1 | Short description, technical specifications, or additional information. | Content | Suggested |
Notes
- This template creates a material card for display in the materials library.
- It is most commonly used together with the
Grid3template. - The card layout is used on the Knjižnica_materialov/en page.
- The
image-yparameter allows vertical image positioning. - Negative values move the image upward.
- Positive values move the image downward.
- The image must be uploaded to the wiki before use.
|image-y=-20
Template hierarchy
Material Library - Knjižnica_materialov/en
└─ uses template Predloga:Grid3
└─ uses Template:Material-kartica/en
Visual Editor
This template includes TemplateData and supports insertion through the Visual Editor.