پرش به محتوا

پودمان:AlborzSports/Data: تفاوت میان نسخه‌ها

از ویکی البرز
صفحه‌ای تازه حاوی «-------------------------------------------------------------------------------- -- Module:AlborzSports/Data -- Wiki Alborz Sports Information System -- Version 2.1 -------------------------------------------------------------------------------- local p = {} -------------------------------------------------------------------------------- -- META -------------------------------------------------------------------------------- p.meta...» ایجاد کرد
 
جزبدون خلاصۀ ویرایش
خط ۳۶۲: خط ۳۶۲:


p.layouts = {}
p.layouts = {}
--------------------------------------------------------------------------------
-- LAYOUT TITLES
--------------------------------------------------------------------------------
p.layoutTitles = {
    base = "اطلاعات شخصی",
    physical = "مشخصات فیزیکی",
    education = "تحصیلات",
    player = "اطلاعات ورزشی",
    coach = "سوابق مربیگری",
    referee = "سوابق داوری",
    manager = "مدیریت ورزشی",
    club = "اطلاعات باشگاه",
    academy = "اطلاعات آکادمی",
    management = "مدیریت",
    location = "موقعیت",
    contact = "ارتباطات",
    honors = "افتخارات",
    stadium = "اطلاعات ورزشگاه",
    gym = "اطلاعات سالن ورزشی",
    pool = "اطلاعات استخر",
    zurkhaneh = "اطلاعات زورخانه",
    sports_school = "مدرسه ورزشی",
    sports_complex = "مجموعه ورزشی",
    facility = "مجموعه ورزشی",
    board = "هیئت ورزشی",
    competition = "اطلاعات مسابقات"
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------

نسخهٔ ‏۳ اوت ۲۰۲۶، ساعت ۲۲:۰۶

توضیحات این پودمان می‌تواند در پودمان:AlborzSports/Data/توضیحات قرار گیرد.

--------------------------------------------------------------------------------
-- Module:AlborzSports/Data
-- Wiki Alborz Sports Information System
-- Version 2.1
--------------------------------------------------------------------------------

local p = {}

--------------------------------------------------------------------------------
-- META
--------------------------------------------------------------------------------

p.meta = {

    title = "جعبه اطلاعات ورزش",

    class = "infobox sport-infobox",

    imageWidth = "250px"

}

--------------------------------------------------------------------------------
-- DEFAULT VALUES
--------------------------------------------------------------------------------

p.defaults = {

    country = "ایران",

    nationality = "ایرانی",

    entity_type = "player",

    image_width = "250px"

}

--------------------------------------------------------------------------------
-- LOOKUP
--------------------------------------------------------------------------------

p.lookup = {

--------------------------------------------------------------------------------
-- Identity
--------------------------------------------------------------------------------

    id                          = "id",
    ["شناسه"]                   = "id",

    name                        = "name",
    ["نام"]                     = "name",

    fullname                    = "fullname",
    full_name                   = "fullname",
    ["نام کامل"]                = "fullname",

    native_name                 = "native_name",
    ["نام بومی"]                = "native_name",

    english_name                = "english_name",
    ["نام انگلیسی"]             = "english_name",

    nickname                    = "nickname",
    ["لقب"]                     = "nickname",

--------------------------------------------------------------------------------
-- Image
--------------------------------------------------------------------------------

    image                       = "image",
    ["تصویر"]                   = "image",

    caption                     = "caption",
    ["زیرنویس"]                 = "caption",

    image_width                 = "image_width",
    image_size                  = "image_width",
    ["اندازه تصویر"]            = "image_width",

--------------------------------------------------------------------------------
-- Entity
--------------------------------------------------------------------------------

    entity_type                 = "entity_type",

    type                        = "entity_type",

    ["نوع"]                     = "entity_type",

    ["گونه"]                    = "entity_type",

    ["رده"]                     = "entity_type",

--------------------------------------------------------------------------------
-- Personal Information
--------------------------------------------------------------------------------

    country                     = "country",
    ["کشور"]                    = "country",

    nationality                 = "nationality",
    ["ملیت"]                    = "nationality",

    birth_date                  = "birth_date",
    ["زادروز"]                  = "birth_date",
    ["تاریخ تولد"]              = "birth_date",

    birth_place                 = "birth_place",
    ["محل تولد"]                = "birth_place",

    death_date                  = "death_date",
    ["درگذشت"]                  = "death_date",

    death_place                 = "death_place",
    ["محل درگذشت"]              = "death_place",

    hometown                    = "hometown",
    ["زادگاه"]                  = "hometown",

    residence                   = "residence",
    ["محل سکونت"]               = "residence",

--------------------------------------------------------------------------------
-- Physical
--------------------------------------------------------------------------------

    height                      = "height",
    ["قد"]                      = "height",

    weight                      = "weight",
    ["وزن"]                     = "weight",

    handed                      = "handed",
    ["دست غالب"]                = "handed",

    foot                        = "foot",
    ["پای تخصصی"]               = "foot",

--------------------------------------------------------------------------------
-- Education
--------------------------------------------------------------------------------

    education                   = "education",
    ["تحصیلات"]                 = "education",

    university                  = "university",
    ["دانشگاه"]                 = "university",

--------------------------------------------------------------------------------
-- Contact
--------------------------------------------------------------------------------

    phone                       = "phone",
    ["تلفن"]                    = "phone",

    email                       = "email",
    ["رایانامه"]                = "email",

    website                     = "website",
    ["وبگاه"]                   = "website",
    ["وب‌گاه"]                  = "website",

    instagram                   = "instagram",
    ["اینستاگرام"]              = "instagram",

    telegram                    = "telegram",
    ["تلگرام"]                  = "telegram",

    aparat                      = "aparat",
    ["آپارات"]                  = "aparat",

    x                           = "x",
    twitter                     = "x",
    ["ایکس"]                    = "x",

--------------------------------------------------------------------------------
-- General Sport
--------------------------------------------------------------------------------

    sport                       = "sport",
    ["ورزش"]                    = "sport",

    discipline                  = "discipline",
    ["رشته"]                    = "discipline",

    category                    = "category",
    ["رده ورزشی"]               = "category",

    years_active                = "years_active",
    ["سال‌های فعالیت"]          = "years_active",
--------------------------------------------------------------------------------
-- Player
--------------------------------------------------------------------------------

    position                    = "position",
    ["پست"]                     = "position",

    number                      = "number",
    ["شماره"]                   = "number",

    current_club                = "current_club",
    ["باشگاه فعلی"]             = "current_club",

    former_clubs                = "former_clubs",
    ["باشگاه‌های پیشین"]        = "former_clubs",

    club                        = "club",
    ["باشگاه"]                  = "club",

    team                        = "team",
    ["تیم"]                     = "team",

    national_team               = "national_team",
    ["تیم ملی"]                 = "national_team",

--------------------------------------------------------------------------------
-- Coach
--------------------------------------------------------------------------------

    coach_position              = "coach_position",
    ["سمت مربیگری"]             = "coach_position",

    coaching_license            = "coaching_license",
    ["درجه مربیگری"]            = "coaching_license",

    coaching_history            = "coaching_history",
    coaching                    = "coaching_history",
    ["سوابق مربیگری"]           = "coaching_history",

    coaching_clubs              = "coaching_clubs",
    ["باشگاه‌های مربیگری"]      = "coaching_clubs",

--------------------------------------------------------------------------------
-- Referee
--------------------------------------------------------------------------------

    referee_grade               = "referee_grade",
    ["درجه داوری"]              = "referee_grade",

    referee_years               = "referee_years",
    ["سال‌های داوری"]           = "referee_years",

    committee                   = "committee",
    ["کمیته"]                   = "committee",

    major_events                = "major_events",
    ["رقابت‌های مهم"]           = "major_events",

--------------------------------------------------------------------------------
-- Sports Management
--------------------------------------------------------------------------------

    management_position         = "management_position",
    ["سمت مدیریتی"]             = "management_position",

    management_term             = "management_term",
    ["دوره مدیریت"]             = "management_term",

    founder                     = "founder",
    ["بنیانگذار"]               = "founder",

    operator                    = "operator",
    ["بهره‌بردار"]              = "operator",

--------------------------------------------------------------------------------
-- Club
--------------------------------------------------------------------------------

    established                 = "established",
    ["تأسیس"]                   = "established",

    owner                       = "owner",
    ["مالک"]                    = "owner",

    president                   = "president",
    ["رئیس"]                    = "president",

    ceo                         = "ceo",
    ["مدیرعامل"]                = "ceo",

    head_coach                  = "head_coach",
    ["سرمربی"]                  = "head_coach",

    stadium                     = "stadium",
    ["ورزشگاه"]                 = "stadium",

    capacity                    = "capacity",
    ["ظرفیت"]                   = "capacity",

--------------------------------------------------------------------------------
-- Sports Facilities
--------------------------------------------------------------------------------

    facility_type               = "facility_type",
    ["نوع مجموعه"]              = "facility_type",

    province                    = "province",
    ["استان"]                   = "province",

    city                        = "city",
    ["شهر"]                     = "city",

    district                    = "district",
    ["منطقه"]                   = "district",

    address                     = "address",
    ["نشانی"]                   = "address",

    coordinates                 = "coordinates",
    ["مختصات"]                  = "coordinates",

--------------------------------------------------------------------------------
-- Federation / Board
--------------------------------------------------------------------------------

    federation                  = "federation",
    ["فدراسیون"]                = "federation",

    board                       = "board",
    ["هیئت"]                    = "board",

    chairman                    = "chairman",
    ["رئیس هیئت"]               = "chairman",
--------------------------------------------------------------------------------
-- Competition
--------------------------------------------------------------------------------

    competition                 = "competition",
    ["مسابقات"]                 = "competition",

    season                      = "season",
    ["فصل"]                     = "season",

    champion                    = "champion",
    ["قهرمان"]                  = "champion",

    runner_up                   = "runner_up",
    ["نایب قهرمان"]             = "runner_up",

    level                       = "level",
    ["سطح مسابقات"]             = "level",

--------------------------------------------------------------------------------
-- Honors
--------------------------------------------------------------------------------

    honors                      = "honors",
    ["افتخارات"]                = "honors",

    medals                      = "medals",
    ["مدال‌ها"]                 = "medals",

    medaltemplates              = "medaltemplates",

}

--------------------------------------------------------------------------------
-- LAYOUTS
--------------------------------------------------------------------------------

p.layouts = {}

--------------------------------------------------------------------------------
-- LAYOUT TITLES
--------------------------------------------------------------------------------

p.layoutTitles = {

    base = "اطلاعات شخصی",

    physical = "مشخصات فیزیکی",

    education = "تحصیلات",

    player = "اطلاعات ورزشی",

    coach = "سوابق مربیگری",

    referee = "سوابق داوری",

    manager = "مدیریت ورزشی",

    club = "اطلاعات باشگاه",

    academy = "اطلاعات آکادمی",

    management = "مدیریت",

    location = "موقعیت",

    contact = "ارتباطات",

    honors = "افتخارات",

    stadium = "اطلاعات ورزشگاه",

    gym = "اطلاعات سالن ورزشی",

    pool = "اطلاعات استخر",

    zurkhaneh = "اطلاعات زورخانه",

    sports_school = "مدرسه ورزشی",

    sports_complex = "مجموعه ورزشی",

    facility = "مجموعه ورزشی",

    board = "هیئت ورزشی",

    competition = "اطلاعات مسابقات"

}

--------------------------------------------------------------------------------
-- Base Information
--------------------------------------------------------------------------------

p.layouts.base = {

    {"نام",                    "name"},
    {"نام کامل",               "fullname"},
    {"نام بومی",               "native_name"},
    {"نام انگلیسی",            "english_name"},
    {"لقب",                    "nickname"},

    {"ملیت",                   "nationality"},
    {"کشور",                   "country"},

    {"زادروز",                 "birth_date"},
    {"محل تولد",               "birth_place"},

    {"درگذشت",                 "death_date"},
    {"محل درگذشت",             "death_place"},

    {"زادگاه",                 "hometown"},
    {"محل سکونت",              "residence"}

}

--------------------------------------------------------------------------------
-- Physical
--------------------------------------------------------------------------------

p.layouts.physical = {

    {"قد",                     "height"},
    {"وزن",                    "weight"},
    {"دست غالب",               "handed"},
    {"پای تخصصی",              "foot"}

}

--------------------------------------------------------------------------------
-- Education
--------------------------------------------------------------------------------

p.layouts.education = {

    {"تحصیلات",                "education"},
    {"دانشگاه",                "university"}

}

--------------------------------------------------------------------------------
-- Player
--------------------------------------------------------------------------------

p.layouts.player = {

    {"ورزش",                   "sport"},
    {"رشته",                   "discipline"},

    {"پست",                    "position"},
    {"شماره",                  "number"},

    {"باشگاه فعلی",            "current_club"},
    {"باشگاه‌های پیشین",       "former_clubs"},

    {"تیم ملی",                "national_team"},

    {"سال‌های فعالیت",         "years_active"}

}

--------------------------------------------------------------------------------
-- Coach
--------------------------------------------------------------------------------

p.layouts.coach = {

    {"ورزش",                   "sport"},
    {"رشته",                   "discipline"},

    {"سمت مربیگری",            "coach_position"},

    {"درجه مربیگری",           "coaching_license"},

    {"سوابق مربیگری",          "coaching_history"},

    {"باشگاه‌های مربیگری",     "coaching_clubs"},

    {"سال‌های فعالیت",         "years_active"}

}

--------------------------------------------------------------------------------
-- Referee
--------------------------------------------------------------------------------

p.layouts.referee = {

    {"ورزش",                   "sport"},
    {"رشته",                   "discipline"},

    {"درجه داوری",             "referee_grade"},

    {"سال‌های داوری",          "referee_years"},

    {"کمیته",                  "committee"},

    {"رقابت‌های مهم",          "major_events"}

}
--------------------------------------------------------------------------------
-- Sports Manager
--------------------------------------------------------------------------------

p.layouts.manager = {

    {"ورزش",                   "sport"},
    {"رشته",                   "discipline"},

    {"سمت مدیریتی",             "management_position"},

    {"باشگاه",                  "club"},

    {"دوره مدیریت",             "management_term"}

}

--------------------------------------------------------------------------------
-- Management
--------------------------------------------------------------------------------

p.layouts.management = {

    {"مالک",                   "owner"},
    {"رئیس",                   "president"},
    {"مدیرعامل",               "ceo"},
    {"بنیانگذار",              "founder"},
    {"بهره‌بردار",             "operator"}

}

--------------------------------------------------------------------------------
-- Location
--------------------------------------------------------------------------------

p.layouts.location = {

    {"استان",                  "province"},
    {"شهر",                    "city"},
    {"منطقه",                  "district"},
    {"نشانی",                  "address"},
    {"مختصات",                 "coordinates"}

}

--------------------------------------------------------------------------------
-- Contact
--------------------------------------------------------------------------------

p.layouts.contact = {

    {"تلفن",                   "phone"},
    {"رایانامه",               "email"},
    {"وبگاه",                  "website"},
    {"اینستاگرام",             "instagram"},
    {"تلگرام",                 "telegram"},
    {"آپارات",                 "aparat"},
    {"ایکس",                   "x"}

}

--------------------------------------------------------------------------------
-- Honors
--------------------------------------------------------------------------------

p.layouts.honors = {

    {"افتخارات",               "honors"},
    {"مدال‌ها",                "medaltemplates"}

}

--------------------------------------------------------------------------------
-- Club
--------------------------------------------------------------------------------

p.layouts.club = {

    {"ورزش",                   "sport"},
    {"رشته",                   "discipline"},
    {"تأسیس",                  "established"},
    {"سرمربی",                 "head_coach"},
    {"ورزشگاه",                "stadium"},
    {"ظرفیت",                  "capacity"}

}

--------------------------------------------------------------------------------
-- Academy
--------------------------------------------------------------------------------

p.layouts.academy = {

    {"ورزش",                   "sport"},
    {"رشته",                   "discipline"},
    {"تأسیس",                  "established"},
    {"مربیان",                 "coaching_history"}

}

--------------------------------------------------------------------------------
-- Stadium
--------------------------------------------------------------------------------

p.layouts.stadium = {

    {"نوع مجموعه",             "facility_type"},
    {"ورزش",                   "sport"},
    {"تأسیس",                  "established"},
    {"ظرفیت",                  "capacity"}

}

--------------------------------------------------------------------------------
-- Gym
--------------------------------------------------------------------------------

p.layouts.gym = {

    {"نوع مجموعه",             "facility_type"},
    {"تأسیس",                  "established"},
    {"ظرفیت",                  "capacity"}

}

--------------------------------------------------------------------------------
-- Swimming Pool
--------------------------------------------------------------------------------

p.layouts.pool = {

    {"نوع مجموعه",             "facility_type"},
    {"تأسیس",                  "established"}

}

--------------------------------------------------------------------------------
-- Zurkhaneh
--------------------------------------------------------------------------------

p.layouts.zurkhaneh = {

    {"نوع مجموعه",             "facility_type"},
    {"تأسیس",                  "established"}

}

--------------------------------------------------------------------------------
-- Sports School
--------------------------------------------------------------------------------

p.layouts.sports_school = {

    {"ورزش",                   "sport"},
    {"رشته",                   "discipline"},
    {"تأسیس",                  "established"}

}

--------------------------------------------------------------------------------
-- Sports Complex
--------------------------------------------------------------------------------

p.layouts.sports_complex = {

    {"نوع مجموعه",             "facility_type"},
    {"تأسیس",                  "established"},
    {"ظرفیت",                  "capacity"}

}

--------------------------------------------------------------------------------
-- Facility (Generic)
--------------------------------------------------------------------------------

p.layouts.facility = {

    {"نوع مجموعه",             "facility_type"},
    {"تأسیس",                  "established"},
    {"ظرفیت",                  "capacity"}

}

--------------------------------------------------------------------------------
-- Federation / Sports Board
--------------------------------------------------------------------------------

p.layouts.board = {

    {"ورزش",                   "sport"},
    {"فدراسیون",               "federation"},
    {"رئیس هیئت",              "chairman"}

}

--------------------------------------------------------------------------------
-- Competition
--------------------------------------------------------------------------------

p.layouts.competition = {

    {"ورزش",                   "sport"},
    {"رشته",                   "discipline"},
    {"فصل",                    "season"},
    {"قهرمان",                 "champion"},
    {"نایب قهرمان",            "runner_up"},
    {"سطح مسابقات",            "level"}

}
--------------------------------------------------------------------------------
-- ENTITIES
--------------------------------------------------------------------------------

p.entities = {

--------------------------------------------------------------------------------
-- PLAYER
--------------------------------------------------------------------------------

player = {

    type = "player",

    title = "بازیکن",

    layouts = {

        "base",
        "physical",
        "education",
        "player",
        "honors",
        "contact"

    }

},

--------------------------------------------------------------------------------
-- COACH
--------------------------------------------------------------------------------

coach = {

    type = "coach",

    title = "مربی",

    layouts = {

        "base",
        "physical",
        "education",
        "coach",
        "honors",
        "contact"

    }

},

--------------------------------------------------------------------------------
-- REFEREE
--------------------------------------------------------------------------------

referee = {

    type = "referee",

    title = "داور",

    layouts = {

        "base",
        "physical",
        "education",
        "referee",
        "honors",
        "contact"

    }

},

--------------------------------------------------------------------------------
-- SPORTS MANAGER
--------------------------------------------------------------------------------

manager = {

    type = "manager",

    title = "مدیر ورزشی",

    layouts = {

        "base",
        "education",
        "manager",
        "honors",
        "contact"

    }

},

--------------------------------------------------------------------------------
-- CLUB
--------------------------------------------------------------------------------

club = {

    type = "club",

    title = "باشگاه ورزشی",

    layouts = {

        "club",
        "management",
        "location",
        "contact"

    }

},

--------------------------------------------------------------------------------
-- ACADEMY
--------------------------------------------------------------------------------

academy = {

    type = "academy",

    title = "آکادمی ورزشی",

    layouts = {

        "academy",
        "management",
        "location",
        "contact"

    }

},

--------------------------------------------------------------------------------
-- STADIUM
--------------------------------------------------------------------------------

stadium = {

    type = "stadium",

    title = "ورزشگاه",

    layouts = {

        "stadium",
        "location",
        "contact"

    }

},

--------------------------------------------------------------------------------
-- GYMNASIUM
--------------------------------------------------------------------------------

gym = {

    type = "gym",

    title = "سالن ورزشی",

    layouts = {

        "gym",
        "location",
        "contact"

    }

},

--------------------------------------------------------------------------------
-- SWIMMING POOL
--------------------------------------------------------------------------------

pool = {

    type = "pool",

    title = "استخر",

    layouts = {

        "pool",
        "location",
        "contact"

    }

},

--------------------------------------------------------------------------------
-- ZURKHANEH
--------------------------------------------------------------------------------

zurkhaneh = {

    type = "zurkhaneh",

    title = "زورخانه",

    layouts = {

        "zurkhaneh",
        "location",
        "contact"

    }

},

--------------------------------------------------------------------------------
-- SPORTS SCHOOL
--------------------------------------------------------------------------------

sports_school = {

    type = "sports_school",

    title = "مدرسه ورزشی",

    layouts = {

        "sports_school",
        "management",
        "location",
        "contact"

    }

},

--------------------------------------------------------------------------------
-- SPORTS COMPLEX
--------------------------------------------------------------------------------

sports_complex = {

    type = "sports_complex",

    title = "مجموعه ورزشی",

    layouts = {

        "sports_complex",
        "management",
        "location",
        "contact"

    }

},

--------------------------------------------------------------------------------
-- FACILITY
--------------------------------------------------------------------------------

facility = {

    type = "facility",

    title = "مجموعه ورزشی",

    layouts = {

        "facility",
        "location",
        "contact"

    }

},

--------------------------------------------------------------------------------
-- SPORTS BOARD
--------------------------------------------------------------------------------

board = {

    type = "board",

    title = "هیئت ورزشی",

    layouts = {

        "board",
        "management",
        "location",
        "contact"

    }

},

--------------------------------------------------------------------------------
-- COMPETITION
--------------------------------------------------------------------------------

competition = {

    type = "competition",

    title = "مسابقات",

    layouts = {

        "competition",
        "location",
        "contact"

    }

}

}

--------------------------------------------------------------------------------
-- VERSION
--------------------------------------------------------------------------------

p.version = {

    major = 2,

    minor = 1,

    name = "AlborzSports"

}

--------------------------------------------------------------------------------
-- EXPORT
--------------------------------------------------------------------------------

return p