Pojdi na vsebino

Predloga:Material-kartica: Razlika med redakcijama

Iz Center Rog
Brez povzetka urejanja
Brez povzetka urejanja
Vrstica 6: Vrstica 6:
box-shadow:0 2px 6px rgba(0,0,0,0.08);
box-shadow:0 2px 6px rgba(0,0,0,0.08);
padding:6px;
padding:6px;
display:block;
width:100%;
">
">


Vrstica 19: Vrstica 17:
margin-bottom:6px;
margin-bottom:6px;
">
">
[[{{{title1|Example}}}|{{{display1|{{{title1|Example}}}}}}]]
[[{{{title1|Example}}}|{{{display1|{{{title1|Example}}}}}}]]
</div>
</div>


Vrstica 56: Vrstica 52:
<!-- META -->
<!-- META -->
<div style="
<div style="
flex:0 0 90px;
width:90px;
font-size:10px;
font-size:10px;
line-height:1.25;
line-height:1.25;
flex-shrink:0;
">
">


Vrstica 140: Vrstica 137:


</div>
</div>


<noinclude>
<noinclude>
Vrstica 147: Vrstica 143:
'''Dokumentacija:''' [[Predloga:Material-kartica/dok|Ogled dokumentacije predloge]]
'''Dokumentacija:''' [[Predloga:Material-kartica/dok|Ogled dokumentacije predloge]]


<templatedata>
... TemplateData ...
{
"description": "Kartica za prikaz materiala v Knjižnici materialov.",
"params": {
"title1": {
"label": "Naziv strani materiala",
"description": "Naziv wiki strani materiala.",
"required": true,
"type": "wiki-page-name"
},
"display1": {
"label": "Prikazni naziv",
"description": "Naziv, prikazan na kartici.",
"required": true,
"type": "string"
},
"image1": {
"label": "Fotografija materiala",
"description": "Fotografija materiala.",
"required": true,
"type": "wiki-file-name"
},
"image-y": {
"label": "Premik slike Y",
"description": "Navpični premik fotografije v pikslih.",
"type": "number",
"default": "0"
},
"kategorija1": {
"label": "Kategorija",
"description": "Kategorija materiala.",
"required": true,
"type": "string"
},
"lokacija1": {
"label": "Lokacija",
"description": "Lokacija oziroma laboratorij.",
"required": true,
"type": "string"
},
"inv1": {
"label": "Inventarna številka",
"description": "Inventarna oznaka materiala.",
"required": true,
"type": "string"
},
"info1": {
"label": "Opis materiala",
"description": "Kratek opis materiala.",
"required": true,
"type": "content"
}
},
"paramOrder": [
"title1",
"display1",
"image1",
"image-y",
"kategorija1",
"lokacija1",
"inv1",
"info1"
]
}
</templatedata>


</noinclude>
</noinclude>

Redakcija: 15:01, 24. avgust 2026

Kategorija

Kategorija

Lokacija

Lokacija

Inv. št.

Številka

Tukaj pride opis ali podatki.



Dokumentacija: Ogled dokumentacije predloge

... TemplateData ...