אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 1: | שורה 1: | ||
עמוד זה מרכז את כל השחקנים ואת הקטלוג שאנחנו שומרים עליהם, במקרה של מציאת טעות, תוכלו לתקן בעזרת התיעוד הנמצא ב[[תבנית:פרופיל]]. {{ש}}{{ש}} | {{תיבת טקסט | ||
|כותרת=הצגת מאפייני שחקנים | |||
|תוכן=עמוד זה מרכז את כל השחקנים ואת הקטלוג שאנחנו שומרים עליהם, במקרה של מציאת טעות, תוכלו לתקן בעזרת התיעוד הנמצא ב[[תבנית:פרופיל]]. {{ש}}{{ש}} | |||
למשל, בכדי להחשיב שחקן כלשהו כשחקן בית, נוסף בעמוד שלו (ליד שאר הפרמטרים):{{ש}} | למשל, בכדי להחשיב שחקן כלשהו כשחקן בית, נוסף בעמוד שלו (ליד שאר הפרמטרים):{{ש}} | ||
|שחקן בית=כן | |שחקן בית=כן<!--- | ||
{{#cargo_query: | This list will help us find out whether player is still active or not (we need it because this information is not stored at our cargo tables) | ||
-->{{#arraydefine:retired_players|{{#replace: {{#dpl: | |||
category=שחקנים שפרשו | |||
|mode=userformat | |||
|format=,%PAGE% +,, | |||
}} |+|,}} }}<!-- | |||
This should work but dont work somehow: | |||
CONCAT('{{#arraysearch:retired_players|Games_Events.PlayerName|0|retired|active}}')=active, | |||
-->{{#cargo_query: | |||
tables=Games_Catalog, Games_Events, Profiles | tables=Games_Catalog, Games_Events, Profiles | ||
|join on=Games_Catalog._pageID=Games_Events._pageID, Games_Events.PlayerName=Profiles._pageName | |join on=Games_Catalog._pageID=Games_Events._pageID, Games_Events.PlayerName=Profiles._pageName | ||
| שורה 9: | שורה 23: | ||
AND DATE_FORMAT(Games_Catalog.Date, "%Y") > 10 | AND DATE_FORMAT(Games_Catalog.Date, "%Y") > 10 | ||
AND Games_Events.Team = 1 | AND Games_Events.Team = 1 | ||
|fields=CONCAT('[[', Games_Events.PlayerName, ']]')=שחקן, DATE_FORMAT(MIN(Games_Catalog.Date), "%Y")=שנת בכורה, | |fields=CONCAT('[[', Games_Events.PlayerName, ']]')=שחקן, | ||
Profiles.HomePlayer=שחקן בית, Profiles.WholeCareer=שיחק כל הקריירה במכבי, Profiles.ForeignPlayer=שחקן זר, Profiles.RootedPlayer=מתאזרח, | DATE_FORMAT(MIN(Games_Catalog.Date), "%Y")=שנת בכורה, | ||
Profiles.HomePlayer=שחקן בית, | |||
Profiles.WholeCareer=שיחק כל הקריירה במכבי, | |||
Profiles.ForeignPlayer=שחקן זר, | |||
Profiles.RootedPlayer=מתאזרח, | |||
Games_Catalog._pageName=משחק כלשהו של השחקן | Games_Catalog._pageName=משחק כלשהו של השחקן | ||
|group by=Games_Events.PlayerName | |group by=Games_Events.PlayerName | ||
גרסה מ־15:23, 9 באוקטובר 2020
{{תיבת טקסט
|כותרת=הצגת מאפייני שחקנים
|תוכן=עמוד זה מרכז את כל השחקנים ואת הקטלוג שאנחנו שומרים עליהם, במקרה של מציאת טעות, תוכלו לתקן בעזרת התיעוד הנמצא בתבנית:פרופיל.
למשל, בכדי להחשיב שחקן כלשהו כשחקן בית, נוסף בעמוד שלו (ליד שאר הפרמטרים):
|שחקן בית=כן
שגיאה: הטבלה Games_Catalog לא נמצאה.