Predloga:Material-kartica/en: Razlika med redakcijama
Videz
nova stran z vsebino: »<div style=" background:white; border:1px solid #E5E5E5; border-radius:12px; overflow:hidden; box-shadow:0 2px 6px rgba(0,0,0,0.08); padding:6px; "> <!-- NASLOV --> <div style=" border-left:4px solid #2c3e50; padding-left:6px; font-size:14px; font-weight:bold; line-height:1.15; margin-bottom:6px; "> [[{{{title1|Example}}}|{{{display1|{{{title1|Example}}}}}}]] </div> <!-- VSEBINA --> <div style=" display:flex; gap:8px; margin-bottom:6px; "> <!-- SLIKA --> <div...« |
Brez povzetka urejanja |
||
| (Ena vmesna redakcija istega uporabnika ni prikazana) | |||
| Vrstica 34: | Vrstica 34: | ||
</div> | </div> | ||
<noinclude> | |||
---- | |||
'''Documentation:''' [[Predloga:Material-kartica/en/doc|View template documentation]] | |||
</noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"title1": { | |||
"label": "Page title", | |||
"description": "Name of the page linked from the card.", | |||
"type": "content", | |||
"required": true | |||
}, | |||
"display1": { | |||
"label": "Display title", | |||
"description": "Text shown in the card title. If left empty, the page title is used.", | |||
"type": "unbalanced-wikitext", | |||
"suggested": true | |||
}, | |||
"image-y": { | |||
"label": "Vertical image offset", | |||
"description": "Moves the image up or down in pixels. Use a negative value to move it 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 | |||
}, | |||
"inv1": { | |||
"label": "Inventory number", | |||
"description": "Inventory or reference number of the material or object.", | |||
"type": "content", | |||
"required": true | |||
}, | |||
"info1": { | |||
"label": "Description", | |||
"description": "Short description, technical specifications, or additional information.", | |||
"type": "content", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Card for displaying a material with a title, image, category, location, inventory number, and description.", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
Trenutna redakcija s časom 09:56, 26. avgust 2026
Documentation: View template documentation
Card for displaying a material with a title, image, category, location, inventory number, and description.
| Parameter | Opis | Vrsta | Stanje | |
|---|---|---|---|---|
| Page title | title1 | Name of the page linked from the card. | Vsebina | zahtevano |
| Display title | display1 | Text shown in the card title. If left empty, the page title is used. | Neuravnoteženo vikibesedilo | predlagano |
| Vertical image offset | image-y | Moves the image up or down in pixels. Use a negative value to move it 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 |
| Inventory number | inv1 | Inventory or reference number of the material or object. | Vsebina | zahtevano |
| Description | info1 | Short description, technical specifications, or additional information. | Vsebina | predlagano |