VAULTPEDIA.DE ist seit dem 02.02.2026 öffentlich zugänglich.
Da es sich um ein frisch migriertes Wiki handelt, können vereinzelt noch Datenbank-, Seiten- oder Designfehler auftreten.
Tritt unserem Discord bei, um Fehler zu melden oder direkt mit dem Team in Kontakt zu treten.
| Diese Seite enthält Informationen zur Verwendung für Benutzer:Alessio79/Vorlage:Infobox. |
| ||||||
Benutzung
- To be written.
- Group, image and content/label rows are mutually exclusive, i.e. if you specify
group1,image1andlabel1-1, onlygroup1will be shown. Order of priority: group > image > label > content. - Content/label cells are numbered from left to right within a row, i.e. content1-2 appears to the right of label1-1 etc.
- For the layout, it matters which cells are specified in a row. E.g. imagine one row with all 4 cells followed by one with only 2. If the second row's specified cells are 2-1 and 2-4, 2-1 will have a colspan of 3 and 2-4 a colspan of 1. If the second row's specified cells are 2-1 and 2-3, 2-1 will have a colspan of 2 and 2-4 a colspan of 2 etc.
- Group mechanic ("what belongs to which group"):
- Unlike with navboxes, groups are fluent (i.e. a certain row does not always belong to the same group). Specifying a
grouprow creates a new group, and all rows below it belong to that group until anothergroupfield is specified. For example, if you setgroup1,content2-1,image3,group4andlabel5-1, row 2 & row 3 belong to group 1 and row 5 belongs to group 4. - All rows which appear above the first group belong to group 0 (hence the parameters which start at 0 rather than 1). For example, if you set
image1,content2-1,image3,group4andlabel5-1, rows 1-3 belong to group 0 and row 5 belongs to group 4.
- Unlike with navboxes, groups are fluent (i.e. a certain row does not always belong to the same group). Specifying a
Parameter
cond1 bis cond40
Condition for corresponding row. If specified and empty, row is not shown. If specified and non-empty, row is shown. If not specified, apply default behaviour according to row type:
- Group rows: Only displayed if it has content and there are rows shown (not only specified) in the group.
- Image rows: Only displayed if an image is specified.
- Content/label rows: If there are content cells, only shown if one of the content cells has data. If there are only label cells, only shown if one of the label cells has data.
colwidths
Column widths in %, separated by commas. Only applied to groups where the number of specified widths matches number of columns in group.
colwidths0 bis colwidths40
Column widths in %, separated by commas. Only applied if number of specified widths matches number of columns in group, otherwise falls back to
colwidths (if it has a matching number of widths) or default widths (in that order). Overrides general colwidths parameter.content1-1, content1-2, content1-3, content1-4 bis content40-1, content40-2, content40-3, content40-4
Content of corresponding cell.
content1-1 tooltip bis content40-4 tooltip
Tooltip for corresponding cell.
footer
Text of the footer, i.e. a row at the very bottom of the infobox.
games
Game abbreviation(s); for accepted abbreviations please see {{abb}}. Multiple abbreviations can be specified if separated by comma (
,). These are used to create dynamic links for supertitle. For usage details, please see supertitle link below.group1 bis group40
Content of corresponding cell. Specifying creates a new group.
icon
Filename of icon (without "File:").
(Standard: "0px")
icon offsetOffset for icon in px; capped at
icon size-specified height. "@outside" places icon completely outside of image area.(Standard: "30x30px")
icon sizeSize of
icon; capped at 40x40px. If no height specified, falls back to default icon height.image1 bis image40
Filename of image to be displayed in corresponding cell (without "File:").
(Standard: "{{PAGENAME}} #.jpg")
image1 default bis image40 defaultDefault file name for upload button in corresponding cell. "#" in the default setting means number of row.
image1 desc bis image40 desc
Description for the corresponding
image, displayed below the image.image1 size bis image40 size
Size for corresponding
image, capped at width. Setting to "@original" means image is not resized; these images do not factor into the "is infobox width exceeded" checks.label1-1, label1-2, label1-3, label1-4 bis label40-1, label40-2, label40-3, label40-4
Content of corresponding cell.
label1-1 tooltip bis label40-4 tooltip
Tooltip for corresponding cell.
(Standard: "{{PAGENAME}}.jpg")
main image defaultDefault file name for upload button.
main image desc
Description for the
main image area, displayed below the images.main image1 bis main image5
Filename(s) of main image(s) (without "File:").
(Standard: "
main image1 size bis main image5 sizesize main images/number of images")Size for corresponding
main image, capped at width. If combined width exceeds infobox width, images which are bigger than default are reduced to default width. Setting to "@original" means image is not resized; these images do not factor into the "is infobox width exceeded" checks.(Standard: "infobox")
modeThis parameter allows to specify a display mode for the infobox.
Available choices:
- infobox: Default mode.
- infocard: Visual change to the
titlerow, number of groups limited to 15, limit to possible image height (unfinished).
options
This parameter allows to specify options which apply to the infobox itself or all groups inside. Multiple options can be specified at once; simply separate them with commas (
,).
Verfügbare Auswahl:
- collapsedgroups: This makes all groups within the infobox collapsible and collapsed on page load. Can be overriden for individual groups by setting the group-specific
optionparameter (see below) to "uncollapsed". - collapsiblegroups: This makes all groups within the infobox collapsible and uncollapsed on page load. Can be overriden for individual groups by setting the group-specific
optionparameter (see below) to "nocollapse". - imageoptional: If set, having no
main imagespecified will not result in an "upload image" button being displayed.
options0 bis options40
This parameter allows to specify options which apply to the corresponding group of rows. For example,
options4 applies to all cells which belong to group4. Multiple options can be specified at once; simply separate them with commas (,). Group-specific options override options set for the whole infobox.
Verfügbare Auswahl:
- collapsible, nocollapse, uncollapsed: These options control the collapse behaviour of the group. They are mutually exclusive.
- collapsed means the group is collapsible and collapsed on page load.
- collapsible/uncollapsed mean the group is collapsible and uncollapsed on page load.
- nocollapse means the group is not collapsible. This is the default setting.
(Standard: "(
size imageswidth-12)x(width-12)px")Default size for images in "image" rows. Cannot exceed infobox width; if no height specified, falls back to default height.
(Standard: "(
size main imageswidth-12)x(width-12)px")Default size of "main image" area, i.e. the area which is used as a basis for default width calculations (if there are 3 images this value is divided by 3 etc). Cannot exceed infobox width; if no height specified, falls back to default height.
sort by
Sets {{DEFAULTSORT:}} for the page.
subtitle
Subtitle.
supertitle
Supertitle (old infobox: "titlehead").
supertitle link
Supertitle link (old infobox: "titlehead link").
(Standard: "{{Pagename nd}}")
titleInfobox title. If not specified, displays {{Pagename nd}}.
(Standard: "250px")
widthWidth of infobox.
Styleparameter
Alle style options should be used sparingly as they can lead to visual inconsistencies. For examples of useful style, please see the section for style below.
content1-1 style bis content40-4 style
Specifies CSS styles to apply to the corresponding
content cell. For example, content10-3 style applies to the cell of content10-3 etc.footer style
Specifies CSS styles to apply to the
footer cell.group1 style bis group40 style
Specifies CSS styles to apply to the corresponding
group cell. For example, group6 style applies to the cell of group6 etc.icon style
Specifies CSS styles to apply to the
icon.image1 style bis image40 style
Specifies CSS styles to apply to the cell with the corresponding
image. For example, image9 style applies to the cell of image9 etc.label1-1 style bis label40-4 style
Specifies CSS styles to apply to the corresponding
label cell. For example, label20-4 style applies to the cell of label20-4 etc.main image1 style bis main image5 style
Specifies CSS styles to apply to the corresponding
main image. For example, main image3 style applies to main image3 etc.style
Specifies CSS styles to apply to every cell in the whole infobox except for the
title cell.
Some examples of useful styles:
- Changing background color:
background-color: #123456;(accepts HTML color names or RGB hex triplets) - Changing (horizontal) text-alignment:
text-align: center;(accepts "center", "justify", "left", "right") - Changing vertical text-alignment:
vertical-align: middle;(accepts "bottom", "middle", "top")
style0 bis style40
Specifies CSS styles to apply to all cells within the corresponding group of cells. For example,
style3 applies to all cells which belong to group3 etc.style contents, style groups, style images, style labels, style main images
Specifies CSS styles to apply to all cells of a certain type. For example,
style contents applies to all content cells and so forth.style contents0 bis style contents40, style images0 bis style images40, style labels0 bis style labels40
Specifies CSS styles to apply to a certain type of cells within the corresponding group of cells. For example,
style contents5 applies to all content cells which belong to group5 etc.title style
Specifies CSS styles to apply to the
title cell.Beispiele
- To be written.
Technisches
- Diese Vorlage ist ziemlich kompliziert. Bearbeiten Sie sie, erfordert es ein gutes Verständnis der Parser-Funktionen und Wiki-Syntax.
- Hilfsvorlagen:
- {{Infobox/aux}}: Erzeugt eine "content"/"label" row.
- {{Infobox/aux2}}: Erzeugt "group" tables und header rows.
- {{Infobox/aux3}}: Erzeugt eine "image" row.
- Extension used:
- Sandbox:
- {{Infobox/sandbox}}
- Standardisierte Dokumentation für Vorlagen basieren auf dieser: