Vorlage:Rangliste10
Erscheinungsbild
Template Data
Diese Vorlage dient als Grundlage für Navigationsleisten die eine Rangliste sind. Sie kann bis zu zehn Artikel mit zugehöriger Platzierung und Wertänderung darstellen (siehe Beispiele).
<templatestyles src="TOC nonum/styles.css"></templatestyles>
⧼templatedata-doc-params⧽
| ⧼templatedata-doc-param-name⧽ | ⧼templatedata-doc-param-desc⧽ | ⧼templatedata-doc-param-type⧽ | ⧼templatedata-doc-param-status⧽ | |
|---|---|---|---|---|
| Titel | Titel | Titel der Leiste | ⧼templatedata-doc-param-type-string⧽ | ⧼templatedata-doc-param-status-required⧽ |
| Stand | Stand | Stand der Rangliste | ⧼templatedata-doc-param-type-string⧽ | ⧼templatedata-doc-param-status-required⧽ |
| 1. Name | Name1 | Lemma | ⧼templatedata-doc-param-type-string⧽ | ⧼templatedata-doc-param-status-required⧽ |
| 1. Position | Position1 | Position | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-required⧽ |
| 1. Änderung | Änderung1 | Änderung | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-suggested⧽ |
| 2. Name | Name2 | Lemma | ⧼templatedata-doc-param-type-string⧽ | ⧼templatedata-doc-param-status-required⧽ |
| 2. Position | Position2 | Position | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-required⧽ |
| 2. Änderung | Änderung2 | Änderung | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-suggested⧽ |
| 3. Name | Name3 | Lemma | ⧼templatedata-doc-param-type-string⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 3. Position | Position3 | Position | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 3. Änderung | Änderung3 | Änderung | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 4. Name | Name4 | Lemma | ⧼templatedata-doc-param-type-string⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 4. Position | Position4 | Position | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 4. Änderung | Änderung4 | Änderung | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 5. Name | Name5 | Lemma | ⧼templatedata-doc-param-type-string⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 5. Position | Position5 | Position | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 5. Änderung | Änderung5 | Änderung | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 6. Name | Name6 | Lemma | ⧼templatedata-doc-param-type-string⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 6. Position | Position6 | Position | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 6. Änderung | Änderung6 | Änderung | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 7. Name | Name7 | Lemma | ⧼templatedata-doc-param-type-string⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 7. Position | Position7 | Position | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 7. Änderung | Änderung7 | Änderung | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 8. Name | Name8 | Lemma | ⧼templatedata-doc-param-type-string⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 8. Position | Position8 | Position | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 8. Änderung | Änderung8 | Änderung | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 9. Name | Name9 | Lemma | ⧼templatedata-doc-param-type-string⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 9. Position | Position9 | Position | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 9. Änderung | Änderung9 | Änderung | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 10. Name | Name10 | Lemma | ⧼templatedata-doc-param-type-string⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 10. Position | Position10 | Position | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
| 10. Änderung | Änderung10 | Änderung | ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-optional⧽ |
Verwendung
Für die Parameter Position und Änderung werden Zahlen erwartet (positiv/negativ für die Änderung).
Für den Parameter Name sind folgende Werte möglich:
Einfach NameX=ArtikelMit anderem Ziel NameX=[[Artikel|Titel]]Mit Flagge NameX={{Landeskürzel|Artikel|Titel}}
Um eine Legende einzubinden kann die {{Rangliste10/Legende}} verwendet werden.
- Kopiervorlage
{{Rangliste10
| Titel =
| Stand =
| Name1 =
| Position1 =
| Änderung1 =
| Name2 =
| Position2 =
| Änderung2 =
| Name3 =
| Position3 =
| Änderung3 =
| Name4 =
| Position4 =
| Änderung4 =
| Name5 =
| Position5 =
| Änderung5 =
| Name6 =
| Position6 =
| Änderung6 =
| Name7 =
| Position7 =
| Änderung7 =
| Name8 =
| Position8 =
| Änderung8 =
| Name9 =
| Position9 =
| Änderung9 =
| Name10 =
| Position10=
| Änderung10=
}}
Beispiele
WTA-Weltrangliste: Die zehn bestplatzierten Tennisspielerinnen im Einzel der Welt
{{Rangliste10
| Titel = WTA-Weltrangliste: Die zehn bestplatzierten Tennisspielerinnen im Einzel der Welt
| Stand = 2014-01-01
| Name1 = Serena Williams
| Position1 = 1
| Änderung1 = 0
| Name2 = [[Marija Jurjewna Scharapowa|Marija Scharapowa]]
| Position2 = 2
| Änderung2 = 0
| Name3 = Simona Halep
| Position3 = 3
| Änderung3 = 2
| Name4 = Petra Kvitová
| Position4 = 4
| Änderung4 = 0
| Name5 = [[Li Na (Tennisspielerin)|Li Na]]
| Position5 = 5
| Änderung5 = -2
| Name6 = Eugenie Bouchard
| Position6 = 6
| Änderung6 = 0
| Name7 = Agnieszka Radwańska
| Position7 = 7
| Änderung7 = 1
| Name8 = Ana Ivanović
| Position8 = 8
| Änderung8 = -1
| Name9 = Caroline Wozniacki
| Position9 = 9
| Änderung9 = 1
| Name10 = Angelique Kerber
| Position10= 10
| Änderung10= -1
}}
- Ergebnis
Vorlage:Templatetransclusioncheck
Vorlage:Klappleiste/Anfang
Serena Williams: 1 ▬ | Marija Scharapowa: 2 ▬ | Simona Halep: 3▲2 | Petra Kvitová: 4 ▬ | Li Na: 5▼2 | Eugenie Bouchard: 6 ▬ | Agnieszka Radwańska: 7▲1 | Ana Ivanović: 8▼1 | Caroline Wozniacki: 9▲1 | Angelique Kerber: 10▼1 Vorlage:Klappleiste/Ende