Pojdi na vsebino

Predloga:Material-kartica/en: Razlika med redakcijama

Iz Center Rog
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

Category
Category
Location
Location
Inv. No.
Number
Description or data goes here.



Documentation: View template documentation

Card for displaying a material with a title, image, category, location, inventory number, and description.

Parametri predloge[Urejanje podatkov predloge]

Za to predlogo je priporočljiva postavitev parametrov v bloku.

ParameterOpisVrstaStanje
Page titletitle1

Name of the page linked from the card.

Vsebinazahtevano
Display titledisplay1

Text shown in the card title. If left empty, the page title is used.

Neuravnoteženo vikibesedilopredlagano
Vertical image offsetimage-y

Moves the image up or down in pixels. Use a negative value to move it upward.

Privzeto
0
Številkaneobvezno
Imageimage1

Image file name without the File: prefix.

Datotekazahtevano
Categorykategorija1

Category of the material or object.

Vsebinazahtevano
Locationlokacija1

Location of the material or object.

Vsebinazahtevano
Inventory numberinv1

Inventory or reference number of the material or object.

Vsebinazahtevano
Descriptioninfo1

Short description, technical specifications, or additional information.

Vsebinapredlagano