Predloga:Material-kartica-vertikal/en: Razlika med redakcijama
Videz
nova stran z vsebino: »<div style=" float:right; width:280px; margin:0 0 18px 18px; background:white; border:1px solid #E5E5E5; border-radius:12px; overflow:hidden; box-shadow:0 2px 6px rgba(0,0,0,0.08); "> <!-- IMAGE --> <div style=" height:200px; overflow:hidden; background:#fafafa; position:relative; display:flex; align-items:center; justify-content:center; "> <!-- INVENTORY NUMBER --> <div style=" position:absolute; top:10px; right:10px; background:#edf1f5; padding:4px 8px; border-...« |
Brez povzetka urejanja |
||
| (3 vmesne redakcije istega uporabnika niso prikazane) | |||
| Vrstica 84: | Vrstica 84: | ||
</div> | </div> | ||
<noinclude> | |||
---- | |||
'''Dokumentacija:''' [[Template:Material-kartica-vertikal/en/doc|View template documentation]] | |||
<templatedata> | |||
{ | |||
"params": { | |||
"inv1": { | |||
"label": "Inventory number", | |||
"description": "Inventory or reference number of the material or object.", | |||
"type": "content", | |||
"required": true | |||
}, | |||
"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": "Image", | |||
"description": "Image file name without the File: prefix.", | |||
"type": "wiki-file-name", | |||
"required": true | |||
}, | |||
"kategorija1": { | |||
"label": "Category", | |||
"description": "Category of the material or object.", | |||
"type": "content", | |||
"required": true | |||
}, | |||
"lokacija1": { | |||
"label": "Location", | |||
"description": "Location of the material or object.", | |||
"type": "content", | |||
"required": true | |||
} | |||
}, | |||
"description": "Card displaying a material image, inventory number, category, and location for use on material pages.", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Trenutna redakcija s časom 14:37, 26. avgust 2026
Dokumentacija: View template documentation
Card displaying a material image, inventory number, category, and location for use on material pages.
| Parameter | Opis | Vrsta | Stanje | |
|---|---|---|---|---|
| Inventory number | inv1 | Inventory or reference number of the material or object. | Vsebina | zahtevano |
| 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 |
| Image | image1 | Image file name without the File: prefix. | Datoteka | zahtevano |
| Category | kategorija1 | Category of the material or object. | Vsebina | zahtevano |
| Location | lokacija1 | Location of the material or object. | Vsebina | zahtevano |