Vorlage:Infobox/Documentation

Aus HaDiKo Wiki
Version vom 24. August 2026, 12:49 Uhr von Max.burkardt (Diskussion | Beiträge) (Add documentation)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Vorlage:Documentation subpage

Purpose

This template provides a simple Wikipedia‑style infobox. All parameters are optional. If an image filename is supplied, the image is shown directly below the title; otherwise, only the title and the populated fields are shown.

Parameters

title
Optional infobox title.

Defaults to the article title (Infobox/Documentation) if omitted.

image
Optional image filename (without the File: prefix), e.g. Example.svg.

If omitted, the image row is not shown.

image_size
Optional image size, e.g. 250px.

Defaults to 250px.

image_alt
Optional alternative text for screen readers.
caption
Optional text shown below the image.
label1 .. label5
Optional label text for up to five rows, shown in the left column.
data1 .. data5
Optional data text corresponding to each label, shown in the right column.

Usage

Place the infobox at the top of an article and fill only the fields you need. Example:

{{Infobox_generic
| title     = Example topic
| image     = Example-image.svg
| image_size= 200px
| image_alt = Schematic of the example topic
| caption   = Illustration of the example topic

| label1    = Field one
| data1     = Value one

| label2    = Field two
| data2     = Value two
}}

You can omit any parameters you do not need; rows for which labelN is blank are not shown. If image is omitted, the image row and caption are skipped and only the title and data rows remain.