پرش به محتوا

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

از ویکی البرز
جزبدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
 
(۱۶ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۲: خط ۲:
-- Module:AlborzSports/Data
-- Module:AlborzSports/Data
-- Wiki Alborz Sports Information System
-- Wiki Alborz Sports Information System
-- Version 3.0
-- Data Definition
-- Version 2.2
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


خط ۱۳: خط ۱۴:
p.meta = {
p.meta = {


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


    class = "infobox sport-infobox",
class = "infobox sport-infobox",


    imageWidth = "250px"
imageWidth = "280px"


}
}
خط ۲۷: خط ۲۸:
p.defaults = {
p.defaults = {


    country = "ایران",
country = "ایران",


    nationality = "ایرانی",
nationality = "ایرانی",


    entity_type = "player",
entity_type = "player",


    image_width = "250px"
image_width = "280px"


}
}
خط ۴۳: خط ۴۴:
p.lookup = {
p.lookup = {


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Identity
-- Identity
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
 
id = "id",
["شناسه"] = "id",
 
name = "name",
["نام"] = "name",


    id                          = "id",
fullname = "fullname",
    ["شناسه"]                   = "id",
full_name = "fullname",
["نام کامل"] = "fullname",


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


    fullname                    = "fullname",
english_name = "english_name",
    full_name                  = "fullname",
latin_name = "english_name",
    ["نام کامل"]               = "fullname",
["نام انگلیسی"] = "english_name",
["نام لاتین"] = "english_name",


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


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


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


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


    image                      = "image",
caption = "caption",
    ["تصویر"]                   = "image",
["زیرنویس"] = "caption",
["توضیح تصویر"] = "caption",


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


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


--------------------------------------------------------------------------------
entity_type = "entity_type",
-- Entity
["نوع موجودیت"] = "entity_type",
--------------------------------------------------------------------------------
["نوع موجودیت ورزشی"] = "entity_type",


    entity_type                = "entity_type",
--------------------------------------------------------------------------------
-- Personal Information
--------------------------------------------------------------------------------


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


    ["نوع"]                     = "entity_type",
nationality = "nationality",
["ملیت"] = "nationality",


    ["گونه"]                   = "entity_type",
birth_date = "birth_date",
["زادروز"] = "birth_date",
["تاریخ تولد"] = "birth_date",


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


--------------------------------------------------------------------------------
death_date = "death_date",
-- Personal Information
["درگذشت"] = "death_date",
--------------------------------------------------------------------------------
["تاریخ درگذشت"] = "death_date",


    gender                      = "gender",
death_place = "death_place",
    ["جنسیت"]                   = "gender",
["محل درگذشت"] = "death_place",


    country                    = "country",
hometown = "hometown",
    ["کشور"]                   = "country",
["زادگاه"] = "hometown",


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


    birth_date                  = "birth_date",
spouse = "spouse",
    ["زادروز"]                 = "birth_date",
["همسر"] = "spouse",
    ["تاریخ تولد"]              = "birth_date",


    birth_place                = "birth_place",
children = "children",
    ["محل تولد"]               = "birth_place",
["فرزندان"] = "children",


    death_date                  = "death_date",
family = "family",
    ["درگذشت"]                 = "death_date",
["خانواده"] = "family",


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


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


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


    occupation                  = "occupation",
handed = "handed",
    ["پیشه"]                   = "occupation",
["دست غالب"] = "handed",


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


    father                      = "father",
--------------------------------------------------------------------------------
    ["پدر"]                    = "father",
-- Education
--------------------------------------------------------------------------------


    mother                      = "mother",
education = "education",
    ["مادر"]                   = "mother",
["تحصیلات"] = "education",


    parents                    = "parents",
university = "university",
    ["والدین"]                 = "parents",
["دانشگاه"] = "university",


    spouse                      = "spouse",
--------------------------------------------------------------------------------
    ["همسر"]                    = "spouse",
-- Contact
--------------------------------------------------------------------------------


    children                    = "children",
phone = "phone",
    ["فرزندان"]                 = "children",
["تلفن"] = "phone",


    siblings                    = "siblings",
email = "email",
    ["خواهران و برادران"]       = "siblings",
["رایانامه"] = "email",
["ایمیل"] = "email",


    relatives                  = "relatives",
website = "website",
    ["خویشاوندان"]             = "relatives",
["وبگاه"] = "website",
["وب‌گاه"] = "website",


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


    education                  = "education",
telegram = "telegram",
    ["تحصیلات"]                 = "education",
["تلگرام"] = "telegram",


    university                  = "university",
aparat = "aparat",
    ["دانشگاه"]                 = "university",
["آپارات"] = "aparat",


    alma_mater                  = "alma_mater",
x = "x",
    ["دانش‌آموخته"]             = "alma_mater",
twitter = "x",
["ایکس"] = "x",
["توییتر"] = "x",


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Physical
-- General Sport
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


    height                      = "height",
sport = "sport",
    ["قد"]                     = "height",
["ورزش"] = "sport",


    weight                      = "weight",
discipline = "discipline",
    ["وزن"]                     = "weight",
["رشته"] = "discipline",


    handed                      = "handed",
disciplines = "disciplines",
    ["دست غالب"]               = "handed",
["رشته‌ها"] = "disciplines",
["رشته ها"] = "disciplines",


    foot                        = "foot",
category = "category",
    ["پای تخصصی"]               = "foot",
["رده ورزشی"] = "category",


--------------------------------------------------------------------------------
activity_area = "activity_area",
-- Contact
["حوزه فعالیت"] = "activity_area",
--------------------------------------------------------------------------------


    phone                      = "phone",
years_active = "years_active",
    ["تلفن"]                   = "phone",
["سال‌های فعالیت"] = "years_active",
["سال های فعالیت"] = "years_active",


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


    website                    = "website",
murshed = "murshed",
    ["وبگاه"]                   = "website",
["مرشد"] = "murshed",
    ["وب‌گاه"]                 = "website",
["مرشد ارشد"] = "murshed",


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


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


    aparat                      = "aparat",
number = "number",
    ["آپارات"]                 = "aparat",
["شماره"] = "number",


    x                          = "x",
current_club = "current_club",
    twitter                    = "x",
["باشگاه فعلی"] = "current_club",
    ["ایکس"]                   = "x",
    --------------------------------------------------------------------------------
-- Sport
--------------------------------------------------------------------------------


    sport                      = "sport",
former_clubs = "former_clubs",
    ["ورزش"]                   = "sport",
["باشگاه‌های پیشین"] = "former_clubs",
["باشگاه های پیشین"] = "former_clubs",


    discipline                  = "discipline",
club = "club",
    ["رشته"]                   = "discipline",
["باشگاه"] = "club",


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


    years_active                = "years_active",
national_team = "national_team",
    ["سال‌های فعالیت"]         = "years_active",
["تیم ملی"] = "national_team",


    coach                      = "coach",
--------------------------------------------------------------------------------
    ["مربی"]                    = "coach",
-- Coach
--------------------------------------------------------------------------------


    debut                      = "debut",
coach_position = "coach_position",
    ["آغاز فعالیت"]             = "debut",
["سمت مربیگری"] = "coach_position",


    retirement                  = "retirement",
coaching_license = "coaching_license",
    ["بازنشستگی"]               = "retirement",
["درجه مربیگری"] = "coaching_license",


--------------------------------------------------------------------------------
coaching_history = "coaching_history",
-- Athlete (Player)
coaching = "coaching_history",
--------------------------------------------------------------------------------
["سوابق مربیگری"] = "coaching_history",


    position                    = "position",
coaching_clubs = "coaching_clubs",
    ["پست"]                     = "position",
["باشگاه‌های مربیگری"] = "coaching_clubs",
["باشگاه های مربیگری"] = "coaching_clubs",


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


    current_club                = "current_club",
referee_grade = "referee_grade",
    ["باشگاه فعلی"]             = "current_club",
["درجه داوری"] = "referee_grade",


    former_clubs                = "former_clubs",
referee_years = "referee_years",
    ["باشگاه‌های پیشین"]       = "former_clubs",
["سال‌های داوری"] = "referee_years",
["سال های داوری"] = "referee_years",


    club                        = "club",
committee = "committee",
    ["باشگاه"]                 = "club",
["کمیته"] = "committee",


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


    national_team              = "national_team",
--------------------------------------------------------------------------------
    ["تیم ملی"]                = "national_team",
-- Sports Management
--------------------------------------------------------------------------------


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


    coach_position              = "coach_position",
management_term = "management_term",
    ["سمت مربیگری"]             = "coach_position",
["دوره مدیریت"] = "management_term",


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


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


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


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Referee
-- Club
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


    referee_grade              = "referee_grade",
established = "established",
    ["درجه داوری"]             = "referee_grade",
["تأسیس"] = "established",


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


    committee                  = "committee",
president = "president",
    ["کمیته"]                   = "committee",
["رئیس"] = "president",


    major_events                = "major_events",
ceo = "ceo",
    ["رقابت‌های مهم"]           = "major_events",
["مدیرعامل"] = "ceo",


--------------------------------------------------------------------------------
head_coach = "head_coach",
-- Sports Management
["سرمربی"] = "head_coach",
--------------------------------------------------------------------------------


    management_position        = "management_position",
stadium = "stadium",
    ["سمت مدیریتی"]             = "management_position",
["ورزشگاه"] = "stadium",


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


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Club
-- Sports Facilities / Services
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


    established                = "established",
facility_type = "facility_type",
    ["تأسیس"]                   = "established",
["نوع مجموعه"] = "facility_type",


    founder                    = "founder",
facilities = "facilities",
    ["بنیانگذار"]               = "founder",
["امکانات"] = "facilities",


    owner                      = "owner",
services = "services",
    ["مالک"]                   = "owner",
["خدمات"] = "services",


    operator                    = "operator",
hours = "hours",
    ["بهره‌بردار"]             = "operator",
activity_hours = "hours",
["ساعات فعالیت"] = "hours",
["ساعت فعالیت"] = "hours",


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


    ceo                        = "ceo",
province = "province",
    ["مدیرعامل"]               = "ceo",
["استان"] = "province",


    head_coach                  = "head_coach",
city = "city",
    ["سرمربی"]                 = "head_coach",
["شهر"] = "city",


    stadium                    = "stadium",
district = "district",
    ["ورزشگاه"]                 = "stadium",
["منطقه"] = "district",


    league                      = "league",
neighborhood = "neighborhood",
    ["لیگ"]                     = "league",
["محله"] = "neighborhood",


    colors                      = "colors",
address = "address",
    ["رنگ‌ها"]                 = "colors",
["نشانی"] = "address",
["آدرس"] = "address",


    motto                      = "motto",
coordinates = "coordinates",
    ["شعار"]                   = "motto",
["مختصات"] = "coordinates",


    logo                        = "logo",
postal_code = "postal_code",
    ["نشان"]                   = "logo",
["کد پستی"] = "postal_code",


    capacity                    = "capacity",
--------------------------------------------------------------------------------
    ["ظرفیت"]                  = "capacity",
-- Federation / Board
--------------------------------------------------------------------------------


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


    facility_type              = "facility_type",
board = "board",
    ["نوع مجموعه"]             = "facility_type",
["هیئت"] = "board",


    sports                      = "sports",
chairman = "chairman",
    ["رشته‌های ورزشی"]         = "sports",
["رئیس هیئت"] = "chairman",


    surface                    = "surface",
--------------------------------------------------------------------------------
    ["سطح زمین"]                = "surface",
-- Competition
--------------------------------------------------------------------------------


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


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


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


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


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


    address                    = "address",
--------------------------------------------------------------------------------
    ["نشانی"]                  = "address",
-- Honors / Medals
--------------------------------------------------------------------------------


    coordinates                = "coordinates",
honors = "honors",
    ["مختصات"]                 = "coordinates",
["افتخارات"] = "honors",


--------------------------------------------------------------------------------
medals = "medals",
-- Federation / Sports Board
["مدال‌ها"] = "medals",
--------------------------------------------------------------------------------
["مدال ها"] = "medals",


    federation                  = "federation",
medaltemplates = "medaltemplates",
    ["فدراسیون"]               = "federation",
["الگوهای مدال"] = "medaltemplates",


    board                      = "board",
medaltemplates_title = "medaltemplates_title",
    ["هیئت"]                   = "board",
["عنوان الگوهای مدال"] = "medaltemplates_title"


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


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Competition
-- LAYOUTS
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


    competition                = "competition",
p.layouts = {}
    ["مسابقات"]                = "competition",


    season                      = "season",
--------------------------------------------------------------------------------
    ["فصل"]                    = "season",
-- LAYOUT TITLES
--------------------------------------------------------------------------------


    level                      = "level",
p.layoutTitles = {
    ["سطح مسابقات"]            = "level",


    champion                    = "champion",
base = "اطلاعات شخصی",
    ["قهرمان"]                  = "champion",


    runner_up                  = "runner_up",
physical = "مشخصات فیزیکی",
    ["نایب قهرمان"]            = "runner_up",


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


    honors                      = "honors",
player = "اطلاعات ورزشی",
    ["افتخارات"]                = "honors",


    awards                      = "awards",
coach = "سوابق مربیگری",
    ["جوایز"]                  = "awards",


    records                    = "records",
referee = "سوابق داوری",
    ["رکوردها"]                = "records",


    medals                      = "medals",
manager = "مدیریت ورزشی",
    ["مدال‌ها"]                = "medals",


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


}
academy = "اطلاعات آکادمی",
--------------------------------------------------------------------------------
-- FIELD DEFINITIONS
--------------------------------------------------------------------------------


p.fieldDefinitions = {
stadium = "اطلاعات ورزشگاه",


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


    id                  = { label = "شناسه" },
pool = "اطلاعات استخر",
    name                = { label = "نام" },
    fullname            = { label = "نام کامل" },
    native_name        = { label = "نام بومی" },
    english_name        = { label = "نام انگلیسی" },
    nickname            = { label = "لقب" },


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


    gender              = { label = "جنسیت" },
sports_school = "اطلاعات مدرسه ورزشی",
    country            = { label = "کشور" },
    nationality        = { label = "ملیت" },


    birth_date          = { label = "زادروز" },
sports_complex = "اطلاعات مجموعه ورزشی",
    birth_place        = { label = "محل تولد" },


    death_date          = { label = "درگذشت" },
facility = "اطلاعات مجموعه ورزشی",
    death_place        = { label = "محل درگذشت" },


    hometown            = { label = "زادگاه" },
management = "مدیریت",
    residence          = { label = "محل سکونت" },


    occupation          = { label = "پیشه" },
location = "موقعیت",


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


    father              = { label = "پدر" },
hours = "ساعات فعالیت",
    mother              = { label = "مادر" },
    parents            = { label = "والدین" },


    spouse              = { label = "همسر" },
honors = "افتخارات",
    children            = { label = "فرزندان" },


    siblings            = { label = "خواهران و برادران" },
board = "اطلاعات هیئت ورزشی",
    relatives          = { label = "خویشاوندان" },


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


    education          = { label = "تحصیلات" },
}
    university          = { label = "دانشگاه" },
    alma_mater          = { label = "دانش‌آموخته" },


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Physical
-- BASE
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


    height              = { label = "قد" },
p.layouts.base = {
    weight              = { label = "وزن" },
    handed              = { label = "دست غالب" },
    foot                = { label = "پای تخصصی" },


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


    sport              = { label = "ورزش" },
{"ملیت", "nationality"},
    discipline          = { label = "رشته" },
{"کشور", "country"},
    category            = { label = "رده ورزشی" },
    years_active        = { label = "سال‌های فعالیت" },


    coach              = { label = "مربی" },
{"زادروز", "birth_date"},
    debut              = { label = "آغاز فعالیت" },
{"محل تولد", "birth_place"},
    retirement          = { label = "بازنشستگی" },


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


    position            = { label = "پست" },
{"زادگاه", "hometown"},
    number              = { label = "شماره" },
{"محل سکونت", "residence"},
    current_club        = { label = "باشگاه فعلی" },
    former_clubs        = { label = "باشگاه‌های پیشین" },
    club                = { label = "باشگاه" },
    team                = { label = "تیم" },
    national_team      = { label = "تیم ملی" },


--------------------------------------------------------------------------------
{"همسر", "spouse"},
-- Coach
{"فرزندان", "children"},
--------------------------------------------------------------------------------
{"خانواده", "family"}


    coach_position      = { label = "سمت مربیگری" },
}
    coaching_license    = { label = "درجه مربیگری" },
    coaching_history    = { label = "سوابق مربیگری" },
    coaching_clubs      = { label = "باشگاه‌های مربیگری" },


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Referee
-- PHYSICAL
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


    referee_grade      = { label = "درجه داوری" },
p.layouts.physical = {
    referee_years      = { label = "سال‌های داوری" },
    committee          = { label = "کمیته" },
    major_events        = { label = "رقابت‌های مهم" },


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


    management_position = { label = "سمت مدیریتی" },
}
    management_term    = { label = "دوره مدیریت" },


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Club
-- EDUCATION
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


    established        = { label = "تأسیس" },
p.layouts.education = {
    founder            = { label = "بنیانگذار" },
    owner              = { label = "مالک" },
    operator            = { label = "بهره‌بردار" },
    president          = { label = "رئیس" },
    ceo                = { label = "مدیرعامل" },
    head_coach          = { label = "سرمربی" },
    stadium            = { label = "ورزشگاه" },
    league              = { label = "لیگ" },
    colors              = { label = "رنگ‌ها" },
    motto              = { label = "شعار" },
    logo                = { label = "نشان" },
    capacity            = { label = "ظرفیت" },


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


    facility_type      = { label = "نوع مجموعه" },
}
    sports              = { label = "رشته‌های ورزشی" },
    surface            = { label = "سطح زمین" },
    architect          = { label = "معمار" },


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Location
-- PLAYER
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


    province            = { label = "استان" },
p.layouts.player = {
    city                = { label = "شهر" },
    district            = { label = "منطقه" },
    address            = { label = "نشانی" },
    coordinates        = { label = "مختصات" },


--------------------------------------------------------------------------------
{"ورزش", "sport"},
-- Federation
{"رشته", "discipline"},
--------------------------------------------------------------------------------
{"رده ورزشی", "category"},
 
    federation          = { label = "فدراسیون" },
    board              = { label = "هیئت" },
    chairman            = { label = "رئیس هیئت" },


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


    competition        = { label = "مسابقات" },
{"باشگاه فعلی", "current_club"},
    season              = { label = "فصل" },
{"باشگاه‌های پیشین", "former_clubs"},
    level              = { label = "سطح مسابقات" },
    champion            = { label = "قهرمان" },
    runner_up          = { label = "نایب قهرمان" },
 
--------------------------------------------------------------------------------
-- Honors
--------------------------------------------------------------------------------


    honors              = { label = "افتخارات" },
{"مربی", "coach"},
    awards              = { label = "جوایز" },
    records            = { label = "رکوردها" },
    medals              = { label = "مدال‌ها" },
    medaltemplates      = { label = "مدال‌ها" },


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


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


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- LAYOUT TITLES
-- COACH
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layoutTitles = {
p.layouts.coach = {
 
    base            = "اطلاعات شخصی",
    family          = "خانواده",
    education      = "تحصیلات",
    physical        = "مشخصات فیزیکی",
    sport          = "فعالیت ورزشی",
 
    player          = "اطلاعات حرفه‌ای",
    coach          = "فعالیت مربیگری",
    referee        = "فعالیت داوری",
    manager        = "مدیریت ورزشی",
 
    club            = "اطلاعات باشگاه",
    academy        = "اطلاعات آکادمی",


    management      = "مدیریت",
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رده ورزشی", "category"},


    stadium        = "اطلاعات ورزشگاه",
{"سمت مربیگری", "coach_position"},
    gym            = "اطلاعات سالن ورزشی",
{"درجه مربیگری", "coaching_license"},
    pool            = "اطلاعات استخر",
    zurkhaneh      = "اطلاعات زورخانه",
    sports_school  = "اطلاعات مدرسه ورزشی",
    sports_complex  = "اطلاعات مجموعه ورزشی",


    board          = "هیئت ورزشی",
{"سوابق مربیگری", "coaching_history"},
    competition    = "اطلاعات مسابقات",
{"باشگاه‌های مربیگری", "coaching_clubs"},


    location        = "موقعیت",
{"سال‌های فعالیت", "years_active"}
    honors          = "افتخارات",
    contact        = "ارتباطات"


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- LAYOUTS
-- REFEREE
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts = {}
p.layouts.referee = {
 
--------------------------------------------------------------------------------
-- Base
--------------------------------------------------------------------------------


p.layouts.base = {
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رده ورزشی", "category"},


    "name",
{"درجه داوری", "referee_grade"},
    "fullname",
{"سال‌های داوری", "referee_years"},
    "native_name",
    "english_name",
    "nickname",


    "gender",
{"کمیته", "committee"},
 
{"رقابت‌های مهم", "major_events"}
    "nationality",
    "country",
 
    "birth_date",
    "birth_place",
 
    "death_date",
    "death_place",
 
    "hometown",
    "residence",
 
    "occupation"


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Family
-- SPORTS MANAGER
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.family = {
p.layouts.manager = {


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


    "spouse",
{"سمت مدیریتی", "management_position"},
    "children",
{"باشگاه", "club"},
 
{"دوره مدیریت", "management_term"}
    "siblings",
    "relatives"


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Education
-- MANAGEMENT
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.education = {
p.layouts.management = {


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


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Physical
-- LOCATION
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.physical = {
p.layouts.location = {


    "height",
{"کشور", "country"},
    "weight",
{"استان", "province"},
    "handed",
{"شهر", "city"},
    "foot"
{"منطقه", "district"},
{"محله", "neighborhood"},
{"نشانی", "address"},
{"کد پستی", "postal_code"},
{"مختصات", "coordinates"}


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Sport
-- CONTACT
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.sport = {
p.layouts.contact = {


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


    "coach",
}
 
    "years_active",
    "debut",
    "retirement"


}
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Player / Athlete
-- HOURS
--
-- IMPORTANT:
-- ساعات فعالیت فقط در این layout قرار دارد.
-- بنابراین در layoutهای club / academy / facility و غیره
-- دوباره تکرار نمی‌شود.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.player = {
p.layouts.hours = {
 
    "position",
    "number",


    "current_club",
{"ساعات فعالیت", "hours"}
    "former_clubs",
 
    "team",
    "national_team"


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Coach
-- HONORS
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.coach = {
p.layouts.honors = {
 
    "coach_position",
 
    "coaching_license",
 
    "coaching_history",


    "coaching_clubs"
{"افتخارات", "honors"}


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Referee
-- CLUB
--
-- نام و نام لاتین عمداً در این بخش هستند تا زیر هدر
-- «اطلاعات باشگاه» نیز نمایش داده شوند.
--
-- ساعات فعالیت اینجا نیست و فقط از layout.hours می‌آید.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.referee = {
p.layouts.club = {


    "referee_grade",
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع", "subtype"},


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


    "committee",
{"تأسیس", "established"},


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


}
{"حوزه فعالیت", "activity_area"},
{"رشته‌ها", "disciplines"},


--------------------------------------------------------------------------------
{"امکانات", "facilities"},
-- Sports Manager
{"خدمات", "services"}
--------------------------------------------------------------------------------
 
p.layouts.manager = {
 
    "management_position",
 
    "club",
 
    "management_term"


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Club
-- ACADEMY
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.club = {
p.layouts.academy = {
 
    "sport",
 
    "discipline",
 
    "established",
 
    "founder",


    "league",
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع", "subtype"},


    "colors",
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رشته‌ها", "disciplines"},


    "motto",
{"حوزه فعالیت", "activity_area"},


    "head_coach",
{"تأسیس", "established"},


    "stadium",
{"مربیان", "coaching_history"},


    "capacity"
{"امکانات", "facilities"},
{"خدمات", "services"}


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Academy
-- STADIUM
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.academy = {
p.layouts.stadium = {


    "sport",
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع مجموعه", "facility_type"},


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


    "established",
{"تأسیس", "established"},
{"ظرفیت", "capacity"},


    "coaching_history"
{"امکانات", "facilities"},
{"خدمات", "services"}


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Management
-- GYM
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.management = {
p.layouts.gym = {
 
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع مجموعه", "facility_type"},


    "owner",
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رشته‌ها", "disciplines"},


    "president",
{"تأسیس", "established"},
{"ظرفیت", "capacity"},


    "ceo",
{"حوزه فعالیت", "activity_area"},


    "operator"
{"امکانات", "facilities"},
{"خدمات", "services"}


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Location
-- SWIMMING POOL
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.location = {
p.layouts.pool = {
 
    "province",


    "city",
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع مجموعه", "facility_type"},


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


    "address",
{"تأسیس", "established"},
{"ظرفیت", "capacity"},


    "coordinates"
{"امکانات", "facilities"},
{"خدمات", "services"}


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Contact
-- ZURKHANEH
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.contact = {
p.layouts.zurkhaneh = {


    "phone",
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع مجموعه", "facility_type"},


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


    "website",
{"تأسیس", "established"},
{"ظرفیت", "capacity"},


    "instagram",
{"مرشد", "murshed"},
{"مربی", "coach"},


    "telegram",
{"امکانات", "facilities"},
 
{"خدمات", "services"}
    "aparat",
 
    "x"


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Honors
-- SPORTS SCHOOL
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.honors = {
p.layouts.sports_school = {
 
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع", "subtype"},
 
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رشته‌ها", "disciplines"},


    "honors",
{"حوزه فعالیت", "activity_area"},


    "awards",
{"تأسیس", "established"},


    "records",
{"مربیان", "coaching_history"},


    "medals"
{"امکانات", "facilities"},
{"خدمات", "services"}


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Stadium
-- SPORTS COMPLEX
--
-- نام و نام لاتین در خود بخش «اطلاعات مجموعه ورزشی» قرار دارند.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.stadium = {
p.layouts.sports_complex = {
 
    "facility_type",


    "established",
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع مجموعه", "facility_type"},


    "owner",
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رشته‌ها", "disciplines"},


    "operator",
{"حوزه فعالیت", "activity_area"},


    "architect",
{"تأسیس", "established"},
{"ظرفیت", "capacity"},


    "surface",
{"امکانات", "facilities"},
 
{"خدمات", "services"}
    "capacity"


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Gymnasium
-- FACILITY
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.gym = {
p.layouts.facility = {


    "facility_type",
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع مجموعه", "facility_type"},


    "established",
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رشته‌ها", "disciplines"},


    "owner",
{"حوزه فعالیت", "activity_area"},


    "operator",
{"تأسیس", "established"},
{"ظرفیت", "capacity"},


    "capacity"
{"امکانات", "facilities"},
{"خدمات", "services"}


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Swimming Pool
-- SPORTS BOARD
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.pool = {
p.layouts.board = {


    "facility_type",
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع", "subtype"},


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


    "owner",
{"فدراسیون", "federation"},
 
{"رئیس هیئت", "chairman"}
    "operator"


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Zurkhaneh
-- COMPETITION
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.zurkhaneh = {
p.layouts.competition = {
 
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع", "subtype"},


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


    "established",
{"فصل", "season"},


    "owner",
{"قهرمان", "champion"},
{"نایب قهرمان", "runner_up"},


    "operator"
{"سطح مسابقات", "level"}


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Sports School
-- ENTITY ALIASES
--
-- Examples:
--
-- entity_type = sports_club
--              ↓
--            club
--
-- entity_type = sports_complex
--              ↓
--        sports_complex
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.sports_school = {
p.entityAliases = {


    "sport",
--------------------------------------------------------------------------------
-- CLUB
--------------------------------------------------------------------------------


    "discipline",
sports_club = "club",
sportsclub = "club",
club = "club",


    "established",
--------------------------------------------------------------------------------
-- ACADEMY
--------------------------------------------------------------------------------


    "coaching_history"
sports_academy = "academy",
academy = "academy",


}
--------------------------------------------------------------------------------
-- STADIUM
--------------------------------------------------------------------------------


--------------------------------------------------------------------------------
sports_stadium = "stadium",
-- Sports Complex
stadium = "stadium",
--------------------------------------------------------------------------------


p.layouts.sports_complex = {
--------------------------------------------------------------------------------
-- GYM
--------------------------------------------------------------------------------


    "facility_type",
sports_gym = "gym",
gymnasium = "gym",
gym = "gym",


    "sports",
--------------------------------------------------------------------------------
-- SWIMMING POOL
--------------------------------------------------------------------------------


    "established",
swimming_pool = "pool",
pool = "pool",


    "owner",
--------------------------------------------------------------------------------
-- ZURKHANEH
--------------------------------------------------------------------------------


    "operator",
zurkhaneh = "zurkhaneh",


    "capacity"
--------------------------------------------------------------------------------
-- SPORTS SCHOOL
--------------------------------------------------------------------------------


}
sports_school = "sports_school",
sport_school = "sports_school",


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Sports Board
-- SPORTS COMPLEX
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.layouts.board = {
sports_complex = "sports_complex",
sport_complex = "sports_complex",


    "sport",
--------------------------------------------------------------------------------
-- SPORTS FACILITY
--------------------------------------------------------------------------------


    "federation",
sports_facility = "facility",
facility = "facility",


    "chairman",
--------------------------------------------------------------------------------
-- SPORTS BOARD
--------------------------------------------------------------------------------


    "established"
sports_board = "board",
board = "board",


}
--------------------------------------------------------------------------------
-- COMPETITION
--------------------------------------------------------------------------------


--------------------------------------------------------------------------------
competition = "competition",
-- Competition
--------------------------------------------------------------------------------


p.layouts.competition = {
--------------------------------------------------------------------------------
-- PERSONS
--------------------------------------------------------------------------------


    "sport",
player = "player",
athlete = "player",


    "discipline",
coach = "coach",


    "season",
referee = "referee",


    "level",
manager = "manager",
sports_manager = "manager"


    "champion",
}


    "runner_up"
}
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- ENTITIES
-- ENTITIES
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.entities = {}
p.entities = {


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Athlete / Player
-- PLAYER
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.entities.player = {
player = {


    title = "ورزشکار",
type = "player",


    layouts = {
title = "بازیکن",


        "base",
layouts = {
        "family",
        "education",
        "physical",
        "sport",
        "player",
        "honors",
        "contact"


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


}
}


--------------------------------------------------------------------------------
},
-- Coach
--------------------------------------------------------------------------------


p.entities.coach = {
--------------------------------------------------------------------------------
-- COACH
--------------------------------------------------------------------------------


    title = "مربی",
coach = {


    layouts = {
type = "coach",


        "base",
title = "مربی",
        "family",
        "education",
        "physical",
        "sport",
        "coach",
        "honors",
        "contact"


    }
layouts = {


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


--------------------------------------------------------------------------------
}
-- Referee
--------------------------------------------------------------------------------


p.entities.referee = {
},


    title = "داور",
--------------------------------------------------------------------------------
-- REFEREE
--------------------------------------------------------------------------------


    layouts = {
referee = {


        "base",
type = "referee",
        "family",
        "education",
        "physical",
        "sport",
        "referee",
        "honors",
        "contact"


    }
title = "داور",


}
layouts = {


--------------------------------------------------------------------------------
"base",
-- Sports Manager
"physical",
--------------------------------------------------------------------------------
"education",
"referee",
"honors",
"contact"


p.entities.manager = {
}


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


    layouts = {
--------------------------------------------------------------------------------
-- SPORTS MANAGER
--------------------------------------------------------------------------------


        "base",
manager = {
        "family",
        "education",
        "sport",
        "manager",
        "honors",
        "contact"


    }
type = "manager",


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


--------------------------------------------------------------------------------
layouts = {
-- Club
--------------------------------------------------------------------------------
 
p.entities.club = {
 
    title = "باشگاه ورزشی",


    layouts = {
"base",
"education",
"manager",
"honors",
"contact"


        "club",
}
        "management",
        "location",
        "honors",
        "contact"


    }
},
 
}
 
--------------------------------------------------------------------------------
-- Academy
--------------------------------------------------------------------------------


p.entities.academy = {
--------------------------------------------------------------------------------
-- CLUB
--
-- IMPORTANT:
-- No "base" layout.
-- Therefore "اطلاعات شخصی" is never displayed for clubs.
--------------------------------------------------------------------------------


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


    layouts = {
type = "club",


        "academy",
title = "باشگاه ورزشی",
        "management",
        "location",
        "contact"


    }
layouts = {


}
"club",
"management",
"location",
"contact",
"hours"


--------------------------------------------------------------------------------
}
-- Stadium
--------------------------------------------------------------------------------


p.entities.stadium = {
},


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


    layouts = {
academy = {


        "stadium",
type = "academy",
        "location",
        "contact"


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


}
layouts = {


--------------------------------------------------------------------------------
"academy",
-- Gymnasium
"management",
--------------------------------------------------------------------------------
"location",
"contact",
"hours"


p.entities.gym = {
}


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


    layouts = {
--------------------------------------------------------------------------------
-- STADIUM
--------------------------------------------------------------------------------


        "gym",
stadium = {
        "location",
        "contact"


    }
type = "stadium",


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


--------------------------------------------------------------------------------
layouts = {
-- Swimming Pool
--------------------------------------------------------------------------------


p.entities.pool = {
"stadium",
"management",
"location",
"contact",
"hours"


    title = "استخر ورزشی",
}


    layouts = {
},


        "pool",
--------------------------------------------------------------------------------
        "location",
-- GYM
        "contact"
--------------------------------------------------------------------------------


    }
gym = {


}
type = "gym",


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


p.entities.zurkhaneh = {
layouts = {


    title = "زورخانه",
"gym",
"management",
"location",
"contact",
"hours"


    layouts = {
}


        "zurkhaneh",
},
        "location",
        "contact"


    }
--------------------------------------------------------------------------------
-- SWIMMING POOL
--------------------------------------------------------------------------------


}
pool = {


--------------------------------------------------------------------------------
type = "pool",
-- Sports School
--------------------------------------------------------------------------------


p.entities.sports_school = {
title = "استخر",


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


    layouts = {
"pool",
"management",
"location",
"contact",
"hours"


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


    }
},


}
--------------------------------------------------------------------------------
-- ZURKHANEH
--------------------------------------------------------------------------------


--------------------------------------------------------------------------------
zurkhaneh = {
-- Sports Complex
--------------------------------------------------------------------------------


p.entities.sports_complex = {
type = "zurkhaneh",


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


    layouts = {
layouts = {


        "sports_complex",
"zurkhaneh",
        "management",
"management",
        "location",
"location",
        "contact"
"contact",
"hours"


    }
}


}
},


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Sports Board
-- SPORTS SCHOOL
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.entities.board = {
sports_school = {


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


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


        "board",
layouts = {
        "management",
        "location",
        "contact"


    }
"sports_school",
"management",
"location",
"contact",
"hours"


}
}


--------------------------------------------------------------------------------
},
-- Competition
--------------------------------------------------------------------------------


p.entities.competition = {
--------------------------------------------------------------------------------
-- SPORTS COMPLEX
--------------------------------------------------------------------------------


    title = "رویداد ورزشی",
sports_complex = {


    layouts = {
type = "sports_complex",


        "competition",
title = "مجموعه ورزشی",
        "location",
        "contact",
        "honors"


    }
layouts = {


}
"sports_complex",
"management",
"location",
"contact",
"hours"


--------------------------------------------------------------------------------
}
-- Entity Defaults
--------------------------------------------------------------------------------


for _, entity in pairs(p.entities) do
},


    entity.icon = entity.icon or nil
--------------------------------------------------------------------------------
-- FACILITY
--------------------------------------------------------------------------------


    entity.category = entity.category or nil
facility = {


end
type = "facility",
--------------------------------------------------------------------------------
-- Sports Event
--------------------------------------------------------------------------------


p.layouts.sports_event = {
title = "مجموعه ورزشی",


    "sport",
layouts = {


    "discipline",
"facility",
"management",
"location",
"contact",
"hours"


    "season",
}


    "competition",
},


    "level",
--------------------------------------------------------------------------------
-- SPORTS BOARD
--------------------------------------------------------------------------------


    "champion",
board = {


    "runner_up"
type = "board",


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


--------------------------------------------------------------------------------
layouts = {
-- Sports Event Entity
--------------------------------------------------------------------------------


p.entities.sports_event = {
"board",
"management",
"location",
"contact"


    title = "رویداد ورزشی",
}


    layouts = {
},


        "competition",
--------------------------------------------------------------------------------
        "location",
-- COMPETITION
        "honors",
--------------------------------------------------------------------------------
        "contact"


    }
competition = {


}
type = "competition",


--------------------------------------------------------------------------------
title = "مسابقات",
-- Additional Metadata
--------------------------------------------------------------------------------


p.meta.fields = {
layouts = {


    dynamic = true,
"competition",
"location",
"contact"


    removeEmpty = true,
}


    useFieldDefinitions = true
}


}
}


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Version
-- VERSION
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


p.version = {
p.version = {


    major = 3,
major = 2,


    minor = 0,
minor = 2,


    name = "AlborzSports"
name = "AlborzSports"


}
}

نسخهٔ کنونی تا ‏۱۱ اوت ۲۰۲۶، ساعت ۱۴:۳۵

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

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

local p = {}

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

p.meta = {

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

	class = "infobox sport-infobox",

	imageWidth = "280px"

}

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

p.defaults = {

	country = "ایران",

	nationality = "ایرانی",

	entity_type = "player",

	image_width = "280px"

}

--------------------------------------------------------------------------------
-- 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",
	latin_name = "english_name",
	["نام انگلیسی"] = "english_name",
	["نام لاتین"] = "english_name",

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

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

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

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

	caption = "caption",
	["زیرنویس"] = "caption",
	["توضیح تصویر"] = "caption",

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

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

	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_date",

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

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

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

	spouse = "spouse",
	["همسر"] = "spouse",

	children = "children",
	["فرزندان"] = "children",

	family = "family",
	["خانواده"] = "family",

	--------------------------------------------------------------------------------
	-- 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",
	["ایمیل"] = "email",

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

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

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

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

	x = "x",
	twitter = "x",
	["ایکس"] = "x",
	["توییتر"] = "x",

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

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

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

	disciplines = "disciplines",
	["رشته‌ها"] = "disciplines",
	["رشته ها"] = "disciplines",

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

	activity_area = "activity_area",
	["حوزه فعالیت"] = "activity_area",

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

	coach = "coach",
	["مربی"] = "coach",

	murshed = "murshed",
	["مرشد"] = "murshed",
	["مرشد ارشد"] = "murshed",

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

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

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

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

	former_clubs = "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",
	["باشگاه های مربیگری"] = "coaching_clubs",

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

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

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

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

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

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

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

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

	manager = "manager",
	["مدیر"] = "manager",

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

	operator = "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 / Services
	--------------------------------------------------------------------------------

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

	facilities = "facilities",
	["امکانات"] = "facilities",

	services = "services",
	["خدمات"] = "services",

	hours = "hours",
	activity_hours = "hours",
	["ساعات فعالیت"] = "hours",
	["ساعت فعالیت"] = "hours",

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

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

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

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

	neighborhood = "neighborhood",
	["محله"] = "neighborhood",

	address = "address",
	["نشانی"] = "address",
	["آدرس"] = "address",

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

	postal_code = "postal_code",
	["کد پستی"] = "postal_code",

	--------------------------------------------------------------------------------
	-- 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 / Medals
	--------------------------------------------------------------------------------

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

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

	medaltemplates = "medaltemplates",
	["الگوهای مدال"] = "medaltemplates",

	medaltemplates_title = "medaltemplates_title",
	["عنوان الگوهای مدال"] = "medaltemplates_title"

}

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

p.layouts = {}

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

p.layoutTitles = {

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

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

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

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

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

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

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

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

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

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

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

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

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

	sports_school = "اطلاعات مدرسه ورزشی",

	sports_complex = "اطلاعات مجموعه ورزشی",

	facility = "اطلاعات مجموعه ورزشی",

	management = "مدیریت",

	location = "موقعیت",

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

	hours = "ساعات فعالیت",

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

	board = "اطلاعات هیئت ورزشی",

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

}

--------------------------------------------------------------------------------
-- BASE
--------------------------------------------------------------------------------

p.layouts.base = {

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

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

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

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

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

	{"همسر", "spouse"},
	{"فرزندان", "children"},
	{"خانواده", "family"}

}

--------------------------------------------------------------------------------
-- PHYSICAL
--------------------------------------------------------------------------------

p.layouts.physical = {

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

}

--------------------------------------------------------------------------------
-- EDUCATION
--------------------------------------------------------------------------------

p.layouts.education = {

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

}

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

p.layouts.player = {

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

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

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

	{"مربی", "coach"},

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

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

}

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

p.layouts.coach = {

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

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

	{"سوابق مربیگری", "coaching_history"},
	{"باشگاه‌های مربیگری", "coaching_clubs"},

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

}

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

p.layouts.referee = {

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

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

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

}

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

p.layouts.manager = {

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

	{"سمت مدیریتی", "management_position"},
	{"باشگاه", "club"},
	{"دوره مدیریت", "management_term"}

}

--------------------------------------------------------------------------------
-- MANAGEMENT
--------------------------------------------------------------------------------

p.layouts.management = {

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

}

--------------------------------------------------------------------------------
-- LOCATION
--------------------------------------------------------------------------------

p.layouts.location = {

	{"کشور", "country"},
	{"استان", "province"},
	{"شهر", "city"},
	{"منطقه", "district"},
	{"محله", "neighborhood"},
	{"نشانی", "address"},
	{"کد پستی", "postal_code"},
	{"مختصات", "coordinates"}

}

--------------------------------------------------------------------------------
-- CONTACT
--------------------------------------------------------------------------------

p.layouts.contact = {

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

}

--------------------------------------------------------------------------------
-- HOURS
--
-- IMPORTANT:
-- ساعات فعالیت فقط در این layout قرار دارد.
-- بنابراین در layoutهای club / academy / facility و غیره
-- دوباره تکرار نمی‌شود.
--------------------------------------------------------------------------------

p.layouts.hours = {

	{"ساعات فعالیت", "hours"}

}

--------------------------------------------------------------------------------
-- HONORS
--------------------------------------------------------------------------------

p.layouts.honors = {

	{"افتخارات", "honors"}

}

--------------------------------------------------------------------------------
-- CLUB
--
-- نام و نام لاتین عمداً در این بخش هستند تا زیر هدر
-- «اطلاعات باشگاه» نیز نمایش داده شوند.
--
-- ساعات فعالیت اینجا نیست و فقط از layout.hours می‌آید.
--------------------------------------------------------------------------------

p.layouts.club = {

	{"نام", "name"},
	{"نام لاتین", "english_name"},
	{"نوع", "subtype"},

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

	{"تأسیس", "established"},

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

	{"حوزه فعالیت", "activity_area"},
	{"رشته‌ها", "disciplines"},

	{"امکانات", "facilities"},
	{"خدمات", "services"}

}

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

p.layouts.academy = {

	{"نام", "name"},
	{"نام لاتین", "english_name"},
	{"نوع", "subtype"},

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

	{"حوزه فعالیت", "activity_area"},

	{"تأسیس", "established"},

	{"مربیان", "coaching_history"},

	{"امکانات", "facilities"},
	{"خدمات", "services"}

}

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

p.layouts.stadium = {

	{"نام", "name"},
	{"نام لاتین", "english_name"},
	{"نوع مجموعه", "facility_type"},

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

	{"تأسیس", "established"},
	{"ظرفیت", "capacity"},

	{"امکانات", "facilities"},
	{"خدمات", "services"}

}

--------------------------------------------------------------------------------
-- GYM
--------------------------------------------------------------------------------

p.layouts.gym = {

	{"نام", "name"},
	{"نام لاتین", "english_name"},
	{"نوع مجموعه", "facility_type"},

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

	{"تأسیس", "established"},
	{"ظرفیت", "capacity"},

	{"حوزه فعالیت", "activity_area"},

	{"امکانات", "facilities"},
	{"خدمات", "services"}

}

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

p.layouts.pool = {

	{"نام", "name"},
	{"نام لاتین", "english_name"},
	{"نوع مجموعه", "facility_type"},

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

	{"تأسیس", "established"},
	{"ظرفیت", "capacity"},

	{"امکانات", "facilities"},
	{"خدمات", "services"}

}

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

p.layouts.zurkhaneh = {

	{"نام", "name"},
	{"نام لاتین", "english_name"},
	{"نوع مجموعه", "facility_type"},

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

	{"تأسیس", "established"},
	{"ظرفیت", "capacity"},

	{"مرشد", "murshed"},
	{"مربی", "coach"},

	{"امکانات", "facilities"},
	{"خدمات", "services"}

}

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

p.layouts.sports_school = {

	{"نام", "name"},
	{"نام لاتین", "english_name"},
	{"نوع", "subtype"},

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

	{"حوزه فعالیت", "activity_area"},

	{"تأسیس", "established"},

	{"مربیان", "coaching_history"},

	{"امکانات", "facilities"},
	{"خدمات", "services"}

}

--------------------------------------------------------------------------------
-- SPORTS COMPLEX
--
-- نام و نام لاتین در خود بخش «اطلاعات مجموعه ورزشی» قرار دارند.
--------------------------------------------------------------------------------

p.layouts.sports_complex = {

	{"نام", "name"},
	{"نام لاتین", "english_name"},
	{"نوع مجموعه", "facility_type"},

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

	{"حوزه فعالیت", "activity_area"},

	{"تأسیس", "established"},
	{"ظرفیت", "capacity"},

	{"امکانات", "facilities"},
	{"خدمات", "services"}

}

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

p.layouts.facility = {

	{"نام", "name"},
	{"نام لاتین", "english_name"},
	{"نوع مجموعه", "facility_type"},

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

	{"حوزه فعالیت", "activity_area"},

	{"تأسیس", "established"},
	{"ظرفیت", "capacity"},

	{"امکانات", "facilities"},
	{"خدمات", "services"}

}

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

p.layouts.board = {

	{"نام", "name"},
	{"نام لاتین", "english_name"},
	{"نوع", "subtype"},

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

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

}

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

p.layouts.competition = {

	{"نام", "name"},
	{"نام لاتین", "english_name"},
	{"نوع", "subtype"},

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

	{"فصل", "season"},

	{"قهرمان", "champion"},
	{"نایب قهرمان", "runner_up"},

	{"سطح مسابقات", "level"}

}

--------------------------------------------------------------------------------
-- ENTITY ALIASES
--
-- Examples:
--
-- entity_type = sports_club
--              ↓
--            club
--
-- entity_type = sports_complex
--              ↓
--         sports_complex
--------------------------------------------------------------------------------

p.entityAliases = {

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

	sports_club = "club",
	sportsclub = "club",
	club = "club",

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

	sports_academy = "academy",
	academy = "academy",

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

	sports_stadium = "stadium",
	stadium = "stadium",

	--------------------------------------------------------------------------------
	-- GYM
	--------------------------------------------------------------------------------

	sports_gym = "gym",
	gymnasium = "gym",
	gym = "gym",

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

	swimming_pool = "pool",
	pool = "pool",

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

	zurkhaneh = "zurkhaneh",

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

	sports_school = "sports_school",
	sport_school = "sports_school",

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

	sports_complex = "sports_complex",
	sport_complex = "sports_complex",

	--------------------------------------------------------------------------------
	-- SPORTS FACILITY
	--------------------------------------------------------------------------------

	sports_facility = "facility",
	facility = "facility",

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

	sports_board = "board",
	board = "board",

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

	competition = "competition",

	--------------------------------------------------------------------------------
	-- PERSONS
	--------------------------------------------------------------------------------

	player = "player",
	athlete = "player",

	coach = "coach",

	referee = "referee",

	manager = "manager",
	sports_manager = "manager"

}

--------------------------------------------------------------------------------
-- 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
	--
	-- IMPORTANT:
	-- No "base" layout.
	-- Therefore "اطلاعات شخصی" is never displayed for clubs.
	--------------------------------------------------------------------------------

	club = {

		type = "club",

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

		layouts = {

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

		}

	},

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

	academy = {

		type = "academy",

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

		layouts = {

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

		}

	},

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

	stadium = {

		type = "stadium",

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

		layouts = {

			"stadium",
			"management",
			"location",
			"contact",
			"hours"

		}

	},

	--------------------------------------------------------------------------------
	-- GYM
	--------------------------------------------------------------------------------

	gym = {

		type = "gym",

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

		layouts = {

			"gym",
			"management",
			"location",
			"contact",
			"hours"

		}

	},

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

	pool = {

		type = "pool",

		title = "استخر",

		layouts = {

			"pool",
			"management",
			"location",
			"contact",
			"hours"

		}

	},

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

	zurkhaneh = {

		type = "zurkhaneh",

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

		layouts = {

			"zurkhaneh",
			"management",
			"location",
			"contact",
			"hours"

		}

	},

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

	sports_school = {

		type = "sports_school",

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

		layouts = {

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

		}

	},

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

	sports_complex = {

		type = "sports_complex",

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

		layouts = {

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

		}

	},

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

	facility = {

		type = "facility",

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

		layouts = {

			"facility",
			"management",
			"location",
			"contact",
			"hours"

		}

	},

	--------------------------------------------------------------------------------
	-- 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 = 2,

	name = "AlborzSports"

}

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

return p