אין תקציר עריכה |
מ (החלפת טקסט – "Games_Catalog" ב־"Football_Games") |
||
| שורה 4: | שורה 4: | ||
-->{{#cargo_query: | -->{{#cargo_query: | ||
tables= | tables=Football_Games, Games_Events | ||
|join on= | |join on=Football_Games._pageID=Games_Events._pageID | ||
|where=1=1 | |where=1=1 | ||
AND Games_Events.PlayerName= "{{{שחקן|}}}" | AND Games_Events.PlayerName= "{{{שחקן|}}}" | ||
AND Games_Events.Team = 1 | AND Games_Events.Team = 1 | ||
{{#if: {{{מפעל|}}}| AND | {{#if: {{{מפעל|}}}| AND Football_Games.Competition IN ({{#var:SameCompetitions}}) }} | ||
|fields={{#if: {{{שלוף לספירה|}}}| | |fields={{#if: {{{שלוף לספירה|}}}| Football_Games.Season| CONCAT('[[', Football_Games.Season, ']]') }} | ||
|group by= | |group by=Football_Games.Season | ||
|{{#if: {{{שלוף לספירה|}}}| no html| }} | |{{#if: {{{שלוף לספירה|}}}| no html| }} | ||
}}<!-- | }}<!-- | ||
גרסה מ־22:01, 1 בספטמבר 2022
תבנית זו אחראית להחזיר את העונות שבהן שיחק שחקן מסוים.
פרמטרים:
שלוף לספירה="כן" (השאר ריק אחרת, לא לשלוח "לא") ישלח אם נרצה להיות מסוגלים לספור את מספר העונות (לא יוחזר קוד עם html) שיאפשר להשתמש בתבנית:סטטיסטיקה/שליפות/כמות רשומות
שחקן=שם השחקן שלגביו נרצה לברר באילו עונות שיחק.