Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Athlet: Difference between revisions

Template page
cat fix
Tag: Replaced
Fester Ergebnis-Button
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
$(curl -s "https://www.powerlifting-wikipedia.org/w/index.php?title=Template:Athlet&action=raw" | sed 's/Kategorie:/Category:/g')
<noinclude>
{{#cargo_declare:_table=Athleten
|Vorname=String|Nachname=String|Foto=File|Geburtsjahr=Integer
|Geschlecht=String|Land=String|Verein=String|Gewichtsklasse=String
|TrainiertSeit=Integer|Bio=Text}}
{{#default_form:Athlet}}
</noinclude><includeonly>{{#cargo_store:_table=Athleten}}
<div class="pw-profil">
<div class="pw-cover"></div>
<div class="pw-kopf">
<div class="pw-avatar-zeile">
<div class="pw-avatar">{{#if:{{{Foto|}}}|[[File:{{{Foto}}}|80x80px|link=]]|<div class="pw-avatar-leer">{{#sub:{{{Vorname|}}}|0|1}}{{#sub:{{{Nachname|}}}|0|1}}</div>}}</div>
<div>
<div class="pw-name">{{{Vorname|}}} {{{Nachname|}}}</div>
<div class="pw-sub">{{{Land|}}}{{#if:{{{TrainiertSeit|}}}| · {{{TrainiertSeit}}}|}}</div>
</div>
</div>
<div class="pw-chips">
{{#if:{{{Gewichtsklasse|}}}|<span class="pw-chip">{{{Gewichtsklasse}}} kg</span>|}}
{{#if:{{{Verein|}}}|<span class="pw-chip">{{{Verein}}}</span>|}}
{{#if:{{{Geburtsjahr|}}}|<span class="pw-chip">{{{Geburtsjahr}}}</span>|}}
</div>
<div class="pw-bio">{{{Bio|''Noch keine Geschichte hinterlegt.''}}}</div>
</div>
</div>
 
{{#cargo_query:tables=Ergebnisse|fields=_pageName|where=Athlet='{{FULLPAGENAME}}'|order by=Datum DESC|format=template|template=Ergebnis-Feed|default=<div class="pw-post">Noch keine Videos.</div>}}
 
<div style="margin:14px 0">[{{fullurl:Special:FormEdit/Ergebnis|Ergebnis%5BAthlet%5D={{FULLPAGENAMEE}}}} <span class="pw-cta">➕ Ergebnis eintragen</span>]</div>
 
[[Category:Athlet]]
</includeonly>

Latest revision as of 09:09, 21 July 2026

This template defines the table "Athleten". View table.