پودمان:AlborzSports/Data: تفاوت میان نسخهها
ظاهر
جزبدون خلاصۀ ویرایش |
جزبدون خلاصۀ ویرایش |
||
| خط ۲: | خط ۲: | ||
-- Module:AlborzSports/Data | -- Module:AlborzSports/Data | ||
-- Wiki Alborz Sports Information System | -- Wiki Alborz Sports Information System | ||
-- Version 2. | -- Data Definition | ||
-- Version 2.2 | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
local p = {} | local p = {} | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۱۳: | خط ۱۵: | ||
p.meta = { | p.meta = { | ||
title = "جعبه اطلاعات ورزش", | |||
class = "infobox sport-infobox", | |||
imageWidth = "280px" | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۲۷: | خط ۳۰: | ||
p.defaults = { | p.defaults = { | ||
country = "ایران", | |||
nationality = "ایرانی", | |||
entity_type = "player", | |||
image_width = "280px" | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۴۳: | خط ۴۷: | ||
p.lookup = { | p.lookup = { | ||
------------------------------------------------------------ | |||
-- Identity | |||
------------------------------------------------------------ | |||
id = "id", | |||
["شناسه"] = "id", | |||
name = "name", | |||
["نام"] = "name", | |||
fullname = "fullname", | |||
full_name = "fullname", | |||
["نام کامل"] = "fullname", | |||
native_name = "native_name", | |||
["نام بومی"] = "native_name", | |||
english_name = "english_name", | |||
["نام انگلیسی"] = "english_name", | |||
nickname = "nickname", | |||
["لقب"] = "nickname", | |||
------------------------------------------------------------ | |||
-- Image | |||
------------------------------------------------------------ | |||
image = "image", | |||
["تصویر"] = "image", | |||
caption = "caption", | |||
["زیرنویس"] = "caption", | |||
image_width = "image_width", | |||
image_size = "image_width", | |||
["اندازه تصویر"] = "image_width", | |||
------------------------------------------------------------ | |||
-- Entity | |||
------------------------------------------------------------ | |||
entity_type = "entity_type", | |||
type = "entity_type", | |||
["نوع"] = "entity_type", | |||
["گونه"] = "entity_type", | |||
["رده"] = "entity_type", | |||
------------------------------------------------------------ | |||
-- Personal Information | |||
------------------------------------------------------------ | |||
country = "country", | |||
["کشور"] = "country", | |||
nationality = "nationality", | |||
["ملیت"] = "nationality", | |||
birth_date = "birth_date", | |||
["زادروز"] = "birth_date", | |||
["تاریخ تولد"] = "birth_date", | |||
birth_place = "birth_place", | |||
["محل تولد"] = "birth_place", | |||
death_date = "death_date", | |||
["درگذشت"] = "death_date", | |||
death_place = "death_place", | |||
["محل درگذشت"] = "death_place", | |||
hometown = "hometown", | |||
["زادگاه"] = "hometown", | |||
residence = "residence", | |||
["محل سکونت"] = "residence", | |||
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", | |||
website = "website", | |||
["وبگاه"] = "website", | |||
["وبگاه"] = "website", | |||
instagram = "instagram", | |||
["اینستاگرام"] = "instagram", | |||
telegram = "telegram", | |||
["تلگرام"] = "telegram", | |||
aparat = "aparat", | |||
["آپارات"] = "aparat", | |||
x = "x", | |||
twitter = "x", | |||
["ایکس"] = "x", | |||
------------------------------------------------------------ | |||
-- General Sport | |||
------------------------------------------------------------ | |||
-- | |||
sport = "sport", | |||
["ورزش"] = "sport", | |||
discipline = "discipline", | |||
["رشته"] = "discipline", | |||
category = "category", | |||
["رده ورزشی"] = "category", | |||
years_active = "years_active", | |||
["سالهای فعالیت"] = "years_active", | |||
------------------------------------------------------------ | |||
-- Player | |||
------------------------------------------------------------ | |||
position = "position", | |||
["پست"] = "position", | |||
number = "number", | |||
["شماره"] = "number", | |||
current_club = "current_club", | |||
["باشگاه فعلی"] = "current_club", | |||
former_clubs = "former_clubs", | |||
["باشگاههای پیشین"] = "former_clubs", | |||
club = "club", | |||
["باشگاه"] = "club", | |||
team = "team", | |||
["تیم"] = "team", | |||
national_team = "national_team", | |||
["تیم ملی"] = "national_team", | |||
------------------------------------------------------------ | |||
-- Coach | |||
------------------------------------------------------------ | |||
coach_position = "coach_position", | |||
["سمت مربیگری"] = "coach_position", | |||
coaching_license = "coaching_license", | |||
["درجه مربیگری"] = "coaching_license", | |||
coaching_history = "coaching_history", | |||
coaching = "coaching_history", | |||
["سوابق مربیگری"] = "coaching_history", | |||
coaching_clubs = "coaching_clubs", | |||
["باشگاههای مربیگری"] = "coaching_clubs", | |||
------------------------------------------------------------ | |||
-- Referee | |||
------------------------------------------------------------ | |||
referee_grade = "referee_grade", | |||
["درجه داوری"] = "referee_grade", | |||
referee_years = "referee_years", | |||
["سالهای داوری"] = "referee_years", | |||
committee = "committee", | |||
["کمیته"] = "committee", | |||
major_events = "major_events", | |||
["رقابتهای مهم"] = "major_events", | |||
------------------------------------------------------------ | |||
-- Sports Management | |||
------------------------------------------------------------ | |||
management_position = "management_position", | |||
["سمت مدیریتی"] = "management_position", | |||
management_term = "management_term", | |||
["دوره مدیریت"] = "management_term", | |||
founder = "founder", | |||
["بنیانگذار"] = "founder", | |||
operator = "operator", | |||
["بهرهبردار"] = "operator", | |||
------------------------------------------------------------ | |||
-- Club | |||
------------------------------------------------------------ | |||
established = "established", | |||
["تأسیس"] = "established", | |||
owner = "owner", | |||
["مالک"] = "owner", | |||
president = "president", | |||
["رئیس"] = "president", | |||
ceo = "ceo", | |||
["مدیرعامل"] = "ceo", | |||
head_coach = "head_coach", | |||
["سرمربی"] = "head_coach", | |||
stadium = "stadium", | |||
["ورزشگاه"] = "stadium", | |||
capacity = "capacity", | |||
["ظرفیت"] = "capacity", | |||
------------------------------------------------------------ | |||
-- Sports Facilities | |||
------------------------------------------------------------ | |||
facility_type = "facility_type", | |||
["نوع مجموعه"] = "facility_type", | |||
province = "province", | |||
["استان"] = "province", | |||
city = "city", | |||
["شهر"] = "city", | |||
district = "district", | |||
["منطقه"] = "district", | |||
address = "address", | |||
["نشانی"] = "address", | |||
coordinates = "coordinates", | |||
["مختصات"] = "coordinates", | |||
------------------------------------------------------------ | |||
-- Federation / Board | |||
------------------------------------------------------------ | |||
federation = "federation", | |||
["فدراسیون"] = "federation", | |||
board = "board", | |||
["هیئت"] = "board", | |||
chairman = "chairman", | |||
["رئیس هیئت"] = "chairman", | |||
------------------------------------------------------------ | |||
-- Competition | |||
------------------------------------------------------------ | |||
competition = "competition", | |||
["مسابقات"] = "competition", | |||
season = "season", | |||
["فصل"] = "season", | |||
champion = "champion", | |||
["قهرمان"] = "champion", | |||
runner_up = "runner_up", | |||
["نایب قهرمان"] = "runner_up", | |||
level = "level", | |||
["سطح مسابقات"] = "level", | |||
------------------------------------------------------------ | |||
-- Honors | |||
------------------------------------------------------------ | |||
honors = "honors", | |||
["افتخارات"] = "honors", | |||
medals = "medals", | |||
["مدالها"] = "medals", | |||
medaltemplates = "medaltemplates", | |||
medaltemplates_title = "medaltemplates_title", | |||
["عنوان مدالها"] = "medaltemplates_title" | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۳۷۱: | خط ۳۹۸: | ||
p.layouts = {} | p.layouts = {} | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۳۷۸: | خط ۴۰۶: | ||
p.layoutTitles = { | p.layoutTitles = { | ||
base = "اطلاعات شخصی", | |||
physical = "مشخصات فیزیکی", | |||
education = "تحصیلات", | |||
player = "اطلاعات ورزشی", | |||
coach = "سوابق مربیگری", | |||
referee = "سوابق داوری", | |||
manager = "مدیریت ورزشی", | |||
club = "اطلاعات باشگاه", | |||
academy = "اطلاعات آکادمی", | |||
management = "مدیریت", | |||
location = "موقعیت", | |||
contact = "ارتباطات", | |||
honors = "افتخارات", | |||
stadium = "اطلاعات ورزشگاه", | |||
gym = "اطلاعات سالن ورزشی", | |||
pool = "اطلاعات استخر", | |||
zurkhaneh = "اطلاعات زورخانه", | |||
sports_school = "مدرسه ورزشی", | |||
sports_complex = "مجموعه ورزشی", | |||
facility = "مجموعه ورزشی", | |||
board = "هیئت ورزشی", | |||
competition = "اطلاعات مسابقات" | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- BASE INFORMATION | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.base = { | 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 = { | p.layouts.physical = { | ||
{"قد", "height"}, | |||
{"وزن", "weight"}, | |||
{"دست غالب", "handed"}, | |||
{"پای تخصصی", "foot"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- EDUCATION | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.education = { | p.layouts.education = { | ||
{"تحصیلات", "education"}, | |||
{"دانشگاه", "university"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- PLAYER | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.player = { | p.layouts.player = { | ||
{"ورزش", "sport"}, | |||
{"رشته", "discipline"}, | |||
{"پست", "position"}, | |||
{"شماره", "number"}, | |||
{"باشگاه فعلی", "current_club"}, | |||
{"باشگاههای پیشین", "former_clubs"}, | |||
{"تیم ملی", "national_team"}, | |||
{"سالهای فعالیت", "years_active"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- COACH | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.coach = { | p.layouts.coach = { | ||
{"ورزش", "sport"}, | |||
{"رشته", "discipline"}, | |||
{"سمت مربیگری", "coach_position"}, | |||
{"درجه مربیگری", "coaching_license"}, | |||
{"سوابق مربیگری", "coaching_history"}, | |||
{"باشگاههای مربیگری", "coaching_clubs"}, | |||
{"سالهای فعالیت", "years_active"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- REFEREE | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.referee = { | p.layouts.referee = { | ||
{"ورزش", "sport"}, | |||
{"رشته", "discipline"}, | |||
{"درجه داوری", "referee_grade"}, | |||
{"سالهای داوری", "referee_years"}, | |||
{"کمیته", "committee"}, | |||
{"رقابتهای مهم", "major_events"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- SPORTS MANAGER | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.manager = { | p.layouts.manager = { | ||
{"ورزش", "sport"}, | |||
{"رشته", "discipline"}, | |||
{"سمت مدیریتی", "management_position"}, | |||
{"باشگاه", "club"}, | |||
{"دوره مدیریت", "management_term"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- MANAGEMENT | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.management = { | p.layouts.management = { | ||
{"مالک", "owner"}, | |||
{"رئیس", "president"}, | |||
{"مدیرعامل", "ceo"}, | |||
{"بنیانگذار", "founder"}, | |||
{"بهرهبردار", "operator"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- LOCATION | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.location = { | p.layouts.location = { | ||
{"استان", "province"}, | |||
{"شهر", "city"}, | |||
{"منطقه", "district"}, | |||
{"نشانی", "address"}, | |||
{"مختصات", "coordinates"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- CONTACT | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.contact = { | p.layouts.contact = { | ||
{"تلفن", "phone"}, | |||
{"رایانامه", "email"}, | |||
{"وبگاه", "website"}, | |||
{"اینستاگرام", "instagram"}, | |||
{"تلگرام", "telegram"}, | |||
{"آپارات", "aparat"}, | |||
{"ایکس", "x"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- HONORS | ||
-------------------------------------------------------------------------------- | |||
-- medaltemplates is intentionally NOT included here. | |||
-- It is rendered separately by Module:AlborzSports. | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.honors = { | p.layouts.honors = { | ||
{"افتخارات", "honors"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- CLUB | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.club = { | p.layouts.club = { | ||
{"ورزش", "sport"}, | |||
{"رشته", "discipline"}, | |||
{"تأسیس", "established"}, | |||
{"سرمربی", "head_coach"}, | |||
{"ورزشگاه", "stadium"}, | |||
{"ظرفیت", "capacity"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- ACADEMY | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.academy = { | p.layouts.academy = { | ||
{"ورزش", "sport"}, | |||
{"رشته", "discipline"}, | |||
{"تأسیس", "established"}, | |||
{"مربیان", "coaching_history"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- STADIUM | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.stadium = { | p.layouts.stadium = { | ||
{"نوع مجموعه", "facility_type"}, | |||
{"ورزش", "sport"}, | |||
{"تأسیس", "established"}, | |||
{"ظرفیت", "capacity"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- GYM | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.gym = { | p.layouts.gym = { | ||
{"نوع مجموعه", "facility_type"}, | |||
{"تأسیس", "established"}, | |||
{"ظرفیت", "capacity"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- SWIMMING POOL | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.pool = { | p.layouts.pool = { | ||
{"نوع مجموعه", "facility_type"}, | |||
{"تأسیس", "established"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- ZURKHANEH | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.zurkhaneh = { | p.layouts.zurkhaneh = { | ||
{"نوع مجموعه", "facility_type"}, | |||
{"تأسیس", "established"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- SPORTS SCHOOL | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.sports_school = { | p.layouts.sports_school = { | ||
{"ورزش", "sport"}, | |||
{"رشته", "discipline"}, | |||
{"تأسیس", "established"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- SPORTS COMPLEX | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.sports_complex = { | p.layouts.sports_complex = { | ||
{"نوع مجموعه", "facility_type"}, | |||
{"تأسیس", "established"}, | |||
{"ظرفیت", "capacity"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- FACILITY | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.facility = { | p.layouts.facility = { | ||
{"نوع مجموعه", "facility_type"}, | |||
{"تأسیس", "established"}, | |||
{"ظرفیت", "capacity"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- FEDERATION / SPORTS BOARD | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.board = { | p.layouts.board = { | ||
{"ورزش", "sport"}, | |||
{"فدراسیون", "federation"}, | |||
{"رئیس هیئت", "chairman"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- COMPETITION | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.competition = { | p.layouts.competition = { | ||
{"ورزش", "sport"}, | |||
{"رشته", "discipline"}, | |||
{"فصل", "season"}, | |||
{"قهرمان", "champion"}, | |||
{"نایب قهرمان", "runner_up"}, | |||
{"سطح مسابقات", "level"} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۷۵۳: | خط ۸۰۸: | ||
p.entities = { | p.entities = { | ||
player = { | -------------------------------------------------------------------------------- | ||
-- PLAYER | |||
-------------------------------------------------------------------------------- | |||
player = { | |||
type = "player", | |||
title = "بازیکن", | |||
layouts = { | |||
"base", | |||
"physical", | |||
"education", | |||
"player", | |||
"honors", | |||
"contact" | |||
} | |||
}, | |||
-------------------------------------------------------------------------------- | |||
-- COACH | |||
-------------------------------------------------------------------------------- | |||
coach = { | |||
type = "coach", | |||
title = "مربی", | |||
layouts = { | |||
"base", | |||
"physical", | |||
"education", | |||
"coach", | |||
"honors", | |||
"contact" | |||
} | |||
}, | |||
-------------------------------------------------------------------------------- | |||
-- REFEREE | |||
-------------------------------------------------------------------------------- | |||
referee = { | |||
type = "referee", | |||
title = "داور", | |||
layouts = { | |||
"base", | |||
"physical", | |||
"education", | |||
"referee", | |||
"honors", | |||
"contact" | |||
} | |||
}, | |||
-------------------------------------------------------------------------------- | |||
-- SPORTS MANAGER | |||
-------------------------------------------------------------------------------- | |||
manager = { | |||
type = "manager", | |||
title = "مدیر ورزشی", | |||
layouts = { | |||
"base", | |||
"education", | |||
"manager", | |||
"honors", | |||
"contact" | |||
} | |||
}, | |||
-------------------------------------------------------------------------------- | |||
-- CLUB | |||
-------------------------------------------------------------------------------- | |||
club = { | |||
type = "club", | |||
title = "باشگاه ورزشی", | |||
layouts = { | |||
"club", | |||
"management", | |||
"location", | |||
"contact" | |||
} | |||
}, | |||
-------------------------------------------------------------------------------- | |||
-- ACADEMY | |||
-------------------------------------------------------------------------------- | |||
academy = { | |||
type = "academy", | |||
title = "آکادمی ورزشی", | |||
layouts = { | |||
"academy", | |||
"management", | |||
"location", | |||
"contact" | |||
} | |||
}, | |||
-------------------------------------------------------------------------------- | |||
-- STADIUM | |||
-------------------------------------------------------------------------------- | |||
stadium = { | |||
type = "stadium", | |||
title = "ورزشگاه", | |||
layouts = { | |||
"stadium", | |||
"location", | |||
"contact" | |||
} | |||
}, | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- GYMNASIUM | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
gym = { | |||
type = "gym", | |||
title = "سالن ورزشی", | |||
layouts = { | |||
"gym", | |||
"location", | |||
"contact" | |||
} | |||
}, | }, | ||
-------------------------------------------------------------------------------- | |||
-- SWIMMING POOL | |||
-------------------------------------------------------------------------------- | |||
pool = { | |||
type = "pool", | |||
title = "استخر", | |||
layouts = { | |||
"pool", | |||
"location", | |||
"contact" | |||
} | } | ||
}, | |||
-------------------------------------------------------------------------------- | |||
-- ZURKHANEH | |||
-------------------------------------------------------------------------------- | |||
zurkhaneh = { | |||
type = "zurkhaneh", | |||
title = "زورخانه", | |||
layouts = { | |||
"zurkhaneh", | |||
"location", | |||
"contact" | |||
} | |||
}, | |||
-------------------------------------------------------------------------------- | |||
-- SPORTS SCHOOL | |||
-------------------------------------------------------------------------------- | |||
sports_school = { | |||
type = "sports_school", | |||
title = "مدرسه ورزشی", | |||
layouts = { | |||
"sports_school", | |||
"management", | |||
"location", | |||
"contact" | |||
} | |||
}, | |||
-------------------------------------------------------------------------------- | |||
-- SPORTS COMPLEX | |||
-------------------------------------------------------------------------------- | |||
sports_complex = { | |||
type = "sports_complex", | |||
title = "مجموعه ورزشی", | |||
layouts = { | |||
sports_complex | "sports_complex", | ||
"management", | |||
"location", | |||
"contact" | |||
} | |||
}, | |||
-------------------------------------------------------------------------------- | |||
-- FACILITY | |||
-------------------------------------------------------------------------------- | |||
facility = { | |||
type = "facility", | |||
title = "مجموعه ورزشی", | |||
layouts = { | |||
"facility", | |||
"location", | |||
"contact" | |||
} | |||
}, | |||
-------------------------------------------------------------------------------- | |||
-- SPORTS BOARD | |||
-------------------------------------------------------------------------------- | |||
board = { | |||
type = "board", | |||
title = "هیئت ورزشی", | |||
layouts = { | |||
"board", | |||
"management", | |||
"location", | |||
"contact" | |||
} | |||
}, | |||
-------------------------------------------------------------------------------- | |||
-- COMPETITION | |||
-------------------------------------------------------------------------------- | |||
competition = { | |||
competition | type = "competition", | ||
title = "مسابقات", | |||
layouts = { | |||
"competition", | |||
"location", | |||
"contact" | |||
} | |||
} | |||
} | } | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۱٬۰۷۷: | خط ۱٬۱۴۸: | ||
p.version = { | p.version = { | ||
major = 2, | |||
minor = 2, | |||
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",
["نام انگلیسی"] = "english_name",
nickname = "nickname",
["لقب"] = "nickname",
------------------------------------------------------------
-- Image
------------------------------------------------------------
image = "image",
["تصویر"] = "image",
caption = "caption",
["زیرنویس"] = "caption",
image_width = "image_width",
image_size = "image_width",
["اندازه تصویر"] = "image_width",
------------------------------------------------------------
-- Entity
------------------------------------------------------------
entity_type = "entity_type",
type = "entity_type",
["نوع"] = "entity_type",
["گونه"] = "entity_type",
["رده"] = "entity_type",
------------------------------------------------------------
-- Personal Information
------------------------------------------------------------
country = "country",
["کشور"] = "country",
nationality = "nationality",
["ملیت"] = "nationality",
birth_date = "birth_date",
["زادروز"] = "birth_date",
["تاریخ تولد"] = "birth_date",
birth_place = "birth_place",
["محل تولد"] = "birth_place",
death_date = "death_date",
["درگذشت"] = "death_date",
death_place = "death_place",
["محل درگذشت"] = "death_place",
hometown = "hometown",
["زادگاه"] = "hometown",
residence = "residence",
["محل سکونت"] = "residence",
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",
website = "website",
["وبگاه"] = "website",
["وبگاه"] = "website",
instagram = "instagram",
["اینستاگرام"] = "instagram",
telegram = "telegram",
["تلگرام"] = "telegram",
aparat = "aparat",
["آپارات"] = "aparat",
x = "x",
twitter = "x",
["ایکس"] = "x",
------------------------------------------------------------
-- General Sport
------------------------------------------------------------
sport = "sport",
["ورزش"] = "sport",
discipline = "discipline",
["رشته"] = "discipline",
category = "category",
["رده ورزشی"] = "category",
years_active = "years_active",
["سالهای فعالیت"] = "years_active",
------------------------------------------------------------
-- Player
------------------------------------------------------------
position = "position",
["پست"] = "position",
number = "number",
["شماره"] = "number",
current_club = "current_club",
["باشگاه فعلی"] = "current_club",
former_clubs = "former_clubs",
["باشگاههای پیشین"] = "former_clubs",
club = "club",
["باشگاه"] = "club",
team = "team",
["تیم"] = "team",
national_team = "national_team",
["تیم ملی"] = "national_team",
------------------------------------------------------------
-- Coach
------------------------------------------------------------
coach_position = "coach_position",
["سمت مربیگری"] = "coach_position",
coaching_license = "coaching_license",
["درجه مربیگری"] = "coaching_license",
coaching_history = "coaching_history",
coaching = "coaching_history",
["سوابق مربیگری"] = "coaching_history",
coaching_clubs = "coaching_clubs",
["باشگاههای مربیگری"] = "coaching_clubs",
------------------------------------------------------------
-- Referee
------------------------------------------------------------
referee_grade = "referee_grade",
["درجه داوری"] = "referee_grade",
referee_years = "referee_years",
["سالهای داوری"] = "referee_years",
committee = "committee",
["کمیته"] = "committee",
major_events = "major_events",
["رقابتهای مهم"] = "major_events",
------------------------------------------------------------
-- Sports Management
------------------------------------------------------------
management_position = "management_position",
["سمت مدیریتی"] = "management_position",
management_term = "management_term",
["دوره مدیریت"] = "management_term",
founder = "founder",
["بنیانگذار"] = "founder",
operator = "operator",
["بهرهبردار"] = "operator",
------------------------------------------------------------
-- Club
------------------------------------------------------------
established = "established",
["تأسیس"] = "established",
owner = "owner",
["مالک"] = "owner",
president = "president",
["رئیس"] = "president",
ceo = "ceo",
["مدیرعامل"] = "ceo",
head_coach = "head_coach",
["سرمربی"] = "head_coach",
stadium = "stadium",
["ورزشگاه"] = "stadium",
capacity = "capacity",
["ظرفیت"] = "capacity",
------------------------------------------------------------
-- Sports Facilities
------------------------------------------------------------
facility_type = "facility_type",
["نوع مجموعه"] = "facility_type",
province = "province",
["استان"] = "province",
city = "city",
["شهر"] = "city",
district = "district",
["منطقه"] = "district",
address = "address",
["نشانی"] = "address",
coordinates = "coordinates",
["مختصات"] = "coordinates",
------------------------------------------------------------
-- Federation / Board
------------------------------------------------------------
federation = "federation",
["فدراسیون"] = "federation",
board = "board",
["هیئت"] = "board",
chairman = "chairman",
["رئیس هیئت"] = "chairman",
------------------------------------------------------------
-- Competition
------------------------------------------------------------
competition = "competition",
["مسابقات"] = "competition",
season = "season",
["فصل"] = "season",
champion = "champion",
["قهرمان"] = "champion",
runner_up = "runner_up",
["نایب قهرمان"] = "runner_up",
level = "level",
["سطح مسابقات"] = "level",
------------------------------------------------------------
-- Honors
------------------------------------------------------------
honors = "honors",
["افتخارات"] = "honors",
medals = "medals",
["مدالها"] = "medals",
medaltemplates = "medaltemplates",
medaltemplates_title = "medaltemplates_title",
["عنوان مدالها"] = "medaltemplates_title"
}
--------------------------------------------------------------------------------
-- LAYOUTS
--------------------------------------------------------------------------------
p.layouts = {}
--------------------------------------------------------------------------------
-- LAYOUT TITLES
--------------------------------------------------------------------------------
p.layoutTitles = {
base = "اطلاعات شخصی",
physical = "مشخصات فیزیکی",
education = "تحصیلات",
player = "اطلاعات ورزشی",
coach = "سوابق مربیگری",
referee = "سوابق داوری",
manager = "مدیریت ورزشی",
club = "اطلاعات باشگاه",
academy = "اطلاعات آکادمی",
management = "مدیریت",
location = "موقعیت",
contact = "ارتباطات",
honors = "افتخارات",
stadium = "اطلاعات ورزشگاه",
gym = "اطلاعات سالن ورزشی",
pool = "اطلاعات استخر",
zurkhaneh = "اطلاعات زورخانه",
sports_school = "مدرسه ورزشی",
sports_complex = "مجموعه ورزشی",
facility = "مجموعه ورزشی",
board = "هیئت ورزشی",
competition = "اطلاعات مسابقات"
}
--------------------------------------------------------------------------------
-- BASE INFORMATION
--------------------------------------------------------------------------------
p.layouts.base = {
{"نام", "name"},
{"نام کامل", "fullname"},
{"نام بومی", "native_name"},
{"نام انگلیسی", "english_name"},
{"لقب", "nickname"},
{"ملیت", "nationality"},
{"کشور", "country"},
{"زادروز", "birth_date"},
{"محل تولد", "birth_place"},
{"درگذشت", "death_date"},
{"محل درگذشت", "death_place"},
{"زادگاه", "hometown"},
{"محل سکونت", "residence"},
{"همسر", "spouse"},
{"فرزندان", "children"},
{"خانواده", "family"}
}
--------------------------------------------------------------------------------
-- PHYSICAL
--------------------------------------------------------------------------------
p.layouts.physical = {
{"قد", "height"},
{"وزن", "weight"},
{"دست غالب", "handed"},
{"پای تخصصی", "foot"}
}
--------------------------------------------------------------------------------
-- EDUCATION
--------------------------------------------------------------------------------
p.layouts.education = {
{"تحصیلات", "education"},
{"دانشگاه", "university"}
}
--------------------------------------------------------------------------------
-- PLAYER
--------------------------------------------------------------------------------
p.layouts.player = {
{"ورزش", "sport"},
{"رشته", "discipline"},
{"پست", "position"},
{"شماره", "number"},
{"باشگاه فعلی", "current_club"},
{"باشگاههای پیشین", "former_clubs"},
{"تیم ملی", "national_team"},
{"سالهای فعالیت", "years_active"}
}
--------------------------------------------------------------------------------
-- COACH
--------------------------------------------------------------------------------
p.layouts.coach = {
{"ورزش", "sport"},
{"رشته", "discipline"},
{"سمت مربیگری", "coach_position"},
{"درجه مربیگری", "coaching_license"},
{"سوابق مربیگری", "coaching_history"},
{"باشگاههای مربیگری", "coaching_clubs"},
{"سالهای فعالیت", "years_active"}
}
--------------------------------------------------------------------------------
-- REFEREE
--------------------------------------------------------------------------------
p.layouts.referee = {
{"ورزش", "sport"},
{"رشته", "discipline"},
{"درجه داوری", "referee_grade"},
{"سالهای داوری", "referee_years"},
{"کمیته", "committee"},
{"رقابتهای مهم", "major_events"}
}
--------------------------------------------------------------------------------
-- SPORTS MANAGER
--------------------------------------------------------------------------------
p.layouts.manager = {
{"ورزش", "sport"},
{"رشته", "discipline"},
{"سمت مدیریتی", "management_position"},
{"باشگاه", "club"},
{"دوره مدیریت", "management_term"}
}
--------------------------------------------------------------------------------
-- MANAGEMENT
--------------------------------------------------------------------------------
p.layouts.management = {
{"مالک", "owner"},
{"رئیس", "president"},
{"مدیرعامل", "ceo"},
{"بنیانگذار", "founder"},
{"بهرهبردار", "operator"}
}
--------------------------------------------------------------------------------
-- LOCATION
--------------------------------------------------------------------------------
p.layouts.location = {
{"استان", "province"},
{"شهر", "city"},
{"منطقه", "district"},
{"نشانی", "address"},
{"مختصات", "coordinates"}
}
--------------------------------------------------------------------------------
-- CONTACT
--------------------------------------------------------------------------------
p.layouts.contact = {
{"تلفن", "phone"},
{"رایانامه", "email"},
{"وبگاه", "website"},
{"اینستاگرام", "instagram"},
{"تلگرام", "telegram"},
{"آپارات", "aparat"},
{"ایکس", "x"}
}
--------------------------------------------------------------------------------
-- HONORS
--------------------------------------------------------------------------------
-- medaltemplates is intentionally NOT included here.
-- It is rendered separately by Module:AlborzSports.
--------------------------------------------------------------------------------
p.layouts.honors = {
{"افتخارات", "honors"}
}
--------------------------------------------------------------------------------
-- CLUB
--------------------------------------------------------------------------------
p.layouts.club = {
{"ورزش", "sport"},
{"رشته", "discipline"},
{"تأسیس", "established"},
{"سرمربی", "head_coach"},
{"ورزشگاه", "stadium"},
{"ظرفیت", "capacity"}
}
--------------------------------------------------------------------------------
-- ACADEMY
--------------------------------------------------------------------------------
p.layouts.academy = {
{"ورزش", "sport"},
{"رشته", "discipline"},
{"تأسیس", "established"},
{"مربیان", "coaching_history"}
}
--------------------------------------------------------------------------------
-- STADIUM
--------------------------------------------------------------------------------
p.layouts.stadium = {
{"نوع مجموعه", "facility_type"},
{"ورزش", "sport"},
{"تأسیس", "established"},
{"ظرفیت", "capacity"}
}
--------------------------------------------------------------------------------
-- GYM
--------------------------------------------------------------------------------
p.layouts.gym = {
{"نوع مجموعه", "facility_type"},
{"تأسیس", "established"},
{"ظرفیت", "capacity"}
}
--------------------------------------------------------------------------------
-- SWIMMING POOL
--------------------------------------------------------------------------------
p.layouts.pool = {
{"نوع مجموعه", "facility_type"},
{"تأسیس", "established"}
}
--------------------------------------------------------------------------------
-- ZURKHANEH
--------------------------------------------------------------------------------
p.layouts.zurkhaneh = {
{"نوع مجموعه", "facility_type"},
{"تأسیس", "established"}
}
--------------------------------------------------------------------------------
-- SPORTS SCHOOL
--------------------------------------------------------------------------------
p.layouts.sports_school = {
{"ورزش", "sport"},
{"رشته", "discipline"},
{"تأسیس", "established"}
}
--------------------------------------------------------------------------------
-- SPORTS COMPLEX
--------------------------------------------------------------------------------
p.layouts.sports_complex = {
{"نوع مجموعه", "facility_type"},
{"تأسیس", "established"},
{"ظرفیت", "capacity"}
}
--------------------------------------------------------------------------------
-- FACILITY
--------------------------------------------------------------------------------
p.layouts.facility = {
{"نوع مجموعه", "facility_type"},
{"تأسیس", "established"},
{"ظرفیت", "capacity"}
}
--------------------------------------------------------------------------------
-- FEDERATION / SPORTS BOARD
--------------------------------------------------------------------------------
p.layouts.board = {
{"ورزش", "sport"},
{"فدراسیون", "federation"},
{"رئیس هیئت", "chairman"}
}
--------------------------------------------------------------------------------
-- COMPETITION
--------------------------------------------------------------------------------
p.layouts.competition = {
{"ورزش", "sport"},
{"رشته", "discipline"},
{"فصل", "season"},
{"قهرمان", "champion"},
{"نایب قهرمان", "runner_up"},
{"سطح مسابقات", "level"}
}
--------------------------------------------------------------------------------
-- ENTITIES
--------------------------------------------------------------------------------
p.entities = {
--------------------------------------------------------------------------------
-- PLAYER
--------------------------------------------------------------------------------
player = {
type = "player",
title = "بازیکن",
layouts = {
"base",
"physical",
"education",
"player",
"honors",
"contact"
}
},
--------------------------------------------------------------------------------
-- COACH
--------------------------------------------------------------------------------
coach = {
type = "coach",
title = "مربی",
layouts = {
"base",
"physical",
"education",
"coach",
"honors",
"contact"
}
},
--------------------------------------------------------------------------------
-- REFEREE
--------------------------------------------------------------------------------
referee = {
type = "referee",
title = "داور",
layouts = {
"base",
"physical",
"education",
"referee",
"honors",
"contact"
}
},
--------------------------------------------------------------------------------
-- SPORTS MANAGER
--------------------------------------------------------------------------------
manager = {
type = "manager",
title = "مدیر ورزشی",
layouts = {
"base",
"education",
"manager",
"honors",
"contact"
}
},
--------------------------------------------------------------------------------
-- CLUB
--------------------------------------------------------------------------------
club = {
type = "club",
title = "باشگاه ورزشی",
layouts = {
"club",
"management",
"location",
"contact"
}
},
--------------------------------------------------------------------------------
-- ACADEMY
--------------------------------------------------------------------------------
academy = {
type = "academy",
title = "آکادمی ورزشی",
layouts = {
"academy",
"management",
"location",
"contact"
}
},
--------------------------------------------------------------------------------
-- STADIUM
--------------------------------------------------------------------------------
stadium = {
type = "stadium",
title = "ورزشگاه",
layouts = {
"stadium",
"location",
"contact"
}
},
--------------------------------------------------------------------------------
-- GYMNASIUM
--------------------------------------------------------------------------------
gym = {
type = "gym",
title = "سالن ورزشی",
layouts = {
"gym",
"location",
"contact"
}
},
--------------------------------------------------------------------------------
-- SWIMMING POOL
--------------------------------------------------------------------------------
pool = {
type = "pool",
title = "استخر",
layouts = {
"pool",
"location",
"contact"
}
},
--------------------------------------------------------------------------------
-- ZURKHANEH
--------------------------------------------------------------------------------
zurkhaneh = {
type = "zurkhaneh",
title = "زورخانه",
layouts = {
"zurkhaneh",
"location",
"contact"
}
},
--------------------------------------------------------------------------------
-- SPORTS SCHOOL
--------------------------------------------------------------------------------
sports_school = {
type = "sports_school",
title = "مدرسه ورزشی",
layouts = {
"sports_school",
"management",
"location",
"contact"
}
},
--------------------------------------------------------------------------------
-- SPORTS COMPLEX
--------------------------------------------------------------------------------
sports_complex = {
type = "sports_complex",
title = "مجموعه ورزشی",
layouts = {
"sports_complex",
"management",
"location",
"contact"
}
},
--------------------------------------------------------------------------------
-- FACILITY
--------------------------------------------------------------------------------
facility = {
type = "facility",
title = "مجموعه ورزشی",
layouts = {
"facility",
"location",
"contact"
}
},
--------------------------------------------------------------------------------
-- SPORTS BOARD
--------------------------------------------------------------------------------
board = {
type = "board",
title = "هیئت ورزشی",
layouts = {
"board",
"management",
"location",
"contact"
}
},
--------------------------------------------------------------------------------
-- COMPETITION
--------------------------------------------------------------------------------
competition = {
type = "competition",
title = "مسابقات",
layouts = {
"competition",
"location",
"contact"
}
}
}
--------------------------------------------------------------------------------
-- VERSION
--------------------------------------------------------------------------------
p.version = {
major = 2,
minor = 2,
name = "AlborzSports"
}
--------------------------------------------------------------------------------
-- EXPORT
--------------------------------------------------------------------------------
return p