Pojdi na vsebino

Predloga:Material-kartica/en/doc

Iz Center Rog
Redakcija dne 09:58, 26. avgust 2026 od Lucija (pogovor | prispevki) (nova stran z vsebino: »<div style="margin-bottom:16px;"> <span style=" background:#2c3e50; color:white; padding:6px 12px; border-radius:20px; font-size:13px; font-weight:bold; ">Material-kartica</span>  • Back to templates </div> Material card for displaying materials in the materials library. <div style="display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap;"> <div style="flex:1;min-width:280px;padding:10px;background:#ffffff;border:1px solid #E...«)
(razl) ← Starejša redakcija | prikaži trenutno redakcijo (razl) | Novejša redakcija → (razl)

Material-kartica  • Back to templates

Material card for displaying materials in the materials library.

Usage example (EN)

{{Material-kartica/en
|title1=Material page name
|display1=Material display name
|image1=File_name.jpg
|image-y=0
|kategorija1=CATEGORY
|lokacija1=LAB
|inv1=INV-001
|info1=
Short material description.
}}

Parameters

Parameter Description Type Required
title1 Name of the page linked from the card. Content Yes
display1 Text shown in the card title. If left empty, the page title is used. Unbalanced wikitext Suggested
image-y Moves the image up or down in pixels. Use a negative value to move it upward. Number No
image1 Image file name without the File: prefix. File Yes
kategorija1 Category of the material or object. Content Yes
lokacija1 Location of the material or object. Content Yes
inv1 Inventory or reference number of the material or object. Content Yes
info1 Short description, technical specifications, or additional information. Content Suggested

Notes

  • This template creates a material card for display in the materials library.
  • It is most commonly used together with the Grid3 template.
  • The card layout is used on the Knjižnica_materialov/en page.
  • The image-y parameter allows vertical image positioning.
  • Negative values move the image upward.
  • Positive values move the image downward.
  • The image must be uploaded to the wiki before use.
|image-y=-20

Template hierarchy

Knjižnica_materialov/en
└─ uses template Predloga:Grid3
    └─ uses Template:Material-kartica/en


Visual Editor

This template includes TemplateData and supports insertion through the Visual Editor.