update bzw. übersetzung |
K update |
||
| Zeile 92: | Zeile 92: | ||
==Beispiel== | ==Beispiel== | ||
{{Infobox | {{Infobox | ||
|title = | |title =Beispieltitel | ||
|titlehead = | |titlehead =Waffe | ||
|titleheadlink = | |titleheadlink =Waffen | ||
|image =Wiki.png | |image =Wiki.png | ||
|image_px =100px | |image_px =100px | ||
|data = | |data = | ||
{{Datarow| | {{Datarow|Beispiellabel|Beispielinhalt}} | ||
|extra = | |extra =Beispielfußnote | ||
}} | }} | ||
<pre> | <pre> | ||
{{infobox | {{infobox | ||
|title = | |title =Beispieltitel | ||
|titlehead =Waffe | |titlehead =Waffe | ||
|titleheadlink =Waffen | |titleheadlink =Waffen | ||
Version vom 2. August 2011, 09:45 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
{{Infobox
|title ={{{title|empty}}}
|titlehead =Beispiel
|titleheadlink =Beispiele
|image ={{{image|empty}}}
|image_px ={{{image_px|}}}
|data =
{{Datarow|Beispiellabel|Beispielinhalt}}
|extra =Beispielfußnote
}}
Most of the parameters should usually be passed down from the "end" infobox (i.e. the ones directly used in articles). The exceptions are "technical" parameters which determine the look of the infobox itself (columns, data, titlehead, titleheadlink, width).
Parameters
data rows.titlehead. For usage details, please see titleheadlink below.title, titlehead and subtitle.icon.data.width-25)x(width-25)px")image, e.g. "250px". If set to "noresize", the image will be displayed at its original size. Be careful not to make this wider than the infobox itself (see width below).title.title. Titleheads can be created dynamically by using the parameters game, game2 etc (up to game5). For details, see titleheadlink below.titlehead to an overview page (like Weapon). When used in conjunction with game parameters, 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 titlehead to "weapon" and titleheadlink to "weapons", you can then let the editor in the respective article specify the game parameters and it will link to the correct overview page (e.g. "Fallout 3 weapons" if the editor enters "FO3").Komponenten
Für Details darüber, wie man die Bestandteile verwendet, siehe ihre jeweiligen Seiten.
- {{Datarow}}
- {{Datarow double}}
- {{Datarow optional}}
- {{Data2row}}
- {{Data3row}}
- {{Dataheader}}
- {{Dataheader optional}}
Siehe auch: Kategorie:Infoboxkomponenten.
Beispiel
Fehler im Ausdruck: Unerwarteter Operator <Fehler im Ausdruck: Unerwarteter Operator <Fehler im Ausdruck: Unerwarteter Operator <Fehler im Ausdruck: Unerwarteter Operator <Fehler im Ausdruck: Unerwarteter Operator <
Beispieltitel | ||||
{{infobox
|title =Beispieltitel
|titlehead =Waffe
|titleheadlink =Waffen
|image =Wiki.png
|image_px =100px
|data =
{{Datarow|Beispiellabel|Beispielinhalt}}
|extra =Beispielfußnote
}}
Technisches
- Hilfsvorlage: {{Abb}}, {{Abblink}}
- Die standardisierte Dokumentation für Vorlagen basiert auf dieser: {{Infobox/doc/standard}}