Template:Ergebnis: Difference between revisions
Template page
More actions
default form |
Einheiten kg/lb |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
{{#cargo_declare:_table=Ergebnisse | {{#cargo_declare:_table=Ergebnisse | ||
|Athlet=Page|Datum=Date|Wettkampf=String|Disziplin=String | |Athlet=Page|Datum=Date|Wettkampf=String|Disziplin=String | ||
|Equipment=String|Gewicht=Float|VideoID=String|AnalyseToken=String}} | |Equipment=String|Gewicht=Float|Einheit=String|GewichtKg=Float | ||
|VideoID=String|AnalyseToken=String}} | |||
{{#default_form:Ergebnis}} | {{#default_form:Ergebnis}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Ergebnisse}} | </noinclude><includeonly>{{#cargo_store:_table=Ergebnisse | ||
|Athlet={{{Athlet|}}}|Datum={{{Datum|}}}|Wettkampf={{{Wettkampf|}}} | |||
|Disziplin={{{Disziplin|}}}|Equipment={{{Equipment|}}} | |||
|Gewicht={{{Gewicht|}}}|Einheit={{{Einheit|kg}}} | |||
|GewichtKg={{#ifeq:{{{Einheit|kg}}}|lb|{{#expr:{{{Gewicht|0}}}*0.45359237 round 1}}|{{{Gewicht|0}}}}} | |||
|VideoID={{{VideoID|}}}|AnalyseToken={{{AnalyseToken|}}}}} | |||
<div class="pw-post"> | <div class="pw-post"> | ||
<div class="pw-post-kopf">{{{Disziplin|}}} {{{Gewicht|}}} kg{{#if:{{{Equipment|}}}| · {{{Equipment}}}|}}</div> | <div class="pw-post-kopf">{{{Disziplin|}}} {{{Gewicht|}}} {{{Einheit|kg}}}{{#ifeq:{{{Einheit|kg}}}|lb| ({{#expr:{{{Gewicht|0}}}*0.45359237 round 1}} kg)|}}{{#if:{{{Equipment|}}}| · {{{Equipment}}}|}}</div> | ||
<div class="pw-post-meta">[[{{{Athlet|}}}]] · {{{Wettkampf|}}} · {{{Datum|}}}</div> | <div class="pw-post-meta">[[{{{Athlet|}}}]] · {{{Wettkampf|}}} · {{{Datum|}}}</div> | ||
{{#if:{{{VideoID|}}}|<div class="pw- | {{#if:{{{VideoID|}}}|<div class="pw-video">{{#widget:YouTube|id={{#explode:{{#explode:{{#replace:{{#replace:{{#replace:{{{VideoID}}}|https://youtu.be/|}}|https://www.youtube.com/watch?v=|}}|https://www.youtube.com/shorts/|}}|?|0}}|&|0}}}}</div>|}} | ||
{{#if:{{{AnalyseToken|}}}|<div class="pw- | {{#if:{{{AnalyseToken|}}}|<div class="pw-chips"><span class="pw-chip">Bar-Path-Analyse</span></div><div class="pw-video">{{#widget:LiftVideo|token={{{AnalyseToken}}}}}</div>|}} | ||
</div> | </div> | ||
[[Category:Ergebnis]] | [[Category:Ergebnis]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 12:49, 21 July 2026
This template defines the table "Ergebnisse". View table.