Vorlage:Infobox Fußballspieler: Unterschied zwischen den Versionen

Zurück zur alten Version - Anm.: vermutlich etwas einfacher als Basis zur Integration der '*_tabelle'-Parameter nutzbar
Keine Bearbeitungszusammenfassung
(Zurück zur alten Version - Anm.: vermutlich etwas einfacher als Basis zur Integration der '*_tabelle'-Parameter nutzbar)
Markierung: Rückgängigmachung
Zeile 1: Zeile 1:
<onlyinclude>{| class="infobox toccolours float-right toptextcells" style="margin: 0 0 .5em 1em; font-size: 85%; border-spacing:1px 1px;"
<onlyinclude>{| class="infobox toccolours float-right toptextcells" style="margin: 0 0 .5em 1em; font-size: 85%;"
|-
|-
| colspan="3" style="text-align: center; font-size: large;" class="fn" | {{#if: {{{kurzname|}}} | {{{kurzname}}} | {{#invoke:WLink|getArticleBase}} }}
| colspan="3" style="text-align: center; font-size: large;" class="fn" | {{#if: {{{kurzname|}}} | {{{kurzname}}} | {{PAGENAME}} }}
|-
|-
{{#if: {{{bildname|}}}  |
{{#if: {{{bild|}}}{{{bildname|}}}  |
{{!}} colspan="3" style="text-align:center;" {{!}} {{#if: {{{bildname|}}}|{{#switch:{{{bildname|}}}
{{!}} colspan="3" align="center" {{!}} {{#if: {{{bild|}}}
| ABFRAGE_WIKIDATA = {{#if:{{#invoke:Wikidata|getValue|P18|{{{bildname|}}}}}|[[Datei:{{#invoke:Wikidata|getValue|P18|{{{bildname|}}}}}|rand|{{#if:{{{bildbreite|}}}|{{{bildbreite|}}}|250x250px}}|alt=]][[Kategorie:Wikipedia:Infobox Fußballspieler mit Daten aus Wikidata]][[Kategorie:Wikipedia:Seite verwendet P18]]}}
| {{{bild}}}{{#ifeq:{{NAMESPACE}}|{{ns:0}}
| #default = [[Datei:{{{bildname|}}}|rand|{{#if:{{{bildbreite|}}}|{{{bildbreite|}}}|250x250px}}|alt=]]
  | <span style="display: none;">[[Vorlage:Infobox Fußballspieler/Wartung/Parameter Bild|&#xFEFF;]]</span>
}}}}{{#if:{{{bildunterschrift|}}}
| <div>{{{bildunterschrift}}}</div>
  }}
  }}
}}{{#if: {{{bildname|}}}
| [[Datei:{{{bildname}}}|rand|{{#if:{{{bildbreite|}}} | {{{bildbreite|}}} | 250x250px}}|alternativtext=|&nbsp;]]
}}{{#if: {{{bildunterschrift|}}}
| <p> {{{bildunterschrift}}} </p>
}}
| {{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display: none;">[[Vorlage:Infobox Fußballspieler/Wartung/Bild fehlt|&#xFEFF;]]</span>}}
}}
}}
|-
|-
! colspan="3" style="background: #B0C4DE; text-align: center;" | Personalia
! colspan="3" style="background: #b0c4de; text-align: center;" | {{#ifeq:{{{mw|}}}|w
| Informationen über die Spielerin
| Spielerinformationen
}}
|-
|-
{{#if: {{{langname|}}} |
{{#if: {{{langname|}}} |
Zeile 21: Zeile 28:
{{#if: {{{geburtstag|}}} |
{{#if: {{{geburtstag|}}} |
{{!}} '''Geburtstag'''
{{!}} '''Geburtstag'''
{{!}} colspan="2" {{!}} {{#ifexpr:{{Str find|{{{geburtstag|}}}|ABFRAGE_WIKIDATA}} >= 0 | {{#invoke:Wikidata|claim|P569|parameter=time:[[j. F]] [[Y]]}} | {{{geburtstag|}}}}}
{{!}} colspan="2" {{!}} {{{geburtstag}}}
}}
}}
|-
|-
{{#if: {{{geburtsland|}}}{{{geburtsort|}}}|{{#if:{{#ifexpr:{{Str find|{{{geburtsort|}}}{{{geburtsland|}}}|ABFRAGE_WIKIDATA}} >= 0 |{{#invoke:Vorlage:Infobox Fußballspieler|Birthplace}} | ja}}|
{{#if: {{{geburtsland|}}}{{{geburtsort|}}} |
{{!}} '''Geburtsort'''
{{!}} '''Geburtsort'''
{{!}} colspan="2" {{!}} {{#ifexpr:{{Str find|{{{geburtsort|}}}{{{geburtsland|}}}|ABFRAGE_WIKIDATA}} >= 0 | {{#invoke:Vorlage:Infobox Fußballspieler|Birthplace}} | {{#if:{{{geburtsort|}}}|{{{geburtsort|}}},&nbsp;}}{{{geburtsland|}}} }}  
{{!}} colspan="2" {{!}} {{#if:{{{geburtsort| }}}|{{{geburtsort}}},&nbsp;}}{{{geburtsland}}}
}} }}
}}
|-
|-
{{#if: {{{sterbedatum|}}} |
{{#if: {{{sterbedatum|}}} |
{{!}} '''Sterbedatum'''
{{!}} '''Sterbedatum'''
{{!}} colspan="2" {{!}} {{#ifexpr:{{Str find|{{{sterbedatum|}}}|ABFRAGE_WIKIDATA}} >= 0 | {{#invoke:Wikidata|claim|P570|parameter=time:[[j. F]] [[Y]]}} | {{{sterbedatum|}}}}}
{{!}} colspan="2" {{!}} {{{sterbedatum}}}
}}
}}
|-
|-
{{#if: {{{sterbeland|}}}{{{sterbeort|}}} |
{{#if: {{{sterbeland|}}}{{{sterbeort|}}} |
{{!}} '''Sterbeort'''
{{!}} '''Sterbeort'''
{{!}} colspan="2" {{!}} {{#ifexpr:{{Str find|{{{sterbeort|}}}{{{sterbeland|}}}|ABFRAGE_WIKIDATA}} >= 0 | {{#invoke:Vorlage:Infobox Fußballspieler|Deathplace}} | {{#if:{{{sterbeort|}}}|{{{sterbeort|}}},&nbsp;}}{{{sterbeland|}}} }}  
{{!}} colspan="2" {{!}} {{#if:{{{sterbeort| }}}|{{{sterbeort}}},&nbsp;}}{{{sterbeland}}}
}}
}}
|-
|-
{{#if: {{{größe|}}} |
{{#if: {{{größe|}}} |
{{!}} '''Größe'''
{{!}} '''Größe'''
{{!}} colspan="2" {{!}} {{#if:{{{größe|}}}|{{#invoke:Wikidata|getValue|P2048|{{{größe|}}}|parameter=amount}} {{#invoke:Wikidata|labelOf|{{#invoke:Wikidata|getValue|P2048|{{{größe|}}}|parameter=unit}}}}}} | {{#if: {{{grösse|}}} |
{{!}} colspan="2" {{!}} {{{größe}}}
{{!}} '''Grösse'''
}}
{{!}} colspan="2" {{!}} {{#if:{{{grösse|}}}|{{FormatNum|{{#invoke:Wikidata|getValue|P2048|{{{grösse|}}}|parameter=amount}}|ch}} {{#invoke:Wikidata|labelOf|{{#invoke:Wikidata|getValue|P2048|{{{grösse|}}}|parameter=unit}}}}}}
}} {{#if:{{Boolandnot|{{#invoke:Wikidata|getValue|P2048|{{{größe|}}}{{{grösse|}}}}}|{{{größe|}}}{{{grösse|}}}}}|[[Kategorie:Wikipedia:Infobox Fußballspieler mit Daten aus Wikidata]][[Kategorie:Wikipedia:Seite verwendet P2048]] }} }}
|-
|-
{{#if: {{{position|}}} |
{{#if: {{{position|}}} |
{{!}} '''Position'''
{{!}} '''Position'''
{{!}} colspan="2" {{!}} {{#if:{{{position|}}}|{{#invoke:Wikidata|getValue|P413|{{{position|}}}|parameter=link}}}}
{{!}} colspan="2" {{!}} {{{position}}}
}}
}}
|-
|-
{{#if: {{{jugendvereine_tabelle|}}} |
{{#if: {{{jugendvereine|}}} |
! colspan="3" style="background: #B0C4DE; text-align: center;" {{!}} {{#ifeq:{{{mw|}}}|w
! colspan="3" style="background: #b0c4de;" {{!}} Vereine in der Jugend
| Juniorinnen
| Junioren
}}
{{!}}-
{{!}}-
{{!}} '''Jahre'''
{{!}} {{{jugendjahre}}}
{{!}} colspan="2" style="padding:0 0 0 10px;" {{!}} '''Station'''
{{!}} colspan="2" {{!}} {{{jugendvereine}}}
{{!}}-
{{{jugendvereine_tabelle}}}
}}
}}
|-
|-
{{#if: {{{college_tabelle|}}} |
{{#if: {{{vereine|}}} |
! colspan="3" style="background: #B0C4DE; text-align: center;" {{!}} College
! colspan="3" style="background: #b0c4de;" {{!}} Vereine als Aktive{{#ifeq:{{{mw|}}}|w||r}}
{{!}}-
{{!}}-
{{!}} '''Jahre'''
{{!}} '''Jahre'''
{{!}} style="padding:0 0 0 10px;" {{!}}'''College-Team'''
{{!}} '''Verein'''
{{!}} style="text-align: right;" {{!}} '''Spiele&nbsp;(Tore)'''
{{!}} style="text-align: right;" {{!}} '''Spiele&nbsp;(Tore)<sup style="font-size: 80%;">1</sup>'''
{{!}}-
{{!}}-
{{{college_tabelle}}}
{{!}} {{{jahre}}}
{{!}} {{{vereine}}}
{{!}} style="text-align: right;" {{!}} {{{spiele (tore)}}}
}}
}}
|-
|-
{{#if: {{{vereine_tabelle|}}} |
{{#if: {{{indoor vereine|}}} |
! colspan="3" style="background: #B0C4DE; text-align: center;" {{!}} {{#ifeq:{{{mw|}}}|w
! colspan="3" style="background: #b0c4de;" {{!}} Indoor-Vereine als Aktive{{#ifeq:{{{mw|}}}|w||r}}
| Frauen
| Herren
}}
{{!}}-
{{!}}-
{{!}} '''Jahre'''
{{!}} '''Jahre'''
{{!}} style="padding:0 0 0 10px;" {{!}}'''Station'''
{{!}} '''Indoor-Verein'''
{{!}} style="text-align: right;" {{!}} '''Spiele&nbsp;(Tore)<sup style="font-size: 80%;">1</sup>'''
{{!}} style="text-align: right;" {{!}} '''Indoor-Spiele&nbsp;(Tore)<sup style="font-size: 80%;">1</sup>'''
{{!}}-
{{!}}-
{{#ifexpr:{{Str find|{{{vereine_tabelle|}}}|ABFRAGE_WIKIDATA}} >= 0 | {{#invoke:Vorlage:Infobox Fußballspieler|Teamliste}} |{{{vereine_tabelle}}}}}
{{!}} {{{indoor jahre}}}
{{!}} {{{indoor vereine}}}
{{!}} style="text-align: right;" {{!}} {{{indoor spiele (tore)}}}
}}
}}
{{#if: {{{indoor_tabelle|}}} |
|-
! colspan="3" style="background: #B0C4DE; text-align: center;" {{!}} Indoor
{{#if: {{{nationalmannschaft|}}} |
{{!}}-
! colspan="3" style="background: #b0c4de; text-align: center;" {{!}} Nationalmannschaft{{#if:{{{nmupdate|}}} |
{{!}} '''Jahre'''
<sup style="font-size: 80%;">{{#if:{{{vereine|}}}|2|1}}</sup>
{{!}} style="padding:0 0 0 10px;" {{!}}'''Station'''
{{!}} style="text-align: right;" {{!}} '''Spiele&nbsp;(Tore)<sup style="font-size: 80%;">1</sup>'''
{{!}}-
{{{indoor_tabelle}}}
}}
}}
|-
{{#if: {{{nationalmannschaft_tabelle|}}} |
! colspan="3" style="background: #B0C4DE; text-align: center;" {{!}} Nationalmannschaft
{{!}}-
{{!}}-
{{!}} '''Jahre'''
{{!}} {{{nationaljahre}}}
{{!}} style="padding:0 0 0 10px;" {{!}}'''Auswahl'''
{{!}} {{{nationalmannschaft}}}
{{!}} style="text-align: right;" {{!}} '''Spiele&nbsp;(Tore){{#if:{{{nmupdate|}}} | <sup style="font-size: 80%;">2</sup>}}'''
{{!}} align="right" {{!}} {{{länderspiele (tore)}}}
{{!}}-
{{!}}-
{{#ifexpr:{{Str find|{{{nationalmannschaft_tabelle|}}}|ABFRAGE_WIKIDATA}} >= 0 | {{#invoke:Vorlage:Infobox Fußballspieler|Teamliste|nationalteams=ja}} | {{{nationalmannschaft_tabelle}}}}}
}}
}}
|-
|-
{{#if: {{{trainer_tabelle|}}} |
{{#if: {{{trainerjahre|}}}{{{trainervereine|}}} |
! colspan="3" style="background: #B0C4DE; text-align: center;" {{!}} Stationen als Trainer{{#ifeq:{{{mw|}}}|w|in}}
! colspan="3" style="background: #b0c4de;" {{!}} Stationen als Trainer{{#ifeq:{{{mw|}}}|w|in}}
{{!}}-
{{!}}-
{{!}} '''Jahre'''
{{!}} {{{trainerjahre}}}
{{!}} colspan="2" style="padding:0 0 0 10px;" {{!}}'''Station'''
{{!}} colspan="2" {{!}} {{{trainervereine}}}
{{!}}-
{{#ifexpr:{{Str find|{{{trainer_tabelle|}}}|ABFRAGE_WIKIDATA}} >= 0 | {{#invoke:Vorlage:Infobox Fußballspieler|Teamliste|trainerteams=ja}} |{{{trainer_tabelle}}}}}
}}
}}
|-
|-
{{#if:{{{vereine_tabelle|}}}{{{nmupdate|}}} |
{{#if:{{{vereine|}}}{{{nmupdate|}}} |
{{!}} colspan="3" style="color: #555555; font-size: 80%; text-align: center;"{{!}} {{#if:{{{vereine_tabelle|}}}
{{!}} colspan="3" style="color: #555555; font-size: 80%; text-align: center;"{{!}} {{#if:{{{vereine|}}}
  | <sup>1</sup> Angegeben sind nur Ligaspiele. {{#if:{{{lgupdate|}}} |
  | <sup>1</sup> Angegeben sind nur Liga-Spiele. {{#if:{{{lgupdate|}}} |
   <br /> Stand: {{#ifexpr:{{Str find|{{{lgupdate|}}}|ABFRAGE_WIKIDATA}} >= 0 |<span class="wikidata-content">{{#iferror:{{FormatDate|{{#invoke:Vorlage:Infobox Fußballspieler|Update}}}}}}</span> | {{#iferror:{{FormatDate|{{{lgupdate}}}}}|{{{lgupdate}}}}}}}}}}}
   <br /> Stand: {{{lgupdate}}}
{{#if:{{{nmupdate|}}} |
  }} {{#if:{{{nmupdate|}}} |
   <sup>2</sup> Stand: {{#ifexpr:{{Str find|{{{nmupdate|}}}|ABFRAGE_WIKIDATA}} >= 0 | <span class="wikidata-content">{{#iferror:{{FormatDate|{{#invoke:Vorlage:Infobox Fußballspieler|Update|nationalteams=ja}}}}|n.a.}}</span> | {{#iferror:{{FormatDate|{{{nmupdate}}}}}|{{{nmupdate}}}}}
   <br /><sup>2</sup> Stand: {{{nmupdate}}}
  |<!-- (vereine || nmupdate) && !vereine --> <sup>1</sup> Stand: {{#ifexpr:{{Str find|{{{nmupdate|}}}|ABFRAGE_WIKIDATA}} >= 0 | {{FormatDate|{{#invoke:Vorlage:Infobox Fußballspieler|Update|nationalteams=ja}}}}| {{#iferror:{{FormatDate|{{{nmupdate}}}}}}}}}
  }}
  }}}}
  |<!-- (vereine || nmupdate) && !vereine --> <sup>1</sup> Stand: {{{nmupdate}}}
  }}
}}
}}
|} {{#ifeq: {{NAMESPACENUMBER}} | 0 |<!--
|}<!-- Wartungslinks:
Wartungskategorie, falls Wikidata-Anbindung:
-->{{#if: {{{jetztverein|}}}{{{trikotnummer|}}}{{{update|}}}{{{spitzname|}}} |
-->{{#ifexpr: {{Str find|{{{geburtstag|}}}{{{geburtsort|}}}{{{sterbedatum|}}}{{{sterbeort|}}}{{{vereine_tabelle|}}}{{{nationalmannschaft_tabelle|}}}{{{lgupdate|}}}{{{nmupdate|}}}|ABFRAGE_WIKIDATA}} >= 0 |[[Kategorie:Wikipedia:Infobox Fußballspieler mit Daten aus Wikidata]]
<span style="display: none;">[[Vorlage:Infobox Fußballspieler/Veraltete Parameter]]</span>
}}<!--
 
WIKIDATA-WARTUNG
Hier können Wikidata-Checks und Kategorisierungen eingebaut werden, wenn beispielsweise Daten aus der Infobox von den Angaben auf Wikidata abweichen. Dies ist in der Regel ein Fehler entweder auf Wikidata oder im Artikel.
-->{{Wikidata image|1={{{bildname|}}} }}<!--  
 
Wartungslinks:
-->{{#if: {{{jetztverein|}}}{{{trikotnummer|}}}{{{update|}}}{{{spitzname|}}}{{{jugendvereine|}}}{{{jugendjahre|}}}{{{vereine|}}}{{{jahre|}}}{{{spiele (tore)|}}}{{{indoor vereine|}}}{{{indoor jahre|}}}{{{indoor spiele (tore)|}}}{{{nationalmannschaft|}}}{{{nationaljahre|}}}{{{länderspiele (tore)|}}}{{{trainervereine|}}}{{{trainerjahre|}}}{{{bild|}}} |
[[Kategorie:Wikipedia:Vorlagenfehler/Vorlage:Infobox Fußballspieler]]
}}
}}</onlyinclude>
}}</onlyinclude>


{{Dokumentation}}
{{Dokumentation}}
3.065

Bearbeitungen