תבנית:סטטיסטיקה/שליפות/מתקדמות/עונות שבהן שיחק שחקן: הבדלים בין גרסאות בדף
מתוך מכביפדיה
אין תקציר עריכה
אין תקציר עריכה
שורה 9: שורה 9:
AND Games_Events.PlayerName= "{{{שחקן|}}}"
AND Games_Events.PlayerName= "{{{שחקן|}}}"
AND Games_Events.Team = 1
AND Games_Events.Team = 1
{{#if: {{{מפעל|}}}| AND Games_Catalog.CompID IN ({{#var:SameCompetitions}}) }}
{{#if: {{{מפעל|}}}| AND Games_Catalog.Competition IN ({{#var:SameCompetitions}}) }}
|fields={{#if: {{{שלוף לספירה|}}}| Games_Catalog.Season| CONCAT('[[', Games_Catalog.Season, ']]') }}
|fields={{#if: {{{שלוף לספירה|}}}| Games_Catalog.Season| CONCAT('[[', Games_Catalog.Season, ']]') }}
|group by=Games_Catalog.Season
|group by=Games_Catalog.Season

גרסה מ־09:44, 8 באוגוסט 2021

תבנית זו אחראית להחזיר את העונות שבהן שיחק שחקן מסוים.

פרמטרים:
שלוף לספירה="כן" (השאר ריק אחרת, לא לשלוח "לא") ישלח אם נרצה להיות מסוגלים לספור את מספר העונות (לא יוחזר קוד עם html) שיאפשר להשתמש בתבנית:סטטיסטיקה/שליפות/כמות רשומות
שחקן=שם השחקן שלגביו נרצה לברר באילו עונות שיחק.