×
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:Rating/doc: Unterschied zwischen den Versionen

    Tritt unserem Discord bei und informiere dich auf unserem Twitter-Kanal über die aktuellsten Themen rund um Fallout!
    Hoschie02 (Diskussion | Beiträge)
    Die Seite wurde neu angelegt: „<noinclude>{{Documentationpage}}</noinclude> Template for displaying an image-based (star) rating system. Supports scales with up to 10 images (and half-steps)…“
     
    Jspoelstra (Diskussion | Beiträge)
    Keine Bearbeitungszusammenfassung
     
    Zeile 1: Zeile 1:
    <noinclude>{{Documentationpage}}</noinclude>
    <noinclude>{{Dokumentationsseite}}</noinclude>
    Template for displaying an image-based (star) rating system. Supports scales with up to 10 images (and half-steps).
    Template for displaying an image-based (star) rating system. Supports scales with up to 10 images (and half-steps).



    Aktuelle Version vom 17. August 2014, 16:01 Uhr

    Template for displaying an image-based (star) rating system. Supports scales with up to 10 images (and half-steps).

    Usage

    {{Rating|3|10}}

    Parameters

    Teilweise oder zumindest einmal erforderlich
    (Standard: "0")
    <unnamed 1>
    The actual rating. For example, for a rating of 3 on a scale of 6, this would be "3". Any number with decimal places will result in a "half" rating being displayed. Cannot exceed <unnamed 2.
    Optional
    (Standard: "5")
    <unnamed 2>
    The rating scale. For example, for a rating of 3 on a scale of 6, this would be "6". Cannot exceed 10.
    Optional
    (Standard: "Icon optional.png")
    icon empty
    Name of icon (without "File:" prefix) which represents the equivalent of a "half" star.
    Optional
    (Standard: "Icon required.png")
    icon full
    Name of icon (without "File:" prefix) which represents the equivalent of a full star.
    Optional
    icon half
    Name of icon (without "File:" prefix) which represents the equivalent of an empty star.
    Optional
    (Standard: "14x14px")
    icon size
    Determines size of icons.
    Optional
    (Standard: "<unnamed 1>/<unnamed 2>")
    tooltip
    Tooltip which should be displayed when hovering over the icons.

    Examples

    {{Rating|3}}

    results in: 3

    {{Rating|2|6}}

    results in: 2

    {{Rating|6.5|8}}

    results in: 6.5