×
Einen neuen Artikel erstellen
Schreibe den Seitennamen hierhin:
Wir haben derzeit 9.055 Artikel auf Vaultpedia. Gib deinen Artikelnamen oberhalb von oder klicke auf einen der unten stehenden Titel und beginne zu schreiben! ein



    Vaultpedia
    9.055Artikel

    Vorlage:Infobox/doc: Unterschied zwischen den Versionen

    Tritt unserem Discord bei und informiere dich auf unserem Twitter-Kanal über die aktuellsten Themen rund um Fallout!
    Richy8964 (Diskussion | Beiträge)
    Keine Bearbeitungszusammenfassung
    Bloodbearer (Diskussion | Beiträge)
    Zeile 28: Zeile 28:


    {{Docparam|name=desc ++ desc2|req=no|default=|desc=
    {{Docparam|name=desc ++ desc2|req=no|default=|desc=
    Description for the corresponding <code>image</code>, displayed below the image.
    Beschreibung für das entsprechende Bild, wird unter dem Bild angezeigt.
    }}
    }}



    Version vom 3. Juli 2010, 03:23 Uhr

    Meta-template used for constructing infobox templates. 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.

    Usage

    {{Infobox
    |title         ={{{title|empty}}}
    |titlehead     =example
    |titleheadlink =examples
    |image         ={{{image|empty}}}
    |image_px      ={{{image_px|}}}
    |data          =
    {{Datarow|Example label|Example content}}
    |extra         =Example footnote
    }}
    

    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

    Teilweise oder zumindest einmal erforderlich
    (Standard: "2")
    columns
    Amount of columns the infobox has. This may need to be changed when using certain components".
    Erforderlich
    data
    The content rows of the infobox, specified by using the templates listed in "Components" below.
    Optional
    desc, desc2
    Beschreibung für das entsprechende Bild, wird unter dem Bild angezeigt.
    Optional
    extra, extra2
    Content of row(s) below main infobox content, i.e. below the data rows.
    Optional
    game bis game5
    Game abbreviation(s); for accepted abbreviations please see {{abb}}. These are used to create dynamic links for titlehead. For usage details, please see titleheadlink below.
    Optional
    icon
    Small image in the main infobox header, to the right of title, titlehead and subtitle.
    Optional
    (Standard: "55x55px")
    icon_px
    Dimensions (height and width) of icon.
    Optional
    image, image2
    Name of full-width image(s) (without "File:") displayed below main header and above components specified in data.
    Optional
    (Standard: "(width-25)x(width-25)px")
    image_px, image2_px
    Width of the corresponding 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).
    Optional
    subtitle
    Text in small font below title.
    Erforderlich
    title
    Main title/"headline" of the infobox.
    Optional
    titlehead
    Text in small font above title. Titleheads can be created dynamically by using the parameters game, game2 etc (up to game5). For details, see titleheadlink below.
    Optional
    titleheadlink
    This parameter links 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").
    Optional
    (Standard: "275")
    width
    Width of the infobox in pixels. Infoboxes should only be resized if really necessary in order to achieve a standardized look across all infoboxes.

    Components

    For details on how to use the components see their respective pages.

    See also: Category:Infobox components.

    Example

    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 <

    Example title
    Bild hochladen
    {{infobox
    |title         =Example title
    |titlehead     =weapon
    |titleheadlink =weapons
    |image         =Wiki.png
    |image_px      =100px
    |data          =
    {{Datarow|Example label|Example content}}
    |extra         =Example footnote
    }}
    

    Technical