Vorlage:Infobox: Unterschied zwischen den Versionen

Aus FreeWiki
Wechseln zu: Navigation, Suche
[gesichtete Version][gesichtete Version]
(Die Seite wurde neu angelegt: „<onlyinclude>{| class="infobox toccolours float-right toptextcells" style="margin: 0 0 .5em 1em; font-size: 85%; border-spacing:1px;" |- | colspan="3" style="t…“)
 
(Der Seiteninhalt wurde durch einen anderen Text ersetzt: „<noinclude> This is the "Infobox" template. It should be called in the following format: <pre> {{Benutzer |Vorname= |Nachname= |Gebu…“)
(Markierung: Ersetzt)
Zeile 1: Zeile 1:
<onlyinclude>{| class="infobox toccolours float-right toptextcells" style="margin: 0 0 .5em 1em; font-size: 85%; border-spacing:1px;"
+
<noinclude>
|-
+
This is the "Infobox" template.
| colspan="3" style="text-align: center; font-size: large;" class="fn" | {{#if: {{{kurzname|}}} | {{{kurzname}}} | {{#invoke:WLink|getArticleBase}} }}
+
It should be called in the following format:
|-
+
<pre>
{{#if: {{{bild|}}}{{{bildname|}}}  |
+
{{Benutzer
{{!}} colspan="3" style="text-align:center;" {{!}} {{#if: {{{bild|}}}
+
|Vorname=
| {{{bild}}}{{#ifeq:{{NAMESPACENUMBER}}|0
+
|Nachname=
  | <span style="display: none;">[[Vorlage:Infobox Fußballspieler/Wartung/Parameter Bild|<nowiki/>]]<nowiki/></span>
+
|Geburtsort=
}}
+
|Geburtstag=
}}{{#if: {{{bildname|}}}|{{#switch:{{{bildname|}}}
+
|E-Mail-Adresse=
| ABFRAGE_WIKIDATA = {{#if:{{#invoke:Wikidata|getValue|P18|{{{bildname|}}}}}|[[Datei:{{#invoke:Wikidata|getValue|P18|{{{bildname|}}}}}|rand|{{#if:{{{bildbreite|}}}|{{{bildbreite|}}}|250x250px}}]]}}
 
| #default = [[Datei:{{{bildname|}}}|rand|{{#if:{{{bildbreite|}}}|{{{bildbreite|}}}|250x250px}}]]
 
}}}}{{#if:{{{bildunterschrift|}}}
 
| <div>{{{bildunterschrift}}}</div>
 
}}
 
}}
 
|-
 
! colspan="3" style="background: #B0C4DE; text-align: center;" | Personalia
 
|-
 
{{#if: {{{langname|}}} |
 
{{!}} '''Name'''
 
{{!}} colspan="2" {{!}} {{{langname}}}
 
}}
 
|-
 
{{#if: {{{geburtstag|}}} |
 
{{!}} '''Geburtstag'''
 
{{!}} colspan="2" {{!}} {{#ifexpr:{{Str find|{{{geburtstag|}}}|ABFRAGE_WIKIDATA}} > 0 | {{#invoke:Wikidata|claim|P569|parameter=time:[[j. F]] [[Y]]}} | {{{geburtstag|}}}}}
 
}}
 
|-
 
{{#if: {{{geburtsland|}}}{{{geburtsort|}}} |
 
{{!}} '''Geburtsort'''
 
{{!}} colspan="2" {{!}} {{#if:{{{geburtsort| }}}|{{#invoke:Wikidata|getValue|P19|{{{geburtsort|}}}|parameter=link}},&nbsp;}}{{{geburtsland}}}
 
}}
 
|-
 
{{#if: {{{sterbedatum|}}} |
 
{{!}} '''Sterbedatum'''
 
{{!}} colspan="2" {{!}} {{#invoke:Wikidata|getValue|P570|{{{sterbedatum|}}}}}
 
}}
 
|-
 
{{#if: {{{sterbeland|}}}{{{sterbeort|}}} |
 
{{!}} '''Sterbeort'''
 
{{!}} colspan="2" {{!}} {{#if:{{{sterbeort| }}}|{{#invoke:Wikidata|getValue|P20|{{{sterbeort|}}}|parameter=link}},&nbsp;}}{{{sterbeland}}}
 
 
}}
 
}}
 +
</pre>
 +
Edit the page to see the template text.
 +
</noinclude>
 +
<includeonly>{| class="wikitable"
 +
! <span style="font-size: larger;">{{PAGENAME}}</span>
 
|-
 
|-
{{#if: {{{größe|}}} |
+
! Vorname
{{!}} '''Größe'''
+
| {{{Vorname|}}}
{{!}} colspan="2" {{!}} {{{größe}}} | {{#if: {{{grösse|}}} |
 
{{!}} '''Grösse'''
 
{{!}} colspan="2" {{!}} {{{grösse}}}
 
}} }}
 
|-
 
{{#if: {{{position|}}} |
 
{{!}} '''Position'''
 
{{!}} colspan="2" {{!}} {{{position|}}}
 
}}
 
 
|-
 
|-
{{#if: {{{jugendvereine_tabelle|}}} |
+
! Nachname
! colspan="3" style="background: #B0C4DE; text-align: center;" {{!}} {{#ifeq:{{{mw|}}}|w
+
| {{{Nachname|}}}
| Juniorinnen
 
| Junioren
 
}}
 
{{!}}-
 
{{!}} '''Jahre'''
 
{{!}} colspan="2" {{!}} '''Station'''
 
{{!}}-
 
{{{jugendvereine_tabelle}}}
 
}}
 
 
|-
 
|-
{{#if: {{{vereine_tabelle|}}} |
+
! Geburtsort
! colspan="3" style="background: #B0C4DE; text-align: center;" {{!}} {{#ifeq:{{{mw|}}}|w
+
| {{{Geburtsort|}}}
| Frauen
 
| Herren
 
}}
 
{{!}}-
 
{{!}} '''Jahre'''
 
{{!}} '''Station'''
 
{{!}} style="text-align: right;" {{!}} '''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}}}}}
 
}}
 
{{#if: {{{indoor_tabelle|}}} |
 
! colspan="3" style="background: #B0C4DE; text-align: center;" {{!}} Indoor
 
{{!}}-
 
{{!}} '''Jahre'''
 
{{!}} '''Station'''
 
{{!}} style="text-align: right;" {{!}} '''Spiele&nbsp;(Tore)<sup style="font-size: 80%;">1</sup>'''
 
{{!}}-
 
{{{indoor_tabelle}}}
 
}}
 
 
|-
 
|-
{{#if: {{{nationalmannschaft_tabelle|}}} |
+
! Geburtstag
! colspan="3" style="background: #B0C4DE; text-align: center;" {{!}} Nationalmannschaft
+
| {{{Geburtstag|}}}
{{!}}-
 
{{!}} '''Jahre'''
 
{{!}} '''Auswahl'''
 
{{!}} style="text-align: right;" {{!}} '''Spiele&nbsp;(Tore){{#if:{{{nmupdate|}}} | <sup style="font-size: 80%;">2</sup>}}'''
 
{{!}}-
 
{{!}}-
 
{{#ifexpr:{{Str find|{{{nationalmannschaft_tabelle|}}}|ABFRAGE_WIKIDATA}} > 0 | {{#invoke:Vorlage:Infobox Fußballspieler|Teamliste|nationalteams=ja}} | {{{nationalmannschaft_tabelle}}}}}
 
}}
 
 
|-
 
|-
{{#if: {{{trainer_tabelle|}}} |
+
! E-Mail-Adresse
! colspan="3" style="background: #B0C4DE; text-align: center;" {{!}} Stationen als Trainer{{#ifeq:{{{mw|}}}|w|in}}
+
| {{{E-Mail-Adresse|}}}
{{!}}-
 
{{!}} '''Jahre'''
 
{{!}} colspan="2" {{!}} '''Station'''
 
{{!}}-
 
{{{trainer_tabelle}}}
 
}}
 
 
|-
 
|-
{{#if:{{{vereine_tabelle|}}}{{{nmupdate|}}} |
+
|}
{{!}} colspan="3" style="color: #555555; font-size: 80%; text-align: center;"{{!}} {{#if:{{{vereine_tabelle|}}}
 
| <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}}}}}}}}}}}
 
{{#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}}}}}
 
|<!-- (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}}}}}}}}}
 
}}}}
 
}}
 
|} {{#ifeq: {{NAMESPACENUMBER}} | 0 |<!--
 
Wartungskategorie, falls Wikidata-Anbindung:
 
-->{{#ifexpr: {{Str find|{{{bildname|}}}{{{geburtstag|}}}{{{geburtsort|}}}{{{sterbedatum|}}}{{{sterbeort|}}}{{{vereine_tabelle|}}}{{{nationalmannschaft_tabelle|}}}{{{lgupdate|}}}{{{nmupdate|}}}|ABFRAGE_WIKIDATA}} > 0 |[[Kategorie:Wikipedia:Infobox Fußballspieler mit Daten aus Wikidata]]
 
}}<!--
 
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|}}} |
 
<div style="display: none;">[[Vorlage:Infobox Fußballspieler/Wartung/Veraltete Parameter|<nowiki/>]]<nowiki/></div>
 
}} {{#if: {{{bild|}}}{{{bildname|}}} ||
 
<div style="display: none;">[[Vorlage:Infobox Fußballspieler/Wartung/Bild fehlt|<nowiki/>]]<nowiki/></div>
 
}}
 
}}{{Wikidata image|1={{{bildname|}}}{{{bild|}}} }}</onlyinclude>
 
  
{{Dokumentation}}
+
[[Category:Person]]
 +
</includeonly>

Version vom 12. Juli 2018, 12:19 Uhr

This is the "Infobox" template. It should be called in the following format:

{{Benutzer
|Vorname=
|Nachname=
|Geburtsort=
|Geburtstag=
|E-Mail-Adresse=
}}

Edit the page to see the template text.