Pojdi na vsebino

Predloga:Material-kartica/en/doc

Iz Center Rog

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

Material Library – Knjižnica_materialov/en
└─ uses template Template:Grid3 to display material cards in a grid layout
    └─ uses Template:Material-kartica/en to display information about an individual material


Visual Editor

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