Tritt unserem Discord bei und informiere dich auf unserem Twitter-Kanal über die aktuellsten Themen rund um Fallout!
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)…“ |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<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
| Diese Seite enthält Informationen zur Verwendung für Vorlage:Rating. |
Template for displaying an image-based (star) rating system. Supports scales with up to 10 images (and half-steps).
Usage
{{Rating|3|10}}
Parameters
(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.(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.
(Standard: "Icon optional.png")
icon emptyName of icon (without "File:" prefix) which represents the equivalent of a "half" star.
(Standard: "Icon required.png")
icon fullName of icon (without "File:" prefix) which represents the equivalent of a full star.
(Standard: "Icon semi-required.png")
icon halfName of icon (without "File:" prefix) which represents the equivalent of an empty star.
(Standard: "14x14px")
icon sizeDetermines size of icons.
(Standard: "
tooltip<unnamed 1>/<unnamed 2>")Tooltip which should be displayed when hovering over the icons.
Examples
{{Rating|3}}
results in:
{{Rating|2|6}}
results in:
{{Rating|6.5|8}}
results in: