Predloga:Material-kartica/en: Razlika med redakcijama
Videz
Brez povzetka urejanja |
Brez povzetka urejanja |
||
| Vrstica 39: | Vrstica 39: | ||
'''Documentation:''' [[Predloga:Material-kartica/en/doc|View template documentation]] | '''Documentation:''' [[Predloga:Material-kartica/en/doc|View template documentation]] | ||
</noinclude> | </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 |