پودمان:AlborzSports/Data: تفاوت میان نسخهها
ظاهر
جزبدون خلاصۀ ویرایش |
جزبدون خلاصۀ ویرایش |
||
| خط ۲: | خط ۲: | ||
-- Module:AlborzSports/Data | -- Module:AlborzSports/Data | ||
-- Wiki Alborz Sports Information System | -- Wiki Alborz Sports Information System | ||
-- Version | -- Version 3.0 | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۹۷: | خط ۹۷: | ||
-- Personal Information | -- Personal Information | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
gender = "gender", | |||
["جنسیت"] = "gender", | |||
country = "country", | country = "country", | ||
| خط ۱۲۲: | خط ۱۲۵: | ||
residence = "residence", | residence = "residence", | ||
["محل سکونت"] = "residence", | ["محل سکونت"] = "residence", | ||
occupation = "occupation", | |||
["پیشه"] = "occupation", | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Family | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
father = "father", | |||
[" | ["پدر"] = "father", | ||
mother = "mother", | |||
["مادر"] = "mother", | |||
parents = "parents", | |||
["والدین"] = "parents", | |||
spouse = "spouse", | |||
["همسر"] = "spouse", | |||
children = "children", | |||
[" | ["فرزندان"] = "children", | ||
siblings = "siblings", | |||
[" | ["خواهران و برادران"] = "siblings", | ||
relatives = "relatives", | |||
[" | ["خویشاوندان"] = "relatives", | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۱۴۸: | خط ۱۶۳: | ||
university = "university", | university = "university", | ||
["دانشگاه"] = "university", | ["دانشگاه"] = "university", | ||
alma_mater = "alma_mater", | |||
["دانشآموخته"] = "alma_mater", | |||
-------------------------------------------------------------------------------- | |||
-- Physical | |||
-------------------------------------------------------------------------------- | |||
height = "height", | |||
["قد"] = "height", | |||
weight = "weight", | |||
["وزن"] = "weight", | |||
handed = "handed", | |||
["دست غالب"] = "handed", | |||
foot = "foot", | |||
["پای تخصصی"] = "foot", | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۱۷۵: | خط ۲۰۹: | ||
twitter = "x", | twitter = "x", | ||
["ایکس"] = "x", | ["ایکس"] = "x", | ||
-------------------------------------------------------------------------------- | |||
-------------------------------------------------------------------------------- | -- Sport | ||
-- | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۱۹۱: | خط ۲۲۴: | ||
years_active = "years_active", | years_active = "years_active", | ||
["سالهای فعالیت"] = "years_active", | ["سالهای فعالیت"] = "years_active", | ||
coach = "coach", | |||
["مربی"] = "coach", | |||
debut = "debut", | |||
["آغاز فعالیت"] = "debut", | |||
retirement = "retirement", | |||
["بازنشستگی"] = "retirement", | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- Player | -- Athlete (Player) | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۲۵۸: | خط ۳۰۱: | ||
management_term = "management_term", | management_term = "management_term", | ||
["دوره مدیریت"] = "management_term", | ["دوره مدیریت"] = "management_term", | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۲۷۱: | خط ۳۰۸: | ||
established = "established", | established = "established", | ||
["تأسیس"] = "established", | ["تأسیس"] = "established", | ||
founder = "founder", | |||
["بنیانگذار"] = "founder", | |||
owner = "owner", | owner = "owner", | ||
["مالک"] = "owner", | ["مالک"] = "owner", | ||
operator = "operator", | |||
["بهرهبردار"] = "operator", | |||
president = "president", | president = "president", | ||
| خط ۲۸۶: | خط ۳۲۹: | ||
stadium = "stadium", | stadium = "stadium", | ||
["ورزشگاه"] = "stadium", | ["ورزشگاه"] = "stadium", | ||
league = "league", | |||
["لیگ"] = "league", | |||
colors = "colors", | |||
["رنگها"] = "colors", | |||
motto = "motto", | |||
["شعار"] = "motto", | |||
logo = "logo", | |||
["نشان"] = "logo", | |||
capacity = "capacity", | capacity = "capacity", | ||
| خط ۲۹۶: | خط ۳۵۱: | ||
facility_type = "facility_type", | facility_type = "facility_type", | ||
["نوع مجموعه"] = "facility_type", | ["نوع مجموعه"] = "facility_type", | ||
sports = "sports", | |||
["رشتههای ورزشی"] = "sports", | |||
surface = "surface", | |||
["سطح زمین"] = "surface", | |||
architect = "architect", | |||
["معمار"] = "architect", | |||
-------------------------------------------------------------------------------- | |||
-- Location | |||
-------------------------------------------------------------------------------- | |||
province = "province", | province = "province", | ||
| خط ۳۱۳: | خط ۳۸۱: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- Federation / Board | -- Federation / Sports Board | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۳۲۴: | خط ۳۹۲: | ||
chairman = "chairman", | chairman = "chairman", | ||
["رئیس هیئت"] = "chairman", | ["رئیس هیئت"] = "chairman", | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- Competition | -- Competition | ||
| خط ۳۳۳: | خط ۴۰۲: | ||
season = "season", | season = "season", | ||
["فصل"] = "season", | ["فصل"] = "season", | ||
level = "level", | |||
["سطح مسابقات"] = "level", | |||
champion = "champion", | champion = "champion", | ||
| خط ۳۳۹: | خط ۴۱۱: | ||
runner_up = "runner_up", | runner_up = "runner_up", | ||
["نایب قهرمان"] = "runner_up", | ["نایب قهرمان"] = "runner_up", | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۳۴۹: | خط ۴۱۸: | ||
honors = "honors", | honors = "honors", | ||
["افتخارات"] = "honors", | ["افتخارات"] = "honors", | ||
awards = "awards", | |||
["جوایز"] = "awards", | |||
records = "records", | |||
["رکوردها"] = "records", | |||
medals = "medals", | medals = "medals", | ||
| خط ۳۵۶: | خط ۴۳۱: | ||
} | } | ||
-------------------------------------------------------------------------------- | |||
-- FIELD DEFINITIONS | |||
-------------------------------------------------------------------------------- | |||
p.fieldDefinitions = { | |||
-------------------------------------------------------------------------------- | |||
-- Identity | |||
-------------------------------------------------------------------------------- | |||
id = { label = "شناسه" }, | |||
name = { label = "نام" }, | |||
fullname = { label = "نام کامل" }, | |||
native_name = { label = "نام بومی" }, | |||
english_name = { label = "نام انگلیسی" }, | |||
nickname = { label = "لقب" }, | |||
-------------------------------------------------------------------------------- | |||
-- Personal | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | |||
gender = { label = "جنسیت" }, | |||
country = { label = "کشور" }, | |||
nationality = { label = "ملیت" }, | |||
birth_date = { label = "زادروز" }, | |||
birth_place = { label = "محل تولد" }, | |||
death_date = { label = "درگذشت" }, | |||
death_place = { label = "محل درگذشت" }, | |||
hometown = { label = "زادگاه" }, | |||
residence = { label = "محل سکونت" }, | |||
occupation = { label = "پیشه" }, | |||
-------------------------------------------------------------------------------- | |||
-- Family | |||
-------------------------------------------------------------------------------- | |||
father = { label = "پدر" }, | |||
mother = { label = "مادر" }, | |||
parents = { label = "والدین" }, | |||
spouse = { label = "همسر" }, | |||
children = { label = "فرزندان" }, | |||
siblings = { label = "خواهران و برادران" }, | |||
relatives = { label = "خویشاوندان" }, | |||
-------------------------------------------------------------------------------- | |||
-- Education | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
education = { label = "تحصیلات" }, | |||
university = { label = "دانشگاه" }, | |||
alma_mater = { label = "دانشآموخته" }, | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Physical | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
height = { label = "قد" }, | |||
weight = { label = "وزن" }, | |||
handed = { label = "دست غالب" }, | |||
foot = { label = "پای تخصصی" }, | |||
-------------------------------------------------------------------------------- | |||
-- Sport | |||
-------------------------------------------------------------------------------- | |||
sport = { label = "ورزش" }, | |||
discipline = { label = "رشته" }, | |||
category = { label = "رده ورزشی" }, | |||
years_active = { label = "سالهای فعالیت" }, | |||
coach = { label = "مربی" }, | |||
debut = { label = "آغاز فعالیت" }, | |||
retirement = { label = "بازنشستگی" }, | |||
-------------------------------------------------------------------------------- | |||
-- Player | |||
-------------------------------------------------------------------------------- | |||
position = { label = "پست" }, | |||
number = { label = "شماره" }, | |||
current_club = { label = "باشگاه فعلی" }, | |||
former_clubs = { label = "باشگاههای پیشین" }, | |||
club = { label = "باشگاه" }, | |||
team = { label = "تیم" }, | |||
national_team = { label = "تیم ملی" }, | |||
-------------------------------------------------------------------------------- | |||
-- Coach | |||
-------------------------------------------------------------------------------- | |||
coach_position = { label = "سمت مربیگری" }, | |||
coaching_license = { label = "درجه مربیگری" }, | |||
coaching_history = { label = "سوابق مربیگری" }, | |||
coaching_clubs = { label = "باشگاههای مربیگری" }, | |||
-------------------------------------------------------------------------------- | |||
-- Referee | |||
-------------------------------------------------------------------------------- | |||
referee_grade = { label = "درجه داوری" }, | |||
referee_years = { label = "سالهای داوری" }, | |||
committee = { label = "کمیته" }, | |||
major_events = { label = "رقابتهای مهم" }, | |||
-------------------------------------------------------------------------------- | |||
-- Management | |||
-------------------------------------------------------------------------------- | |||
management_position = { label = "سمت مدیریتی" }, | |||
management_term = { label = "دوره مدیریت" }, | |||
-------------------------------------------------------------------------------- | |||
-- Club | |||
-------------------------------------------------------------------------------- | |||
established = { label = "تأسیس" }, | |||
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 = "ظرفیت" }, | |||
-------------------------------------------------------------------------------- | |||
-- Facilities | |||
-------------------------------------------------------------------------------- | |||
facility_type = { label = "نوع مجموعه" }, | |||
sports = { label = "رشتههای ورزشی" }, | |||
surface = { label = "سطح زمین" }, | |||
architect = { label = "معمار" }, | |||
-------------------------------------------------------------------------------- | |||
-- Location | |||
-------------------------------------------------------------------------------- | |||
province = { label = "استان" }, | |||
city = { label = "شهر" }, | |||
district = { label = "منطقه" }, | |||
address = { label = "نشانی" }, | |||
coordinates = { label = "مختصات" }, | |||
-------------------------------------------------------------------------------- | |||
-- Federation | |||
-------------------------------------------------------------------------------- | |||
federation = { label = "فدراسیون" }, | |||
board = { label = "هیئت" }, | |||
chairman = { label = "رئیس هیئت" }, | |||
-------------------------------------------------------------------------------- | |||
-- Competition | |||
-------------------------------------------------------------------------------- | |||
competition = { label = "مسابقات" }, | |||
season = { label = "فصل" }, | |||
level = { label = "سطح مسابقات" }, | |||
champion = { label = "قهرمان" }, | |||
runner_up = { label = "نایب قهرمان" }, | |||
-------------------------------------------------------------------------------- | |||
-- Honors | |||
-------------------------------------------------------------------------------- | |||
competition = "اطلاعات مسابقات" | honors = { label = "افتخارات" }, | ||
awards = { label = "جوایز" }, | |||
records = { label = "رکوردها" }, | |||
medals = { label = "مدالها" }, | |||
medaltemplates = { label = "مدالها" }, | |||
-------------------------------------------------------------------------------- | |||
-- Contact | |||
-------------------------------------------------------------------------------- | |||
phone = { label = "تلفن" }, | |||
email = { label = "رایانامه" }, | |||
website = { label = "وبگاه" }, | |||
instagram = { label = "اینستاگرام" }, | |||
telegram = { label = "تلگرام" }, | |||
aparat = { label = "آپارات" }, | |||
x = { label = "ایکس" } | |||
} | |||
-------------------------------------------------------------------------------- | |||
-- LAYOUT TITLES | |||
-------------------------------------------------------------------------------- | |||
p.layoutTitles = { | |||
base = "اطلاعات شخصی", | |||
family = "خانواده", | |||
education = "تحصیلات", | |||
physical = "مشخصات فیزیکی", | |||
sport = "فعالیت ورزشی", | |||
player = "اطلاعات حرفهای", | |||
coach = "فعالیت مربیگری", | |||
referee = "فعالیت داوری", | |||
manager = "مدیریت ورزشی", | |||
club = "اطلاعات باشگاه", | |||
academy = "اطلاعات آکادمی", | |||
management = "مدیریت", | |||
stadium = "اطلاعات ورزشگاه", | |||
gym = "اطلاعات سالن ورزشی", | |||
pool = "اطلاعات استخر", | |||
zurkhaneh = "اطلاعات زورخانه", | |||
sports_school = "اطلاعات مدرسه ورزشی", | |||
sports_complex = "اطلاعات مجموعه ورزشی", | |||
board = "هیئت ورزشی", | |||
competition = "اطلاعات مسابقات", | |||
location = "موقعیت", | |||
honors = "افتخارات", | |||
contact = "ارتباطات" | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- Base | -- LAYOUTS | ||
-------------------------------------------------------------------------------- | |||
p.layouts = {} | |||
-------------------------------------------------------------------------------- | |||
-- Base | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.base = { | p.layouts.base = { | ||
"name", | |||
"fullname", | |||
"native_name", | |||
"english_name", | |||
"nickname", | |||
"gender", | |||
"nationality", | |||
"country", | |||
"birth_date", | |||
"birth_place", | |||
"death_date", | |||
"death_place", | |||
"hometown", | |||
"residence", | |||
"occupation" | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Family | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts. | p.layouts.family = { | ||
"father", | |||
"mother", | |||
"parents", | |||
"spouse", | |||
"children", | |||
"siblings", | |||
"relatives" | |||
} | } | ||
| خط ۴۶۰: | خط ۷۲۵: | ||
p.layouts.education = { | p.layouts.education = { | ||
"education", | |||
"university", | |||
"alma_mater" | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Physical | ||
-------------------------------------------------------------------------------- | |||
p.layouts.physical = { | |||
"height", | |||
"weight", | |||
"handed", | |||
"foot" | |||
} | |||
-------------------------------------------------------------------------------- | |||
-- Sport | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts. | p.layouts.sport = { | ||
"sport", | |||
"discipline", | |||
"category", | |||
"coach", | |||
"years_active", | |||
"debut", | |||
"retirement" | |||
} | |||
-------------------------------------------------------------------------------- | |||
-- Player / Athlete | |||
-------------------------------------------------------------------------------- | |||
p.layouts.player = { | |||
"position", | |||
"number", | |||
"current_club", | |||
"former_clubs", | |||
"team", | |||
"national_team" | |||
} | } | ||
| خط ۴۹۲: | خط ۷۸۴: | ||
p.layouts.coach = { | p.layouts.coach = { | ||
"coach_position", | |||
"coaching_license", | |||
"coaching_history", | |||
"coaching_clubs" | |||
} | } | ||
| خط ۵۱۳: | خط ۸۰۰: | ||
p.layouts.referee = { | p.layouts.referee = { | ||
"referee_grade", | |||
"referee_years", | |||
"committee", | |||
"major_events" | |||
} | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- Sports Manager | -- Sports Manager | ||
| خط ۵۳۱: | خط ۸۱۶: | ||
p.layouts.manager = { | p.layouts.manager = { | ||
"management_position", | |||
{" | |||
"club", | |||
"management_term" | |||
} | |||
-------------------------------------------------------------------------------- | |||
-- Club | |||
-------------------------------------------------------------------------------- | |||
p.layouts.club = { | |||
"sport", | |||
"discipline", | |||
"established", | |||
"founder", | |||
"league", | |||
"colors", | |||
"motto", | |||
"head_coach", | |||
"stadium", | |||
"capacity" | |||
} | |||
-------------------------------------------------------------------------------- | |||
-- Academy | |||
-------------------------------------------------------------------------------- | |||
p.layouts.academy = { | |||
"sport", | |||
"discipline", | |||
"established", | |||
"coaching_history" | |||
} | } | ||
| خط ۵۴۸: | خط ۸۷۴: | ||
p.layouts.management = { | p.layouts.management = { | ||
"owner", | |||
"president", | |||
"ceo", | |||
"operator" | |||
} | } | ||
| خط ۵۶۲: | خط ۸۹۰: | ||
p.layouts.location = { | p.layouts.location = { | ||
"province", | |||
"city", | |||
"district", | |||
"address", | |||
"coordinates" | |||
} | } | ||
| خط ۵۷۶: | خط ۹۰۸: | ||
p.layouts.contact = { | p.layouts.contact = { | ||
"phone", | |||
"email", | |||
"website", | |||
"instagram", | |||
"telegram", | |||
"aparat", | |||
"x" | |||
} | } | ||
| خط ۵۹۲: | خط ۹۳۰: | ||
p.layouts.honors = { | p.layouts.honors = { | ||
"honors", | |||
"awards", | |||
"records", | |||
"medals" | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Stadium | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts. | p.layouts.stadium = { | ||
"facility_type", | |||
"established", | |||
"owner", | |||
"operator", | |||
"architect", | |||
"surface", | |||
"capacity" | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Gymnasium | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts. | p.layouts.gym = { | ||
"facility_type", | |||
"established", | |||
"owner", | |||
"operator", | |||
"capacity" | |||
} | } | ||
| خط ۶۵۶: | خط ۹۸۶: | ||
p.layouts.pool = { | p.layouts.pool = { | ||
"facility_type", | |||
"established", | |||
"owner", | |||
"operator" | |||
} | } | ||
| خط ۶۶۷: | خط ۱٬۰۰۲: | ||
p.layouts.zurkhaneh = { | p.layouts.zurkhaneh = { | ||
"facility_type", | |||
"established", | |||
"owner", | |||
"operator" | |||
} | } | ||
| خط ۶۷۸: | خط ۱٬۰۱۸: | ||
p.layouts.sports_school = { | p.layouts.sports_school = { | ||
"sport", | |||
"discipline", | |||
"established", | |||
"coaching_history" | |||
} | } | ||
| خط ۶۹۰: | خط ۱٬۰۳۴: | ||
p.layouts.sports_complex = { | p.layouts.sports_complex = { | ||
"facility_type", | |||
"sports", | |||
"established", | |||
"owner", | |||
"operator", | |||
"capacity" | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Sports Board | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.board = { | p.layouts.board = { | ||
"sport", | |||
"federation", | |||
"chairman", | |||
"established" | |||
} | } | ||
| خط ۷۲۶: | خط ۱٬۰۷۰: | ||
p.layouts.competition = { | p.layouts.competition = { | ||
"sport", | |||
"discipline", | |||
"season", | |||
"level", | |||
"champion", | |||
"runner_up" | |||
} | } | ||
| خط ۷۳۸: | خط ۱٬۰۸۷: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.entities = { | p.entities = {} | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Athlete / Player | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
player = { | p.entities.player = { | ||
title = "ورزشکار", | |||
title = " | |||
layouts = { | layouts = { | ||
"base", | "base", | ||
"family", | |||
"education", | |||
"physical", | "physical", | ||
" | "sport", | ||
"player", | "player", | ||
"honors", | "honors", | ||
| خط ۷۶۱: | خط ۱٬۱۱۰: | ||
} | } | ||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Coach | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
coach = { | p.entities.coach = { | ||
title = "مربی", | title = "مربی", | ||
| خط ۷۷۶: | خط ۱٬۱۲۳: | ||
"base", | "base", | ||
"family", | |||
"education", | |||
"physical", | "physical", | ||
" | "sport", | ||
"coach", | "coach", | ||
"honors", | "honors", | ||
| خط ۷۸۴: | خط ۱٬۱۳۳: | ||
} | } | ||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Referee | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
referee = { | p.entities.referee = { | ||
title = "داور", | title = "داور", | ||
| خط ۷۹۹: | خط ۱٬۱۴۶: | ||
"base", | "base", | ||
"family", | |||
"education", | |||
"physical", | "physical", | ||
" | "sport", | ||
"referee", | "referee", | ||
"honors", | "honors", | ||
| خط ۸۰۷: | خط ۱٬۱۵۶: | ||
} | } | ||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Sports Manager | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
manager = { | p.entities.manager = { | ||
title = "مدیر ورزشی", | title = "مدیر ورزشی", | ||
| خط ۸۲۲: | خط ۱٬۱۶۹: | ||
"base", | "base", | ||
"family", | |||
"education", | "education", | ||
"sport", | |||
"manager", | "manager", | ||
"honors", | "honors", | ||
| خط ۸۲۹: | خط ۱٬۱۷۸: | ||
} | } | ||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Club | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
club = { | p.entities.club = { | ||
title = "باشگاه ورزشی", | title = "باشگاه ورزشی", | ||
| خط ۸۴۶: | خط ۱٬۱۹۳: | ||
"management", | "management", | ||
"location", | "location", | ||
"honors", | |||
"contact" | "contact" | ||
} | } | ||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Academy | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
academy = { | p.entities.academy = { | ||
title = "آکادمی ورزشی", | title = "آکادمی ورزشی", | ||
| خط ۸۷۱: | خط ۱٬۲۱۷: | ||
} | } | ||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Stadium | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
stadium = { | p.entities.stadium = { | ||
title = "ورزشگاه", | title = "ورزشگاه", | ||
| خط ۸۹۱: | خط ۱٬۲۳۵: | ||
} | } | ||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Gymnasium | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
gym = { | p.entities.gym = { | ||
title = "سالن ورزشی", | title = "سالن ورزشی", | ||
| خط ۹۱۱: | خط ۱٬۲۵۳: | ||
} | } | ||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Swimming Pool | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
pool = { | p.entities.pool = { | ||
title = "استخر", | title = "استخر ورزشی", | ||
layouts = { | layouts = { | ||
| خط ۹۳۱: | خط ۱٬۲۷۱: | ||
} | } | ||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Zurkhaneh | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
zurkhaneh = { | p.entities.zurkhaneh = { | ||
title = "زورخانه", | title = "زورخانه", | ||
| خط ۹۵۱: | خط ۱٬۲۸۹: | ||
} | } | ||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Sports School | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
sports_school = { | p.entities.sports_school = { | ||
title = "مدرسه ورزشی", | title = "مدرسه ورزشی", | ||
| خط ۹۷۲: | خط ۱٬۳۰۸: | ||
} | } | ||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Sports Complex | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
sports_complex = { | p.entities.sports_complex = { | ||
title = "مجموعه ورزشی", | title = "مجموعه ورزشی", | ||
| خط ۹۹۳: | خط ۱٬۳۲۷: | ||
} | } | ||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Sports Board | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.entities.board = { | |||
title = "هیئت ورزشی", | |||
title = " | |||
layouts = { | layouts = { | ||
" | "board", | ||
"management", | |||
"location", | "location", | ||
"contact" | "contact" | ||
| خط ۱٬۰۱۳: | خط ۱٬۳۴۶: | ||
} | } | ||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Competition | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.entities.competition = { | |||
title = " | title = "رویداد ورزشی", | ||
layouts = { | layouts = { | ||
" | "competition", | ||
"location", | "location", | ||
"contact" | "contact", | ||
"honors" | |||
} | } | ||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Entity Defaults | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
for _, entity in pairs(p.entities) do | |||
entity.icon = entity.icon or nil | |||
title = " | entity.category = entity.category or nil | ||
end | |||
-------------------------------------------------------------------------------- | |||
-- Sports Event | |||
-------------------------------------------------------------------------------- | |||
p.layouts.sports_event = { | |||
"sport", | |||
"discipline", | |||
"season", | |||
"competition", | |||
"level", | |||
"champion", | |||
"runner_up" | |||
} | |||
-------------------------------------------------------------------------------- | |||
-- Sports Event Entity | |||
-------------------------------------------------------------------------------- | |||
p.entities.sports_event = { | |||
title = "رویداد ورزشی", | |||
layouts = { | layouts = { | ||
| خط ۱٬۰۵۰: | خط ۱٬۴۱۲: | ||
"competition", | "competition", | ||
"location", | "location", | ||
"honors", | |||
"contact" | "contact" | ||
| خط ۱٬۰۵۵: | خط ۱٬۴۱۸: | ||
} | } | ||
-------------------------------------------------------------------------------- | |||
-- Additional Metadata | |||
-------------------------------------------------------------------------------- | |||
p.meta.fields = { | |||
dynamic = true, | |||
removeEmpty = true, | |||
useFieldDefinitions = true | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- Version | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.version = { | p.version = { | ||
major = | major = 3, | ||
minor = | minor = 0, | ||
name = "AlborzSports" | name = "AlborzSports" | ||
نسخهٔ ۴ اوت ۲۰۲۶، ساعت ۱۱:۳۹
توضیحات این پودمان میتواند در پودمان:AlborzSports/Data/توضیحات قرار گیرد.
--------------------------------------------------------------------------------
-- Module:AlborzSports/Data
-- Wiki Alborz Sports Information System
-- Version 3.0
--------------------------------------------------------------------------------
local p = {}
--------------------------------------------------------------------------------
-- META
--------------------------------------------------------------------------------
p.meta = {
title = "جعبه اطلاعات ورزش",
class = "infobox sport-infobox",
imageWidth = "250px"
}
--------------------------------------------------------------------------------
-- DEFAULT VALUES
--------------------------------------------------------------------------------
p.defaults = {
country = "ایران",
nationality = "ایرانی",
entity_type = "player",
image_width = "250px"
}
--------------------------------------------------------------------------------
-- LOOKUP
--------------------------------------------------------------------------------
p.lookup = {
--------------------------------------------------------------------------------
-- Identity
--------------------------------------------------------------------------------
id = "id",
["شناسه"] = "id",
name = "name",
["نام"] = "name",
fullname = "fullname",
full_name = "fullname",
["نام کامل"] = "fullname",
native_name = "native_name",
["نام بومی"] = "native_name",
english_name = "english_name",
["نام انگلیسی"] = "english_name",
nickname = "nickname",
["لقب"] = "nickname",
--------------------------------------------------------------------------------
-- Image
--------------------------------------------------------------------------------
image = "image",
["تصویر"] = "image",
caption = "caption",
["زیرنویس"] = "caption",
image_width = "image_width",
image_size = "image_width",
["اندازه تصویر"] = "image_width",
--------------------------------------------------------------------------------
-- Entity
--------------------------------------------------------------------------------
entity_type = "entity_type",
type = "entity_type",
["نوع"] = "entity_type",
["گونه"] = "entity_type",
["رده"] = "entity_type",
--------------------------------------------------------------------------------
-- Personal Information
--------------------------------------------------------------------------------
gender = "gender",
["جنسیت"] = "gender",
country = "country",
["کشور"] = "country",
nationality = "nationality",
["ملیت"] = "nationality",
birth_date = "birth_date",
["زادروز"] = "birth_date",
["تاریخ تولد"] = "birth_date",
birth_place = "birth_place",
["محل تولد"] = "birth_place",
death_date = "death_date",
["درگذشت"] = "death_date",
death_place = "death_place",
["محل درگذشت"] = "death_place",
hometown = "hometown",
["زادگاه"] = "hometown",
residence = "residence",
["محل سکونت"] = "residence",
occupation = "occupation",
["پیشه"] = "occupation",
--------------------------------------------------------------------------------
-- Family
--------------------------------------------------------------------------------
father = "father",
["پدر"] = "father",
mother = "mother",
["مادر"] = "mother",
parents = "parents",
["والدین"] = "parents",
spouse = "spouse",
["همسر"] = "spouse",
children = "children",
["فرزندان"] = "children",
siblings = "siblings",
["خواهران و برادران"] = "siblings",
relatives = "relatives",
["خویشاوندان"] = "relatives",
--------------------------------------------------------------------------------
-- Education
--------------------------------------------------------------------------------
education = "education",
["تحصیلات"] = "education",
university = "university",
["دانشگاه"] = "university",
alma_mater = "alma_mater",
["دانشآموخته"] = "alma_mater",
--------------------------------------------------------------------------------
-- Physical
--------------------------------------------------------------------------------
height = "height",
["قد"] = "height",
weight = "weight",
["وزن"] = "weight",
handed = "handed",
["دست غالب"] = "handed",
foot = "foot",
["پای تخصصی"] = "foot",
--------------------------------------------------------------------------------
-- Contact
--------------------------------------------------------------------------------
phone = "phone",
["تلفن"] = "phone",
email = "email",
["رایانامه"] = "email",
website = "website",
["وبگاه"] = "website",
["وبگاه"] = "website",
instagram = "instagram",
["اینستاگرام"] = "instagram",
telegram = "telegram",
["تلگرام"] = "telegram",
aparat = "aparat",
["آپارات"] = "aparat",
x = "x",
twitter = "x",
["ایکس"] = "x",
--------------------------------------------------------------------------------
-- Sport
--------------------------------------------------------------------------------
sport = "sport",
["ورزش"] = "sport",
discipline = "discipline",
["رشته"] = "discipline",
category = "category",
["رده ورزشی"] = "category",
years_active = "years_active",
["سالهای فعالیت"] = "years_active",
coach = "coach",
["مربی"] = "coach",
debut = "debut",
["آغاز فعالیت"] = "debut",
retirement = "retirement",
["بازنشستگی"] = "retirement",
--------------------------------------------------------------------------------
-- Athlete (Player)
--------------------------------------------------------------------------------
position = "position",
["پست"] = "position",
number = "number",
["شماره"] = "number",
current_club = "current_club",
["باشگاه فعلی"] = "current_club",
former_clubs = "former_clubs",
["باشگاههای پیشین"] = "former_clubs",
club = "club",
["باشگاه"] = "club",
team = "team",
["تیم"] = "team",
national_team = "national_team",
["تیم ملی"] = "national_team",
--------------------------------------------------------------------------------
-- Coach
--------------------------------------------------------------------------------
coach_position = "coach_position",
["سمت مربیگری"] = "coach_position",
coaching_license = "coaching_license",
["درجه مربیگری"] = "coaching_license",
coaching_history = "coaching_history",
coaching = "coaching_history",
["سوابق مربیگری"] = "coaching_history",
coaching_clubs = "coaching_clubs",
["باشگاههای مربیگری"] = "coaching_clubs",
--------------------------------------------------------------------------------
-- Referee
--------------------------------------------------------------------------------
referee_grade = "referee_grade",
["درجه داوری"] = "referee_grade",
referee_years = "referee_years",
["سالهای داوری"] = "referee_years",
committee = "committee",
["کمیته"] = "committee",
major_events = "major_events",
["رقابتهای مهم"] = "major_events",
--------------------------------------------------------------------------------
-- Sports Management
--------------------------------------------------------------------------------
management_position = "management_position",
["سمت مدیریتی"] = "management_position",
management_term = "management_term",
["دوره مدیریت"] = "management_term",
--------------------------------------------------------------------------------
-- Club
--------------------------------------------------------------------------------
established = "established",
["تأسیس"] = "established",
founder = "founder",
["بنیانگذار"] = "founder",
owner = "owner",
["مالک"] = "owner",
operator = "operator",
["بهرهبردار"] = "operator",
president = "president",
["رئیس"] = "president",
ceo = "ceo",
["مدیرعامل"] = "ceo",
head_coach = "head_coach",
["سرمربی"] = "head_coach",
stadium = "stadium",
["ورزشگاه"] = "stadium",
league = "league",
["لیگ"] = "league",
colors = "colors",
["رنگها"] = "colors",
motto = "motto",
["شعار"] = "motto",
logo = "logo",
["نشان"] = "logo",
capacity = "capacity",
["ظرفیت"] = "capacity",
--------------------------------------------------------------------------------
-- Sports Facilities
--------------------------------------------------------------------------------
facility_type = "facility_type",
["نوع مجموعه"] = "facility_type",
sports = "sports",
["رشتههای ورزشی"] = "sports",
surface = "surface",
["سطح زمین"] = "surface",
architect = "architect",
["معمار"] = "architect",
--------------------------------------------------------------------------------
-- Location
--------------------------------------------------------------------------------
province = "province",
["استان"] = "province",
city = "city",
["شهر"] = "city",
district = "district",
["منطقه"] = "district",
address = "address",
["نشانی"] = "address",
coordinates = "coordinates",
["مختصات"] = "coordinates",
--------------------------------------------------------------------------------
-- Federation / Sports Board
--------------------------------------------------------------------------------
federation = "federation",
["فدراسیون"] = "federation",
board = "board",
["هیئت"] = "board",
chairman = "chairman",
["رئیس هیئت"] = "chairman",
--------------------------------------------------------------------------------
-- Competition
--------------------------------------------------------------------------------
competition = "competition",
["مسابقات"] = "competition",
season = "season",
["فصل"] = "season",
level = "level",
["سطح مسابقات"] = "level",
champion = "champion",
["قهرمان"] = "champion",
runner_up = "runner_up",
["نایب قهرمان"] = "runner_up",
--------------------------------------------------------------------------------
-- Honors
--------------------------------------------------------------------------------
honors = "honors",
["افتخارات"] = "honors",
awards = "awards",
["جوایز"] = "awards",
records = "records",
["رکوردها"] = "records",
medals = "medals",
["مدالها"] = "medals",
medaltemplates = "medaltemplates",
}
--------------------------------------------------------------------------------
-- FIELD DEFINITIONS
--------------------------------------------------------------------------------
p.fieldDefinitions = {
--------------------------------------------------------------------------------
-- Identity
--------------------------------------------------------------------------------
id = { label = "شناسه" },
name = { label = "نام" },
fullname = { label = "نام کامل" },
native_name = { label = "نام بومی" },
english_name = { label = "نام انگلیسی" },
nickname = { label = "لقب" },
--------------------------------------------------------------------------------
-- Personal
--------------------------------------------------------------------------------
gender = { label = "جنسیت" },
country = { label = "کشور" },
nationality = { label = "ملیت" },
birth_date = { label = "زادروز" },
birth_place = { label = "محل تولد" },
death_date = { label = "درگذشت" },
death_place = { label = "محل درگذشت" },
hometown = { label = "زادگاه" },
residence = { label = "محل سکونت" },
occupation = { label = "پیشه" },
--------------------------------------------------------------------------------
-- Family
--------------------------------------------------------------------------------
father = { label = "پدر" },
mother = { label = "مادر" },
parents = { label = "والدین" },
spouse = { label = "همسر" },
children = { label = "فرزندان" },
siblings = { label = "خواهران و برادران" },
relatives = { label = "خویشاوندان" },
--------------------------------------------------------------------------------
-- Education
--------------------------------------------------------------------------------
education = { label = "تحصیلات" },
university = { label = "دانشگاه" },
alma_mater = { label = "دانشآموخته" },
--------------------------------------------------------------------------------
-- Physical
--------------------------------------------------------------------------------
height = { label = "قد" },
weight = { label = "وزن" },
handed = { label = "دست غالب" },
foot = { label = "پای تخصصی" },
--------------------------------------------------------------------------------
-- Sport
--------------------------------------------------------------------------------
sport = { label = "ورزش" },
discipline = { label = "رشته" },
category = { label = "رده ورزشی" },
years_active = { label = "سالهای فعالیت" },
coach = { label = "مربی" },
debut = { label = "آغاز فعالیت" },
retirement = { label = "بازنشستگی" },
--------------------------------------------------------------------------------
-- Player
--------------------------------------------------------------------------------
position = { label = "پست" },
number = { label = "شماره" },
current_club = { label = "باشگاه فعلی" },
former_clubs = { label = "باشگاههای پیشین" },
club = { label = "باشگاه" },
team = { label = "تیم" },
national_team = { label = "تیم ملی" },
--------------------------------------------------------------------------------
-- Coach
--------------------------------------------------------------------------------
coach_position = { label = "سمت مربیگری" },
coaching_license = { label = "درجه مربیگری" },
coaching_history = { label = "سوابق مربیگری" },
coaching_clubs = { label = "باشگاههای مربیگری" },
--------------------------------------------------------------------------------
-- Referee
--------------------------------------------------------------------------------
referee_grade = { label = "درجه داوری" },
referee_years = { label = "سالهای داوری" },
committee = { label = "کمیته" },
major_events = { label = "رقابتهای مهم" },
--------------------------------------------------------------------------------
-- Management
--------------------------------------------------------------------------------
management_position = { label = "سمت مدیریتی" },
management_term = { label = "دوره مدیریت" },
--------------------------------------------------------------------------------
-- Club
--------------------------------------------------------------------------------
established = { label = "تأسیس" },
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 = "ظرفیت" },
--------------------------------------------------------------------------------
-- Facilities
--------------------------------------------------------------------------------
facility_type = { label = "نوع مجموعه" },
sports = { label = "رشتههای ورزشی" },
surface = { label = "سطح زمین" },
architect = { label = "معمار" },
--------------------------------------------------------------------------------
-- Location
--------------------------------------------------------------------------------
province = { label = "استان" },
city = { label = "شهر" },
district = { label = "منطقه" },
address = { label = "نشانی" },
coordinates = { label = "مختصات" },
--------------------------------------------------------------------------------
-- Federation
--------------------------------------------------------------------------------
federation = { label = "فدراسیون" },
board = { label = "هیئت" },
chairman = { label = "رئیس هیئت" },
--------------------------------------------------------------------------------
-- Competition
--------------------------------------------------------------------------------
competition = { label = "مسابقات" },
season = { label = "فصل" },
level = { label = "سطح مسابقات" },
champion = { label = "قهرمان" },
runner_up = { label = "نایب قهرمان" },
--------------------------------------------------------------------------------
-- Honors
--------------------------------------------------------------------------------
honors = { label = "افتخارات" },
awards = { label = "جوایز" },
records = { label = "رکوردها" },
medals = { label = "مدالها" },
medaltemplates = { label = "مدالها" },
--------------------------------------------------------------------------------
-- Contact
--------------------------------------------------------------------------------
phone = { label = "تلفن" },
email = { label = "رایانامه" },
website = { label = "وبگاه" },
instagram = { label = "اینستاگرام" },
telegram = { label = "تلگرام" },
aparat = { label = "آپارات" },
x = { label = "ایکس" }
}
--------------------------------------------------------------------------------
-- LAYOUT TITLES
--------------------------------------------------------------------------------
p.layoutTitles = {
base = "اطلاعات شخصی",
family = "خانواده",
education = "تحصیلات",
physical = "مشخصات فیزیکی",
sport = "فعالیت ورزشی",
player = "اطلاعات حرفهای",
coach = "فعالیت مربیگری",
referee = "فعالیت داوری",
manager = "مدیریت ورزشی",
club = "اطلاعات باشگاه",
academy = "اطلاعات آکادمی",
management = "مدیریت",
stadium = "اطلاعات ورزشگاه",
gym = "اطلاعات سالن ورزشی",
pool = "اطلاعات استخر",
zurkhaneh = "اطلاعات زورخانه",
sports_school = "اطلاعات مدرسه ورزشی",
sports_complex = "اطلاعات مجموعه ورزشی",
board = "هیئت ورزشی",
competition = "اطلاعات مسابقات",
location = "موقعیت",
honors = "افتخارات",
contact = "ارتباطات"
}
--------------------------------------------------------------------------------
-- LAYOUTS
--------------------------------------------------------------------------------
p.layouts = {}
--------------------------------------------------------------------------------
-- Base
--------------------------------------------------------------------------------
p.layouts.base = {
"name",
"fullname",
"native_name",
"english_name",
"nickname",
"gender",
"nationality",
"country",
"birth_date",
"birth_place",
"death_date",
"death_place",
"hometown",
"residence",
"occupation"
}
--------------------------------------------------------------------------------
-- Family
--------------------------------------------------------------------------------
p.layouts.family = {
"father",
"mother",
"parents",
"spouse",
"children",
"siblings",
"relatives"
}
--------------------------------------------------------------------------------
-- Education
--------------------------------------------------------------------------------
p.layouts.education = {
"education",
"university",
"alma_mater"
}
--------------------------------------------------------------------------------
-- Physical
--------------------------------------------------------------------------------
p.layouts.physical = {
"height",
"weight",
"handed",
"foot"
}
--------------------------------------------------------------------------------
-- Sport
--------------------------------------------------------------------------------
p.layouts.sport = {
"sport",
"discipline",
"category",
"coach",
"years_active",
"debut",
"retirement"
}
--------------------------------------------------------------------------------
-- Player / Athlete
--------------------------------------------------------------------------------
p.layouts.player = {
"position",
"number",
"current_club",
"former_clubs",
"team",
"national_team"
}
--------------------------------------------------------------------------------
-- Coach
--------------------------------------------------------------------------------
p.layouts.coach = {
"coach_position",
"coaching_license",
"coaching_history",
"coaching_clubs"
}
--------------------------------------------------------------------------------
-- Referee
--------------------------------------------------------------------------------
p.layouts.referee = {
"referee_grade",
"referee_years",
"committee",
"major_events"
}
--------------------------------------------------------------------------------
-- Sports Manager
--------------------------------------------------------------------------------
p.layouts.manager = {
"management_position",
"club",
"management_term"
}
--------------------------------------------------------------------------------
-- Club
--------------------------------------------------------------------------------
p.layouts.club = {
"sport",
"discipline",
"established",
"founder",
"league",
"colors",
"motto",
"head_coach",
"stadium",
"capacity"
}
--------------------------------------------------------------------------------
-- Academy
--------------------------------------------------------------------------------
p.layouts.academy = {
"sport",
"discipline",
"established",
"coaching_history"
}
--------------------------------------------------------------------------------
-- Management
--------------------------------------------------------------------------------
p.layouts.management = {
"owner",
"president",
"ceo",
"operator"
}
--------------------------------------------------------------------------------
-- Location
--------------------------------------------------------------------------------
p.layouts.location = {
"province",
"city",
"district",
"address",
"coordinates"
}
--------------------------------------------------------------------------------
-- Contact
--------------------------------------------------------------------------------
p.layouts.contact = {
"phone",
"email",
"website",
"instagram",
"telegram",
"aparat",
"x"
}
--------------------------------------------------------------------------------
-- Honors
--------------------------------------------------------------------------------
p.layouts.honors = {
"honors",
"awards",
"records",
"medals"
}
--------------------------------------------------------------------------------
-- Stadium
--------------------------------------------------------------------------------
p.layouts.stadium = {
"facility_type",
"established",
"owner",
"operator",
"architect",
"surface",
"capacity"
}
--------------------------------------------------------------------------------
-- Gymnasium
--------------------------------------------------------------------------------
p.layouts.gym = {
"facility_type",
"established",
"owner",
"operator",
"capacity"
}
--------------------------------------------------------------------------------
-- Swimming Pool
--------------------------------------------------------------------------------
p.layouts.pool = {
"facility_type",
"established",
"owner",
"operator"
}
--------------------------------------------------------------------------------
-- Zurkhaneh
--------------------------------------------------------------------------------
p.layouts.zurkhaneh = {
"facility_type",
"established",
"owner",
"operator"
}
--------------------------------------------------------------------------------
-- Sports School
--------------------------------------------------------------------------------
p.layouts.sports_school = {
"sport",
"discipline",
"established",
"coaching_history"
}
--------------------------------------------------------------------------------
-- Sports Complex
--------------------------------------------------------------------------------
p.layouts.sports_complex = {
"facility_type",
"sports",
"established",
"owner",
"operator",
"capacity"
}
--------------------------------------------------------------------------------
-- Sports Board
--------------------------------------------------------------------------------
p.layouts.board = {
"sport",
"federation",
"chairman",
"established"
}
--------------------------------------------------------------------------------
-- Competition
--------------------------------------------------------------------------------
p.layouts.competition = {
"sport",
"discipline",
"season",
"level",
"champion",
"runner_up"
}
--------------------------------------------------------------------------------
-- ENTITIES
--------------------------------------------------------------------------------
p.entities = {}
--------------------------------------------------------------------------------
-- Athlete / Player
--------------------------------------------------------------------------------
p.entities.player = {
title = "ورزشکار",
layouts = {
"base",
"family",
"education",
"physical",
"sport",
"player",
"honors",
"contact"
}
}
--------------------------------------------------------------------------------
-- Coach
--------------------------------------------------------------------------------
p.entities.coach = {
title = "مربی",
layouts = {
"base",
"family",
"education",
"physical",
"sport",
"coach",
"honors",
"contact"
}
}
--------------------------------------------------------------------------------
-- Referee
--------------------------------------------------------------------------------
p.entities.referee = {
title = "داور",
layouts = {
"base",
"family",
"education",
"physical",
"sport",
"referee",
"honors",
"contact"
}
}
--------------------------------------------------------------------------------
-- Sports Manager
--------------------------------------------------------------------------------
p.entities.manager = {
title = "مدیر ورزشی",
layouts = {
"base",
"family",
"education",
"sport",
"manager",
"honors",
"contact"
}
}
--------------------------------------------------------------------------------
-- Club
--------------------------------------------------------------------------------
p.entities.club = {
title = "باشگاه ورزشی",
layouts = {
"club",
"management",
"location",
"honors",
"contact"
}
}
--------------------------------------------------------------------------------
-- Academy
--------------------------------------------------------------------------------
p.entities.academy = {
title = "آکادمی ورزشی",
layouts = {
"academy",
"management",
"location",
"contact"
}
}
--------------------------------------------------------------------------------
-- Stadium
--------------------------------------------------------------------------------
p.entities.stadium = {
title = "ورزشگاه",
layouts = {
"stadium",
"location",
"contact"
}
}
--------------------------------------------------------------------------------
-- Gymnasium
--------------------------------------------------------------------------------
p.entities.gym = {
title = "سالن ورزشی",
layouts = {
"gym",
"location",
"contact"
}
}
--------------------------------------------------------------------------------
-- Swimming Pool
--------------------------------------------------------------------------------
p.entities.pool = {
title = "استخر ورزشی",
layouts = {
"pool",
"location",
"contact"
}
}
--------------------------------------------------------------------------------
-- Zurkhaneh
--------------------------------------------------------------------------------
p.entities.zurkhaneh = {
title = "زورخانه",
layouts = {
"zurkhaneh",
"location",
"contact"
}
}
--------------------------------------------------------------------------------
-- Sports School
--------------------------------------------------------------------------------
p.entities.sports_school = {
title = "مدرسه ورزشی",
layouts = {
"sports_school",
"management",
"location",
"contact"
}
}
--------------------------------------------------------------------------------
-- Sports Complex
--------------------------------------------------------------------------------
p.entities.sports_complex = {
title = "مجموعه ورزشی",
layouts = {
"sports_complex",
"management",
"location",
"contact"
}
}
--------------------------------------------------------------------------------
-- Sports Board
--------------------------------------------------------------------------------
p.entities.board = {
title = "هیئت ورزشی",
layouts = {
"board",
"management",
"location",
"contact"
}
}
--------------------------------------------------------------------------------
-- Competition
--------------------------------------------------------------------------------
p.entities.competition = {
title = "رویداد ورزشی",
layouts = {
"competition",
"location",
"contact",
"honors"
}
}
--------------------------------------------------------------------------------
-- Entity Defaults
--------------------------------------------------------------------------------
for _, entity in pairs(p.entities) do
entity.icon = entity.icon or nil
entity.category = entity.category or nil
end
--------------------------------------------------------------------------------
-- Sports Event
--------------------------------------------------------------------------------
p.layouts.sports_event = {
"sport",
"discipline",
"season",
"competition",
"level",
"champion",
"runner_up"
}
--------------------------------------------------------------------------------
-- Sports Event Entity
--------------------------------------------------------------------------------
p.entities.sports_event = {
title = "رویداد ورزشی",
layouts = {
"competition",
"location",
"honors",
"contact"
}
}
--------------------------------------------------------------------------------
-- Additional Metadata
--------------------------------------------------------------------------------
p.meta.fields = {
dynamic = true,
removeEmpty = true,
useFieldDefinitions = true
}
--------------------------------------------------------------------------------
-- Version
--------------------------------------------------------------------------------
p.version = {
major = 3,
minor = 0,
name = "AlborzSports"
}
--------------------------------------------------------------------------------
-- EXPORT
--------------------------------------------------------------------------------
return p