updt. (verm. fehlerh.) |
Keine Bearbeitungszusammenfassung |
||
| Zeile 3: | Zeile 3: | ||
==Benutzung== | ==Benutzung== | ||
<noinclude>{{Dokumentationsseite}}</noinclude> | |||
Meta-template used for constructing [[:Kategorie:Infoboxvorlagen|Infoboxvorlagen]]. Infoboxes are fixed-format tables designed to be added to the top right-hand corner of articles to consistently present a summary of the article content. | |||
Up to 44 rows in as many groups with up to 4 columns each are supported. Every row can have a varying number of columns and groups can be made collapsible. Specific conditions can be specified for each row. In addition, the template supports up to 5 images in the main image area and dynamically calculates the appropriate width/height for each image. | |||
==Usage== | |||
<pre> | <pre> | ||
{{Infobox | {{Infobox | ||
|title ={{{ | |games ={{{games|}}} | ||
| | |title ={{{name|}}} | ||
| | |subtitle ={{{subtitle|}}} | ||
| | |supertitle =example | ||
| | |supertitle link =examples | ||
| | |icon ={{{icon|}}} | ||
{{ | |main image1 ={{{image|}}} | ||
| | |main image1 size ={{{image size|}}} | ||
|main image desc ={{{image desc|}}} | |||
|footer ={{{footer|}}} | |||
|group1 ={{{group1|}}} | |||
|label1-1 ={{{label1|}}} | |||
|content1-2 ={{{content1|}}} | |||
}} | }} | ||
</pre> | </pre> | ||
Most of the parameters should usually be passed down from the "end" | Most of the parameters should usually be passed down from the "end" infoboxes (i.e. the ones directly used in articles). | ||
===General explanations=== | |||
* A given row can contain either a <code>group</code>, an <code>image</code> ''or'' <code>content</code> and <code>label</code> cells; these 3 options are mutually exclusive. For example, if you specify <code>group1</code>, <code>image1</code> and <code>label1-1</code>, only <code>group1</code> will be shown. Order of priority: <code>group</code> > <code>image</code> > <code>label</code> > <code>content</code>. | |||
* The layout for each row is generated automatically based on which cells are specified in the row itself and in the group it belongs to. It is possible to have rows with different column counts within the same group; the cells in the row with less columns will then span multiple columns, depending on exactly which columns are used in this row.<br/>For example, if one row in a given group has 4 columns and another has only 2, the layout of the second row will vary depending on which columns are used: | |||
** If the first and the last cell are used, the first cell (of the second row) will span columns 1, 2 and 3 (of the first row). | |||
** If the first and the second cell were used, the second cell will span columns 2, 3 and 4. | |||
** If the first and the third cell were used, the first cell will span columns 1 and 2 while the second cell will span columns 3 and 4. | |||
===Parameters=== | ===Parameters=== | ||
{{Docparam|name=columns|req= | Terms used in the parameter descriptions: | ||
* <pre style="clear: right; float: right; margin: 0 0 10px 5px; width: 150px;">|example = value</pre>''Defined and not empty'': A parameter is "defined and not empty" if it has been set to any value. In the example on the right, the parameter <code>example</code> is defined and not empty. | |||
* <pre style="clear: right; float: right; margin: 0 0 10px 5px; width: 150px;">|example =</pre>''Defined and empty'': A parameter is "defined and empty" if it is present on the page but has been set to no value. In the example on the right, the parameter <code>example</code> is defined and empty. | |||
* <pre style="clear: right; float: right; margin: 0 0 10px 5px; width: 150px;"> </pre>''Defined and not empty'': A parameter is "undefined" if it is not present on the page. In the example on the right, the parameter <code>example</code> is undefined. | |||
* <pre style="clear: right; float: right; margin: 0 0 10px 5px; width: 150px;">|example = @word</pre>''Magic word'': Magic words are terms which - when set as a parameter value - have a special effect. They are usually prefixed with an "@" in order to differentiate them from normal parameter values. In the example on the right, the parameter <code>example</code> is set to the magic word "@word". | |||
{{Docparam|name=cond1 >> cond44|req=no|default=|desc= | |||
Condition for corresponding row. If a <code>cond</code> is defined and empty, the row is not shown. If a <code>cond</code> is defined and not empty, the row is shown. If a <code>cond</code> is undefined, the row is shown based on the default for its row type: | |||
* <code>group</code> rows: Only displayed if <code>group</code> is defined, not set to "@hide" and there are rows ''shown'' (not only specified) in the group. | |||
* <code>image</code> rows: Only displayed if <code>image</code> is defined and not set to "@hide". | |||
* <code>content</code>/<code>label</code> rows: If the row contains <code>content</code> cells, it is shown if at least one of the <code>content</code> cells is defined, not empty and not set to "@hide". If the row contains only <code>label</code> cells, it is shown if at least one of the <code>label</code> cells is defined, not empty and not set to "@hide". | |||
}} | |||
{{Docparam|name=colwidths|req=no|default=|desc= | |||
Column widths in percent, separated by commas (e.g. "50, 50"). Only applied to groups where the number of specified widths matches the number of columns in said group (e.g. if two widths are specified, only groups with two columns will be affected); for groups with more or less columns, the default widths are used. | |||
}} | |||
{{Docparam|name=colwidths0 >> colwidths44|req=no|default=|desc= | |||
Column widths in percent, separated by commas (e.g. "50, 50"). Only applied if the number of specified widths matches the number of columns in the group; otherwise <code>colwidths</code> (if that has a matching number of widths) or default widths are used. Overrides general <code>colwidths</code> parameter for the specific <code>group</code>. | |||
}} | |||
{{Docparam|name=content1-1 ++ content1-2 ++ content1-3 ++ content1-4 >> content44-1 ++ content44-2 ++ content44-3 ++ content44-4|req=no|default=|desc= | |||
Content of corresponding cell. The first number in the parameter name indicates the row and the second number stands for the column (numbered from left to right). | |||
Magic words: | |||
* ''@hide'': If all defined <code>content</code> cells in a row are set to "@hide", the row is not shown regardless of other conditions or options. | |||
}} | }} | ||
{{Docparam|name= | {{Docparam|name=content1-1 tooltip >> content44-4 tooltip|req=no|default=|desc= | ||
Tooltip for corresponding cell, i.e. text which is displayed if a reader moves his/her mouse over the cell. | |||
}} | }} | ||
{{Docparam|name= | {{Docparam|name=footer|req=no|default=|desc= | ||
Text of the footer, i.e. a row at the very bottom of the infobox. | |||
}} | }} | ||
{{Docparam|name= | {{Docparam|name=games|req=no|default=|desc= | ||
Game abbreviation(s); for accepted abbreviations please see {{tl|abb}}. Multiple abbreviations can be specified if separated by comma (<code>,</code>). These are used to create dynamic links for <code>supertitle</code>. For usage details, please see <code>supertitle link</code> below. | |||
}} | }} | ||
{{Docparam|name= | {{Docparam|name=group1 >> group44|req=no|default=|desc= | ||
Content of corresponding cell, with the number indicating the row. | |||
Specifying a <code>group</code> row creates a new group (and a header), and all rows below it belong to that group until another <code>group</code> field is specified. For example, if you set <code>group1</code>, <code>content2-1</code>, <code>image3</code>, <code>group4</code> and <code>label5-1</code>, row 2 & row 3 belong to group 1 and row 5 belongs to group 4. | |||
All rows above the first specified <code>group</code> belong to group 0. For example, if you set <code>image1</code>, <code>content2-1</code>, <code>image3</code>, <code>group4</code> and <code>label5-1</code>, row 2 & row 3 belong to group 0 and row 5 belongs to group 4. | |||
Magic words: | |||
* ''@hide'': Creates a group without a visible header. | |||
}} | }} | ||
{{Docparam|name=icon|req=no|default=|desc= | {{Docparam|name=icon|req=no|default=|desc= | ||
File name of icon (without "File:"), i.e. the small image which is displayed in the top right corner of the main image area. | |||
}} | |||
{{Docparam|name=icon offset|req=no|default=0px|desc= | |||
Offset for <code>icon</code> in [[wikipedia:Pixel|pixels]], i.e. the icon is moved "upwards" by the specified amount of pixels. The maximum value is "<code>icon size</code>-specified height + 5". | |||
Magic words: | |||
* ''@outside:'' Icon is placed completely outside (above) the <code>main image</code> area. | |||
}} | |||
{{Docparam|name=icon size|req=no|default=30x30px|desc= | |||
Size of <code>icon</code> in [[wikipedia:Pixel|pixels]]. If no height/width is specified or the specified value exceeds the limit of 40px, the default icon height/width is used. | |||
}} | |||
{{Docparam|name=image1 >> image44|req=no|default=|desc= | |||
File name of image (without "File:") to be displayed in corresponding cell, with the number indicating the row. If an <code>image</code> has been specified but has not been filled in, an "upload image" button will be displayed instead, prompting users to upload an image with a pre-defined file name (see <code>image# default</code>). | |||
Magic words: | |||
* ''@hide'': Hides the image (or "upload image" button) regardless of other conditions or options. | |||
}} | |||
{{Docparam|name=image1 default >> image44 default|req=no|default=<nowiki>{{PAGENAME}}</nowiki> #.jpg|desc= | |||
The file name (without "File:") which is suggested when uploading an image via the "upload image" button in the corresponding cell. It is recommended to make this depend on <nowiki>{{PAGENAME}}</nowiki>. | |||
}} | |||
{{Docparam|name=image1 desc >> image44 desc|req=no|default=|desc= | |||
Description for the corresponding <code>image</code>, displayed below the image. | |||
}} | |||
{{Docparam|name=image1 size >> image44 size|req=no|default=|desc= | |||
Size for corresponding <code>image</code> in [[wikipedia:Pixel|pixels]]. If the width of the image exceeds infobox <code>width</code>, the default width is used instead. | |||
}} | |||
{{Docparam|name=label1-1 ++ label1-2 ++ label1-3 ++ label1-4 >> label44-1 ++ label44-2 ++ label44-3 ++ label44-4|req=no|default=|desc= | |||
Content of corresponding cell. The first number in the parameter name indicates the row and the second number stands for the column (numbered from left to right). | |||
Magic words: | |||
* ''@hide:'' If there are only <code>label</code> cells defined in a given row and all of these are set to "@hide", the row is not shown regardless of other conditions or options. | |||
}} | |||
{{Docparam|name=label1-1 tooltip >> label44-4 tooltip|req=no|default=|desc= | |||
Tooltip for corresponding cell, i.e. text which is displayed when a reader moves his/her mouse over the cell. | |||
}} | |||
{{Docparam|name=main image columns|req=no|default=2|desc= | |||
Maximum amount of <code>main images</code> displayed per row. If the number of specified <code>main images</code> exceeds this value, a second (and if necessary, a third/fourth/fifth) row is created. For example, if <code>main image columns</code> is set to "3" and there are 2 <code>main images</code>, they will be displayed in one row; if there are 4 <code>main images</code>, the 4th image will be displayed in a second row. | |||
}} | |||
{{Docparam|name=main image default|req=no|default=<nowiki>{{PAGENAME}}</nowiki>.jpg|desc= | |||
The file name (without "File:") which is suggested when uploading an image via the "upload image" button in the <code>main image</code> area. It is recommended to make this depend on <nowiki>{{PAGENAME}}</nowiki>. | |||
}} | |||
{{Docparam|name=main image desc|req=no|default=|desc= | |||
Description for the <code>main image</code> area, displayed below the images. | |||
}} | |||
{{Docparam|name=main image1 >> main image5|req=no|default=|desc= | |||
File name(s) of main image(s) (without "File:"), i.e. the images displayed directly below the infobox <code>title</code>. If more than one image is used, they are displayed in a configurable amount of rows (see <code>main image columns</code>) and their default sizes are adapted accordingly. If no <code>main image</code> has been specified, an "upload image" button will be displayed instead, prompting users to upload an image with a pre-defined file name (see <code>main image default</code>). <code>options</code> can be used to disable the "upload image" button. | |||
Magic words: | |||
* ''@hide:'' If all defined <code>main image</code> parameters are set to "@hide", the main image area (or "upload image" button) is not shown regardless of other conditions or options. | |||
}} | |||
{{Docparam|name=main image1 size >> main image5 size|req=no|default=<code>size main images</code>/number of images|desc= | |||
Size for corresponding <code>main image</code>. By default, this size depends on the number of specified <code>main images</code> and the amount of <code>main image columns</code>. If the combined width of all main images exceeds infobox <code>width</code>, images which are bigger than the default are reduced to default width. | |||
}} | |||
{{Docparam|name=options|req=no|default=|desc= | |||
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 (<code>,</code>). | |||
Available choices: | |||
* ''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 <code>option</code> parameter (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 <code>option</code> parameter (see below) to "nocollapse". | |||
* ''imageoptional'': If set, having no <code>main image</code> specified will not result in an "upload image" button being displayed. | |||
}} | |||
{{Docparam|name=options0 >> options44|req=no|default=|desc= | |||
This parameter allows to specify options which apply to the corresponding group of rows. For example, <code>options4</code> applies to all cells which belong to <code>group4</code>. Multiple options can be specified at once; simply separate them with commas (<code>,</code>). Group-specific options override options set for the whole infobox. | |||
Available choices: | |||
* ''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. | |||
}} | }} | ||
{{Docparam|name= | {{Docparam|name=size images|req=no|default=(<code>width</code>-10) x (<code>width</code>-10)px|desc= | ||
Default size in [[wikipedia:Pixel|pixels]] for images in <code>image</code> rows. If the specified width exceeds infobox <code>width</code>, the default width is used instead; if no height is specified, the default height is used instead. | |||
}} | }} | ||
{{Docparam|name= | {{Docparam|name=size main images|req=no|default=(<code>width</code>-10) x (<code>width</code>-10)px|desc= | ||
Size of <code>main image</code> area in [[wikipedia:Pixel|pixels]], i.e. the total space available for all main images. This is used as basis for calculating the default width of the individual main images. If the specified width exceeds infobox <code>width</code>, the default width is used instead; if no height is specified, the default height is used instead. | |||
<code>main image# size</code> overrides this default for the corresponding image. | |||
}} | }} | ||
{{Docparam|name= | {{Docparam|name=sort by|req=no|default=|desc= | ||
Sets the term the page is sorted under when displayed in categories (<nowiki>{{DEFAULTSORT:}}</nowiki>). | |||
}} | }} | ||
{{Docparam|name=subtitle|req=no|default=|desc= | {{Docparam|name=subtitle|req=no|default=|desc= | ||
Text in small font below <code>title</code>. | Text in small font below infobox <code>title</code>. | ||
}} | |||
{{Docparam|name=supertitle|req=no|default=|desc= | |||
Text in small font above infobox <code>title</code>. Supertitles can be created dynamically by using the <code>games</code> parameter. For details, see <code>supertitle link</code> below. | |||
}} | |||
{{Docparam|name=supertitle link|req=no|default=|desc= | |||
This parameter links the <code>supertitle</code> to an overview page (like [[Weapon]]). When used in conjunction with the <code>games</code> parameter, it can be used to dynamically create links to game-specific overview pages (like [[Fallout 3 weapons]]). For the exact behaviour please see {{tl|abblink}}. | |||
This is useful if an infobox template is used for multiple games and you want it to link to the correct overview pages depending on which game it is used for. For example, setting <code>supertitle</code> to "weapon" and <code>supertitle link</code> to "weapons", you can then let the editor in the respective article specify the <code>games</code> parameter and it will link to the correct overview page (e.g. "Fallout 3 weapons" if the editor enters "FO3"). | |||
}} | }} | ||
{{Docparam|name=title|req= | {{Docparam|name=title|req=no|default={{tl|Pagename nd}}|desc= | ||
Main title/"headline" of the infobox. | Main title/"headline" of the infobox. By default, the name of the current page without any disambiguation suffixes (i.e. terms in brackets at the end) is used. | ||
}} | }} | ||
{{Docparam|name= | {{Docparam|name=width|req=no|default=250px|desc= | ||
Width of the infobox in [[wikipedia:Pixel|pixels]]. In order to achieve a standardized look across all infoboxes, infoboxes should only be resized if absolutely necessary . | |||
}} | }} | ||
{{Docparam|name= | ===Style parameters=== | ||
All <code>style</code> options should be used sparingly as they can lead to visual inconsistencies. Some examples of useful styles: | |||
* Changing background color: <code>background-color: #123456;</code> (accepts [[wikipedia:HTML color names|HTML color names]] or [[wikipedia:Web colors#Hex triplet|RGB hex triplets]]) | |||
* Changing (horizontal) text-alignment: <code>text-align: center;</code> (accepts "center", "justify", "left", "right") | |||
* Changing vertical text-alignment: <code>vertical-align: middle;</code> (accepts "bottom", "middle", "top") | |||
{{Docparam|name=content1-1 style >> content40-4 style|req=no|default=|desc= | |||
Specifies [[wikipedia:Cascading Style Sheets|CSS]] styles to apply to the corresponding <code>content</code> cell. For example, <code>content10-3 style</code> applies to the cell of <code>content10-3</code> etc. | |||
}} | |||
{{Docparam|name=footer style|req=no|default=|desc= | |||
Specifies [[wikipedia:Cascading Style Sheets|CSS]] styles to apply to the <code>footer</code> cell. | |||
}} | }} | ||
{{Docparam|name= | {{Docparam|name=group1 style >> group40 style|req=no|default=|desc= | ||
Specifies [[wikipedia:Cascading Style Sheets|CSS]] styles to apply to the corresponding <code>group</code> cell. For example, <code>group6 style</code> applies to the cell of <code>group6</code> etc. | |||
}} | }} | ||
=== | {{Docparam|name=icon style|req=no|default=|desc= | ||
Specifies [[wikipedia:Cascading Style Sheets|CSS]] styles to apply to the <code>icon</code>. | |||
}} | |||
{{Docparam|name=image1 style >> image40 style|req=no|default=|desc= | |||
Specifies [[wikipedia:Cascading Style Sheets|CSS]] styles to apply to the cell with the corresponding <code>image</code>. For example, <code>image9 style</code> applies to the cell of <code>image9</code> etc. | |||
}} | |||
{{Docparam|name=label1-1 style >> label40-4 style|req=no|default=|desc= | |||
Specifies [[wikipedia:Cascading Style Sheets|CSS]] styles to apply to the corresponding <code>label</code> cell. For example, <code>label20-4 style</code> applies to the cell of <code>label20-4</code> etc. | |||
}} | |||
== | {{Docparam|name=main image1 style >> main image5 style|req=no|default=|desc= | ||
Specifies [[wikipedia:Cascading Style Sheets|CSS]] styles to apply to the corresponding <code>main image</code>. For example, <code>main image3 style</code> applies to <code>main image3</code> etc. | |||
}} | |||
{{Docparam|name=style|req=no|default=|desc= | |||
Specifies [[wikipedia:Cascading Style Sheets|CSS]] styles to apply to every cell in the whole infobox except for the <code>title</code> cell. | |||
}} | |||
{{Docparam|name=style0 >> style40|req=no|default=|desc= | |||
Specifies [[wikipedia:Cascading Style Sheets|CSS]] styles to apply to all cells within the corresponding group of cells. For example, <code>style3</code> applies to all cells which belong to <code>group3</code> etc. | |||
}} | |||
{{Docparam|name=style contents ++ style groups ++ style images ++ style labels ++ style main images|req=no|default=|desc= | |||
Specifies [[wikipedia:Cascading Style Sheets|CSS]] styles to apply to all cells of a certain type. For example, <code>style contents</code> applies to all <code>content</code> cells and so forth. | |||
}} | |||
{{Docparam|name=style contents0 >> style contents40 ++ style images0 >> style images40 ++ style labels0 >> style labels40|req=no|default=|desc= | |||
Specifies [[wikipedia:Cascading Style Sheets|CSS]] styles to apply to a certain type of cells within the corresponding group of cells. For example, <code>style contents5</code> applies to all <code>content</code> cells which belong to <code>group5</code> etc. | |||
}} | |||
{{Docparam|name=title style|req=no|default=|desc= | |||
Specifies [[wikipedia:Cascading Style Sheets|CSS]] styles to apply to the <code>title</code> cell. | |||
}} | |||
==Examples== | |||
===Simple=== | |||
{{Infobox | |||
|main image1 =Wiki.png | |||
|main image1 size =100x100px | |||
|label1-1 =Label 1-1 | |||
|content1-2 =Content 1-2 | |||
|image2 =Wiki-wordmark.png | |||
|label3-1 =Label 3-1 | |||
|content3-2 =Content 3-2 | |||
}} | |||
<pre> | |||
{{Infobox | |||
|main image1 =Wiki.png | |||
|main image1 size =100x100px | |||
|label1-1 =Label 1-1 | |||
|content1-2 =Content 1-2 | |||
|image2 =Wiki-wordmark.png | |||
|label3-1 =Label 3-1 | |||
|content3-2 =Content 3-2 | |||
}} | |||
</pre> | |||
{{clear}} | |||
===Infobox with groups=== | |||
{{Infobox | |||
|main image1 =Wiki.png | |||
|main image1 size =100x100px | |||
|group1 =Group 1 | |||
|label2-1 =Label 2-1 | |||
|content2-2 =Content 2-2 | |||
|group3 =Group 3 | |||
|label4-1 =Label 4-1 | |||
|content4-2 =Content 4-2 | |||
}} | |||
<pre> | |||
{{Infobox | |||
|main image1 =Wiki.png | |||
|main image1 size =100x100px | |||
|group1 =Group 1 | |||
|label2-1 =Label 2-1 | |||
|content2-2 =Content 2-2 | |||
|group3 =Group 3 | |||
|label4-1 =Label 4-1 | |||
|content4-2 =Content 4-2 | |||
}} | |||
</pre> | |||
{{clear}} | |||
===Infobox with multiple columns=== | |||
{{Infobox | {{Infobox | ||
| | |main image1 =Wiki.png | ||
| | |main image1 size =100x100px | ||
| | |label1-1 =Label 1-1 | ||
| | |content1-2 =Content 1-2 | ||
| | |content1-3 =Content 1-3 | ||
| | |content1-4 =Content 1-4 | ||
|content2-1 =Content 2-1 | |||
| | |content2-3 =Content 2-3 | ||
}} | }} | ||
<pre> | <pre> | ||
{{ | {{Infobox | ||
| | |main image1 =Wiki.png | ||
| | |main image1 size =100x100px | ||
| | |label1-1 =Label 1-1 | ||
| | |content1-2 =Content 1-2 | ||
| | |content1-3 =Content 1-3 | ||
| | |content1-4 =Content 1-4 | ||
|content2-1 =Content 2-1 | |||
| | |content2-3 =Content 2-3 | ||
}} | }} | ||
</pre> | </pre> | ||
{{clear}} | |||
===Infobox with collapsible groups=== | |||
{{Infobox | |||
|options =collapsiblegroups | |||
|main image1 =Wiki.png | |||
|main image1 size =100x100px | |||
|group1 =Group 1 | |||
|label2-1 =Label 2-1 | |||
|content2-2 =Content 2-2 | |||
|group3 =Group 3 | |||
|label4-1 =Label 4-1 | |||
|content4-2 =Content 4-2 | |||
}} | |||
<pre> | |||
{{Infobox | |||
|options =collapsiblegroups | |||
|main image1 =Wiki.png | |||
|main image1 size =100x100px | |||
|group1 =Group 1 | |||
|label2-1 =Label 2-1 | |||
|content2-2 =Content 2-2 | |||
|group3 =Group 3 | |||
|label4-1 =Label 4-1 | |||
|content4-2 =Content 4-2 | |||
}} | |||
</pre> | |||
{{clear}} | |||
===Infobox with collapsible and non-collapsible groups=== | |||
{{Infobox | |||
|options =collapsiblegroups | |||
|main image1 =Wiki.png | |||
|main image1 size =100x100px | |||
|group1 =Group 1 | |||
|label2-1 =Label 2-1 | |||
|content2-2 =Content 2-2 | |||
|group3 =Group 3 | |||
|options3 =nocollapse | |||
|label4-1 =Label 4-1 | |||
|content4-2 =Content 4-2 | |||
}} | |||
<pre> | |||
{{Infobox | |||
|options =collapsiblegroups | |||
|main image1 =Wiki.png | |||
|main image1 size =100x100px | |||
|group1 =Group 1 | |||
|label2-1 =Label 2-1 | |||
|content2-2 =Content 2-2 | |||
|group3 =Group 3 | |||
|options3 =nocollapse | |||
|label4-1 =Label 4-1 | |||
|content4-2 =Content 4-2 | |||
}} | |||
</pre> | |||
{{clear}} | |||
===Infobox with multiple main images=== | |||
{{Infobox | |||
|options =collapsiblegroups | |||
|main image1 =Wiki.png | |||
|main image2 =Wiki-wordmark.png | |||
|main image3 =Wiki.png | |||
|main image4 =Wiki-wordmark.png | |||
|main image5 =Wiki.png | |||
|label1-1 =Label 1-1 | |||
|content1-2 =Content 1-2 | |||
|label2-1 =Label 2-1 | |||
|content2-2 =Content 2-2 | |||
}} | |||
<pre> | |||
{{Infobox | |||
|options =collapsiblegroups | |||
|main image1 =Wiki.png | |||
|main image2 =Wiki-wordmark.png | |||
|main image3 =Wiki.png | |||
|main image4 =Wiki-wordmark.png | |||
|main image5 =Wiki.png | |||
|label1-1 =Label 1-1 | |||
|content1-2 =Content 1-2 | |||
|label2-1 =Label 2-1 | |||
|content2-2 =Content 2-2 | |||
}} | |||
</pre> | |||
{{clear}} | |||
===Infobox with all main images in one row=== | |||
{{Infobox | |||
|options =collapsiblegroups | |||
|main image1 =Wiki.png | |||
|main image2 =Wiki-wordmark.png | |||
|main image3 =Wiki.png | |||
|main image4 =Wiki-wordmark.png | |||
|main image5 =Wiki.png | |||
|main image columns =5 | |||
|label1-1 =Label 1-1 | |||
|content1-2 =Content 1-2 | |||
|label2-1 =Label 2-1 | |||
|content2-2 =Content 2-2 | |||
}} | |||
<pre> | |||
{{Infobox | |||
|options =collapsiblegroups | |||
|main image1 =Wiki.png | |||
|main image2 =Wiki-wordmark.png | |||
|main image3 =Wiki.png | |||
|main image4 =Wiki-wordmark.png | |||
|main image5 =Wiki.png | |||
|main image columns =5 | |||
|label1-1 =Label 1-1 | |||
|content1-2 =Content 1-2 | |||
|label2-1 =Label 2-1 | |||
|content2-2 =Content 2-2 | |||
}} | |||
</pre> | |||
{{clear}} | |||
==Copy/paste== | |||
<pre> | |||
{{Infobox | |||
|games ={{{games|}}} | |||
|title ={{{name|}}} | |||
|subtitle ={{{subtitle|}}} | |||
|supertitle = | |||
|supertitle link = | |||
|icon ={{{icon|}}} | |||
|icon offset ={{{icon offset|}}} | |||
|main image1 ={{{image|}}} | |||
|main image1 size ={{{image size|}}} | |||
|main image2 ={{{image2|}}} | |||
|main image2 size ={{{image2 size|}}} | |||
|main image3 ={{{image3|}}} | |||
|main image3 size ={{{image3 size|}}} | |||
|main image4 ={{{image4|}}} | |||
|main image4 size ={{{image4 size|}}} | |||
|main image5 ={{{image5|}}} | |||
|main image5 size ={{{image5 size|}}} | |||
|main image desc ={{{image desc|}}} | |||
|footer ={{{footer|}}} | |||
|group1 = | |||
|label1-1 = | |||
|content1-2 ={{{|}}} | |||
|group2 = | |||
|label2-1 = | |||
|content2-2 ={{{|}}} | |||
|group3 = | |||
|label3-1 = | |||
|content3-2 ={{{|}}} | |||
|group4 = | |||
|label4-1 = | |||
|content4-2 ={{{|}}} | |||
|group5 = | |||
|label5-1 = | |||
|content5-2 ={{{|}}} | |||
|group6 = | |||
|label6-1 = | |||
|content6-2 ={{{|}}} | |||
|group7 = | |||
|label7-1 = | |||
|content7-2 ={{{|}}} | |||
|group8 = | |||
|label8-1 = | |||
|content8-2 ={{{|}}} | |||
|group9 = | |||
|label9-1 = | |||
|content9-2 ={{{|}}} | |||
|group10 = | |||
|label10-1 = | |||
|content10-2 ={{{|}}} | |||
|group11 = | |||
|label11-1 = | |||
|content11-2 ={{{|}}} | |||
|group12 = | |||
|label12-1 = | |||
|content12-2 ={{{|}}} | |||
|group13 = | |||
|label13-1 = | |||
|content13-2 ={{{|}}} | |||
|group14 = | |||
|label14-1 = | |||
|content14-2 ={{{|}}} | |||
|group15 = | |||
|label15-1 = | |||
|content15-2 ={{{|}}} | |||
|group16 = | |||
|label16-1 = | |||
|content16-2 ={{{|}}} | |||
|group17 = | |||
|label17-1 = | |||
|content17-2 ={{{|}}} | |||
|group18 = | |||
|label18-1 = | |||
|content18-2 ={{{|}}} | |||
|group19 = | |||
|label19-1 = | |||
|content19-2 ={{{|}}} | |||
|group20 = | |||
|label20-1 = | |||
|content20-2 ={{{|}}} | |||
|group21 = | |||
|label21-1 = | |||
|content21-2 ={{{|}}} | |||
|group22 = | |||
|label22-1 = | |||
|content22-2 ={{{|}}} | |||
|group23 = | |||
|label23-1 = | |||
|content23-2 ={{{|}}} | |||
|group24 = | |||
|label24-1 = | |||
|content24-2 ={{{|}}} | |||
|group25 = | |||
|label25-1 = | |||
|content25-2 ={{{|}}} | |||
|group26 = | |||
|label26-1 = | |||
|content26-2 ={{{|}}} | |||
|group27 = | |||
|label27-1 = | |||
|content27-2 ={{{|}}} | |||
|group28 = | |||
|label28-1 = | |||
|content28-2 ={{{|}}} | |||
|group29 = | |||
|label29-1 = | |||
|content29-2 ={{{|}}} | |||
|group30 = | |||
|label30-1 = | |||
|content30-2 ={{{|}}} | |||
|group31 = | |||
|label31-1 = | |||
|content31-2 ={{{|}}} | |||
|group32 = | |||
|label32-1 = | |||
|content32-2 ={{{|}}} | |||
|group33 = | |||
|label33-1 = | |||
|content33-2 ={{{|}}} | |||
|group34 = | |||
|label34-1 = | |||
|content34-2 ={{{|}}} | |||
|group35 = | |||
|label35-1 = | |||
|content35-2 ={{{|}}} | |||
|group36 = | |||
|label36-1 = | |||
|content36-2 ={{{|}}} | |||
|group37 = | |||
|label37-1 = | |||
|content37-2 ={{{|}}} | |||
|group38 = | |||
|label38-1 = | |||
|content38-2 ={{{|}}} | |||
|group39 = | |||
|label39-1 = | |||
|content39-2 ={{{|}}} | |||
|group40 = | |||
|label40-1 = | |||
|content40-2 ={{{|}}} | |||
|group41 = | |||
|label41-1 = | |||
|content41-2 ={{{|}}} | |||
|group42 = | |||
|label42-1 = | |||
|content42-2 ={{{|}}} | |||
|group43 = | |||
|label43-1 = | |||
|content43-2 ={{{|}}} | |||
|label44-1 = | |||
|content44-2 ={{{|}}} | |||
}} | |||
</pre> | |||
== Technisches == | |||
* Diese Vorlage ist ziemlich kompliziert. Bearbeiten erfordert ein gutes Verständnis der Parserfunktionen und der Wikisyntax. | |||
* Hilfsvorlagen: | |||
** {{tl|Abb}}: Turns abbreviations into game names. | |||
** {{tl|Abblink}}: Generates links to overview pages based on abbreviations. | |||
** {{tl|Infobox/aux}}: Generates a "content"/"label" row. | |||
** {{tl|Infobox/aux2}}: Generates "group" tables and header rows. | |||
** {{tl|Infobox/aux3}}: Generates an "image" row. | |||
* Verwendete Erweiterungen: | |||
** [[Fallout Wiki:Erweiterungen|ImageSizeInfoFunctions]] | |||
** [[Fallout Wiki:Erweiterungen|Variablen]] | |||
* Die standardisierte Dokumentation für Vorlagen basiert auf dieser: | |||
** {{tl|Infobox/doc/standard}} | |||
<includeonly>[[en:Template:Infobox]]</includeonly> | |||
<includeonly>[[ja:Template:Infobox]]</includeonly> | |||
==Technisches== | ==Technisches== | ||
* Hilfsvorlage: {{tl|Abb}}, {{tl|Abblink}} | * Hilfsvorlage: {{tl|Abb}}, {{tl|Abblink}} | ||
* Die standardisierte Dokumentation für Vorlagen basiert auf dieser: {{tl|Infobox/doc/standard}} | * Die standardisierte Dokumentation für Vorlagen basiert auf dieser: {{tl|Infobox/doc/standard}} | ||
Version vom 9. März 2014, 10:31 Uhr
| Diese Seite enthält Informationen zur Verwendung für Vorlage:Infobox. |
Meta-Schablone verwendbar für das erstellen von Infoboxvorlagen. Infoboxes sind gefixte Tabellen des festen Formats, die entworfen sind, um sie zur rechten oberen Ecke von Artikeln hinzuzufügen, damit eine Zusammenfassung des Paragraph-Inhalts durchweg zu präsentieren ist.
Benutzung
| Diese Seite enthält Informationen zur Verwendung für Vorlage:Infobox. |
Meta-template used for constructing Infoboxvorlagen. Infoboxes are fixed-format tables designed to be added to the top right-hand corner of articles to consistently present a summary of the article content.
Up to 44 rows in as many groups with up to 4 columns each are supported. Every row can have a varying number of columns and groups can be made collapsible. Specific conditions can be specified for each row. In addition, the template supports up to 5 images in the main image area and dynamically calculates the appropriate width/height for each image.
Usage
{{Infobox
|games ={{{games|}}}
|title ={{{name|}}}
|subtitle ={{{subtitle|}}}
|supertitle =example
|supertitle link =examples
|icon ={{{icon|}}}
|main image1 ={{{image|}}}
|main image1 size ={{{image size|}}}
|main image desc ={{{image desc|}}}
|footer ={{{footer|}}}
|group1 ={{{group1|}}}
|label1-1 ={{{label1|}}}
|content1-2 ={{{content1|}}}
}}
Most of the parameters should usually be passed down from the "end" infoboxes (i.e. the ones directly used in articles).
General explanations
- A given row can contain either a
group, animageorcontentandlabelcells; these 3 options are mutually exclusive. For example, if you specifygroup1,image1andlabel1-1, onlygroup1will be shown. Order of priority:group>image>label>content. - The layout for each row is generated automatically based on which cells are specified in the row itself and in the group it belongs to. It is possible to have rows with different column counts within the same group; the cells in the row with less columns will then span multiple columns, depending on exactly which columns are used in this row.
For example, if one row in a given group has 4 columns and another has only 2, the layout of the second row will vary depending on which columns are used:- If the first and the last cell are used, the first cell (of the second row) will span columns 1, 2 and 3 (of the first row).
- If the first and the second cell were used, the second cell will span columns 2, 3 and 4.
- If the first and the third cell were used, the first cell will span columns 1 and 2 while the second cell will span columns 3 and 4.
Parameters
Terms used in the parameter descriptions:
|example = value
Defined and not empty: A parameter is "defined and not empty" if it has been set to any value. In the example on the right, the parameterexampleis defined and not empty.|example =
Defined and empty: A parameter is "defined and empty" if it is present on the page but has been set to no value. In the example on the right, the parameterexampleis defined and empty.
Defined and not empty: A parameter is "undefined" if it is not present on the page. In the example on the right, the parameterexampleis undefined.|example = @word
Magic word: Magic words are terms which - when set as a parameter value - have a special effect. They are usually prefixed with an "@" in order to differentiate them from normal parameter values. In the example on the right, the parameterexampleis set to the magic word "@word".
cond is defined and empty, the row is not shown. If a cond is defined and not empty, the row is shown. If a cond is undefined, the row is shown based on the default for its row type:
grouprows: Only displayed ifgroupis defined, not set to "@hide" and there are rows shown (not only specified) in the group.imagerows: Only displayed ifimageis defined and not set to "@hide".content/labelrows: If the row containscontentcells, it is shown if at least one of thecontentcells is defined, not empty and not set to "@hide". If the row contains onlylabelcells, it is shown if at least one of thelabelcells is defined, not empty and not set to "@hide".
colwidths (if that has a matching number of widths) or default widths are used. Overrides general colwidths parameter for the specific group.Magic words:
- @hide: If all defined
contentcells in a row are set to "@hide", the row is not shown regardless of other conditions or options.
,). These are used to create dynamic links for supertitle. For usage details, please see supertitle link below.Specifying a group row creates a new group (and a header), and all rows below it belong to that group until another group field is specified. For example, if you set group1, content2-1, image3, group4 and label5-1, row 2 & row 3 belong to group 1 and row 5 belongs to group 4.
All rows above the first specified group belong to group 0. For example, if you set image1, content2-1, image3, group4 and label5-1, row 2 & row 3 belong to group 0 and row 5 belongs to group 4.
Magic words:
- @hide: Creates a group without a visible header.
icon in pixels, i.e. the icon is moved "upwards" by the specified amount of pixels. The maximum value is "icon size-specified height + 5".
Magic words:
- @outside: Icon is placed completely outside (above) the
main imagearea.
icon in pixels. If no height/width is specified or the specified value exceeds the limit of 40px, the default icon height/width is used.image has been specified but has not been filled in, an "upload image" button will be displayed instead, prompting users to upload an image with a pre-defined file name (see image# default).
Magic words:
- @hide: Hides the image (or "upload image" button) regardless of other conditions or options.
image, displayed below the image.image in pixels. If the width of the image exceeds infobox width, the default width is used instead.Magic words:
- @hide: If there are only
labelcells defined in a given row and all of these are set to "@hide", the row is not shown regardless of other conditions or options.
main images displayed per row. If the number of specified main images exceeds this value, a second (and if necessary, a third/fourth/fifth) row is created. For example, if main image columns is set to "3" and there are 2 main images, they will be displayed in one row; if there are 4 main images, the 4th image will be displayed in a second row.main image area. It is recommended to make this depend on {{PAGENAME}}.main image area, displayed below the images.title. If more than one image is used, they are displayed in a configurable amount of rows (see main image columns) and their default sizes are adapted accordingly. If no main image has been specified, an "upload image" button will be displayed instead, prompting users to upload an image with a pre-defined file name (see main image default). options can be used to disable the "upload image" button.
Magic words:
- @hide: If all defined
main imageparameters are set to "@hide", the main image area (or "upload image" button) is not shown regardless of other conditions or options.
size main images/number of images")main image. By default, this size depends on the number of specified main images and the amount of main image columns. If the combined width of all main images exceeds infobox width, images which are bigger than the default are reduced to default width.,).
Available choices:
- 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.
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.
Available choices:
- 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.
width-10) x (width-10)px")image rows. If the specified width exceeds infobox width, the default width is used instead; if no height is specified, the default height is used instead.width-10) x (width-10)px")main image area in pixels, i.e. the total space available for all main images. This is used as basis for calculating the default width of the individual main images. If the specified width exceeds infobox width, the default width is used instead; if no height is specified, the default height is used instead.
main image# size overrides this default for the corresponding image.title.title. Supertitles can be created dynamically by using the games parameter. For details, see supertitle link below.supertitle to an overview page (like Weapon). When used in conjunction with the games parameter, it can be used to dynamically create links to game-specific overview pages (like Fallout 3 weapons). For the exact behaviour please see {{abblink}}.
This is useful if an infobox template is used for multiple games and you want it to link to the correct overview pages depending on which game it is used for. For example, setting supertitle to "weapon" and supertitle link to "weapons", you can then let the editor in the respective article specify the games parameter and it will link to the correct overview page (e.g. "Fallout 3 weapons" if the editor enters "FO3").Style parameters
All style options should be used sparingly as they can lead to visual inconsistencies. 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")
content cell. For example, content10-3 style applies to the cell of content10-3 etc.footer cell.group cell. For example, group6 style applies to the cell of group6 etc.icon.image. For example, image9 style applies to the cell of image9 etc.label cell. For example, label20-4 style applies to the cell of label20-4 etc.main image. For example, main image3 style applies to main image3 etc.title cell.style3 applies to all cells which belong to group3 etc.style contents applies to all content cells and so forth.style contents5 applies to all content cells which belong to group5 etc.title cell.Examples
Simple
Infobox/doc | |||||||||||||||||||||
| |||||||||||||||||||||
{{Infobox
|main image1 =Wiki.png
|main image1 size =100x100px
|label1-1 =Label 1-1
|content1-2 =Content 1-2
|image2 =Wiki-wordmark.png
|label3-1 =Label 3-1
|content3-2 =Content 3-2
}}
Infobox with groups
Infobox/doc | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
{{Infobox
|main image1 =Wiki.png
|main image1 size =100x100px
|group1 =Group 1
|label2-1 =Label 2-1
|content2-2 =Content 2-2
|group3 =Group 3
|label4-1 =Label 4-1
|content4-2 =Content 4-2
}}
Infobox with multiple columns
Infobox/doc | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
{{Infobox
|main image1 =Wiki.png
|main image1 size =100x100px
|label1-1 =Label 1-1
|content1-2 =Content 1-2
|content1-3 =Content 1-3
|content1-4 =Content 1-4
|content2-1 =Content 2-1
|content2-3 =Content 2-3
}}
Infobox with collapsible groups
Infobox/doc | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
{{Infobox
|options =collapsiblegroups
|main image1 =Wiki.png
|main image1 size =100x100px
|group1 =Group 1
|label2-1 =Label 2-1
|content2-2 =Content 2-2
|group3 =Group 3
|label4-1 =Label 4-1
|content4-2 =Content 4-2
}}
Infobox with collapsible and non-collapsible groups
Infobox/doc | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
{{Infobox
|options =collapsiblegroups
|main image1 =Wiki.png
|main image1 size =100x100px
|group1 =Group 1
|label2-1 =Label 2-1
|content2-2 =Content 2-2
|group3 =Group 3
|options3 =nocollapse
|label4-1 =Label 4-1
|content4-2 =Content 4-2
}}
Infobox with multiple main images
Fehler im Ausdruck: Unerwarteter Operator <Fehler im Ausdruck: Unerwarteter Operator <Fehler im Ausdruck: Unerwarteter Operator <
Infobox/doc | |||||||||||||||
| |||||||||||||||
| |||||||||||||||
{{Infobox
|options =collapsiblegroups
|main image1 =Wiki.png
|main image2 =Wiki-wordmark.png
|main image3 =Wiki.png
|main image4 =Wiki-wordmark.png
|main image5 =Wiki.png
|label1-1 =Label 1-1
|content1-2 =Content 1-2
|label2-1 =Label 2-1
|content2-2 =Content 2-2
}}
Infobox with all main images in one row
Fehler im Ausdruck: Unerwarteter Operator <
Infobox/doc | |||||||||||||||
| |||||||||||||||
| |||||||||||||||
{{Infobox
|options =collapsiblegroups
|main image1 =Wiki.png
|main image2 =Wiki-wordmark.png
|main image3 =Wiki.png
|main image4 =Wiki-wordmark.png
|main image5 =Wiki.png
|main image columns =5
|label1-1 =Label 1-1
|content1-2 =Content 1-2
|label2-1 =Label 2-1
|content2-2 =Content 2-2
}}
Copy/paste
{{Infobox
|games ={{{games|}}}
|title ={{{name|}}}
|subtitle ={{{subtitle|}}}
|supertitle =
|supertitle link =
|icon ={{{icon|}}}
|icon offset ={{{icon offset|}}}
|main image1 ={{{image|}}}
|main image1 size ={{{image size|}}}
|main image2 ={{{image2|}}}
|main image2 size ={{{image2 size|}}}
|main image3 ={{{image3|}}}
|main image3 size ={{{image3 size|}}}
|main image4 ={{{image4|}}}
|main image4 size ={{{image4 size|}}}
|main image5 ={{{image5|}}}
|main image5 size ={{{image5 size|}}}
|main image desc ={{{image desc|}}}
|footer ={{{footer|}}}
|group1 =
|label1-1 =
|content1-2 ={{{|}}}
|group2 =
|label2-1 =
|content2-2 ={{{|}}}
|group3 =
|label3-1 =
|content3-2 ={{{|}}}
|group4 =
|label4-1 =
|content4-2 ={{{|}}}
|group5 =
|label5-1 =
|content5-2 ={{{|}}}
|group6 =
|label6-1 =
|content6-2 ={{{|}}}
|group7 =
|label7-1 =
|content7-2 ={{{|}}}
|group8 =
|label8-1 =
|content8-2 ={{{|}}}
|group9 =
|label9-1 =
|content9-2 ={{{|}}}
|group10 =
|label10-1 =
|content10-2 ={{{|}}}
|group11 =
|label11-1 =
|content11-2 ={{{|}}}
|group12 =
|label12-1 =
|content12-2 ={{{|}}}
|group13 =
|label13-1 =
|content13-2 ={{{|}}}
|group14 =
|label14-1 =
|content14-2 ={{{|}}}
|group15 =
|label15-1 =
|content15-2 ={{{|}}}
|group16 =
|label16-1 =
|content16-2 ={{{|}}}
|group17 =
|label17-1 =
|content17-2 ={{{|}}}
|group18 =
|label18-1 =
|content18-2 ={{{|}}}
|group19 =
|label19-1 =
|content19-2 ={{{|}}}
|group20 =
|label20-1 =
|content20-2 ={{{|}}}
|group21 =
|label21-1 =
|content21-2 ={{{|}}}
|group22 =
|label22-1 =
|content22-2 ={{{|}}}
|group23 =
|label23-1 =
|content23-2 ={{{|}}}
|group24 =
|label24-1 =
|content24-2 ={{{|}}}
|group25 =
|label25-1 =
|content25-2 ={{{|}}}
|group26 =
|label26-1 =
|content26-2 ={{{|}}}
|group27 =
|label27-1 =
|content27-2 ={{{|}}}
|group28 =
|label28-1 =
|content28-2 ={{{|}}}
|group29 =
|label29-1 =
|content29-2 ={{{|}}}
|group30 =
|label30-1 =
|content30-2 ={{{|}}}
|group31 =
|label31-1 =
|content31-2 ={{{|}}}
|group32 =
|label32-1 =
|content32-2 ={{{|}}}
|group33 =
|label33-1 =
|content33-2 ={{{|}}}
|group34 =
|label34-1 =
|content34-2 ={{{|}}}
|group35 =
|label35-1 =
|content35-2 ={{{|}}}
|group36 =
|label36-1 =
|content36-2 ={{{|}}}
|group37 =
|label37-1 =
|content37-2 ={{{|}}}
|group38 =
|label38-1 =
|content38-2 ={{{|}}}
|group39 =
|label39-1 =
|content39-2 ={{{|}}}
|group40 =
|label40-1 =
|content40-2 ={{{|}}}
|group41 =
|label41-1 =
|content41-2 ={{{|}}}
|group42 =
|label42-1 =
|content42-2 ={{{|}}}
|group43 =
|label43-1 =
|content43-2 ={{{|}}}
|label44-1 =
|content44-2 ={{{|}}}
}}
Technisches
- Diese Vorlage ist ziemlich kompliziert. Bearbeiten erfordert ein gutes Verständnis der Parserfunktionen und der Wikisyntax.
- Hilfsvorlagen:
- {{Abb}}: Turns abbreviations into game names.
- {{Abblink}}: Generates links to overview pages based on abbreviations.
- {{Infobox/aux}}: Generates a "content"/"label" row.
- {{Infobox/aux2}}: Generates "group" tables and header rows.
- {{Infobox/aux3}}: Generates an "image" row.
- Verwendete Erweiterungen:
- Die standardisierte Dokumentation für Vorlagen basiert auf dieser:
Technisches
- Hilfsvorlage: {{Abb}}, {{Abblink}}
- Die standardisierte Dokumentation für Vorlagen basiert auf dieser: {{Infobox/doc/standard}}

