پودمان:AlborzSports/Data: تفاوت میان نسخهها
ظاهر
جزبدون خلاصۀ ویرایش |
جزبدون خلاصۀ ویرایش |
||
| (۳ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
| خط ۸۱: | خط ۸۱: | ||
caption = "caption", | caption = "caption", | ||
["زیرنویس"] = "caption", | ["زیرنویس"] = "caption", | ||
["توضیح تصویر"] = "caption", | |||
image_width = "image_width", | image_width = "image_width", | ||
| خط ۹۱: | خط ۹۲: | ||
entity_type = "entity_type", | entity_type = "entity_type", | ||
["نوع موجودیت"] = "entity_type", | ["نوع موجودیت"] = "entity_type", | ||
["نوع موجودیت ورزشی"] = "entity_type", | ["نوع موجودیت ورزشی"] = "entity_type", | ||
| خط ۲۱۵: | خط ۲۱۵: | ||
coach = "coach", | coach = "coach", | ||
["مربی"] = "coach", | ["مربی"] = "coach", | ||
murshed = "murshed", | |||
["مرشد"] = "murshed", | |||
["مرشد ارشد"] = "murshed", | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۶۶۰: | خط ۶۶۴: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- HOURS | -- HOURS | ||
-- | |||
-- IMPORTANT: | |||
-- ساعات فعالیت فقط در این layout قرار دارد. | |||
-- بنابراین در layoutهای club / academy / facility و غیره | |||
-- دوباره تکرار نمیشود. | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۶۸۰: | خط ۶۸۹: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- CLUB | -- CLUB | ||
-- | |||
-- نام و نام لاتین عمداً در این بخش هستند تا زیر هدر | |||
-- «اطلاعات باشگاه» نیز نمایش داده شوند. | |||
-- | |||
-- ساعات فعالیت اینجا نیست و فقط از layout.hours میآید. | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.club = { | p.layouts.club = { | ||
{"نام", | {"نام", "name"}, | ||
{"نام لاتین", | {"نام لاتین", "english_name"}, | ||
{"نوع", | {"نوع", "subtype"}, | ||
{"ورزش", "sport"}, | |||
{"رشته", "discipline"}, | |||
{"تأسیس", "established"}, | |||
{" | {"سرمربی", "head_coach"}, | ||
{" | {"ورزشگاه", "stadium"}, | ||
{" | {"ظرفیت", "capacity"}, | ||
{" | {"حوزه فعالیت", "activity_area"}, | ||
{" | {"رشتهها", "disciplines"}, | ||
{"امکانات", "facilities"}, | |||
{"خدمات", "services"} | |||
{"امکانات", | |||
{"خدمات", | |||
} | } | ||
| خط ۷۰۹: | خط ۷۲۵: | ||
p.layouts.academy = { | p.layouts.academy = { | ||
{"نام", "name"}, | |||
{"نام لاتین", "english_name"}, | |||
{"نوع", "subtype"}, | {"نوع", "subtype"}, | ||
| خط ۷۳۲: | خط ۷۵۰: | ||
p.layouts.stadium = { | p.layouts.stadium = { | ||
{"نام", "name"}, | |||
{"نام لاتین", "english_name"}, | |||
{"نوع مجموعه", "facility_type"}, | {"نوع مجموعه", "facility_type"}, | ||
| خط ۷۴۰: | خط ۷۶۰: | ||
{"ظرفیت", "capacity"}, | {"ظرفیت", "capacity"}, | ||
{"امکانات", "facilities"} | {"امکانات", "facilities"}, | ||
{"خدمات", "services"} | |||
} | } | ||
| خط ۷۵۰: | خط ۷۷۱: | ||
p.layouts.gym = { | p.layouts.gym = { | ||
{"نام", "name"}, | |||
{"نام لاتین", "english_name"}, | |||
{"نوع مجموعه", "facility_type"}, | {"نوع مجموعه", "facility_type"}, | ||
| خط ۷۷۲: | خط ۷۹۵: | ||
p.layouts.pool = { | p.layouts.pool = { | ||
{"نام", "name"}, | |||
{"نام لاتین", "english_name"}, | |||
{"نوع مجموعه", "facility_type"}, | {"نوع مجموعه", "facility_type"}, | ||
| خط ۷۹۱: | خط ۸۱۶: | ||
p.layouts.zurkhaneh = { | p.layouts.zurkhaneh = { | ||
{"نام", "name"}, | |||
{"نام لاتین", "english_name"}, | |||
{"نوع مجموعه", "facility_type"}, | {"نوع مجموعه", "facility_type"}, | ||
| خط ۷۹۹: | خط ۸۲۶: | ||
{"ظرفیت", "capacity"}, | {"ظرفیت", "capacity"}, | ||
{"امکانات", "facilities"} | {"مرشد", "murshed"}, | ||
{"مربی", "coach"}, | |||
{"امکانات", "facilities"}, | |||
{"خدمات", "services"} | |||
} | } | ||
| خط ۸۰۹: | خط ۸۴۰: | ||
p.layouts.sports_school = { | p.layouts.sports_school = { | ||
{"نام", "name"}, | |||
{"نام لاتین", "english_name"}, | |||
{"نوع", "subtype"}, | {"نوع", "subtype"}, | ||
| خط ۸۲۸: | خط ۸۶۱: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- SPORTS COMPLEX | -- SPORTS COMPLEX | ||
-- | |||
-- نام و نام لاتین در خود بخش «اطلاعات مجموعه ورزشی» قرار دارند. | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.layouts.sports_complex = { | p.layouts.sports_complex = { | ||
{"نام", "name"}, | |||
{"نام لاتین", "english_name"}, | |||
{"نوع مجموعه", "facility_type"}, | {"نوع مجموعه", "facility_type"}, | ||
| خط ۸۵۴: | خط ۸۹۱: | ||
p.layouts.facility = { | p.layouts.facility = { | ||
{"نام", "name"}, | |||
{"نام لاتین", "english_name"}, | |||
{"نوع مجموعه", "facility_type"}, | {"نوع مجموعه", "facility_type"}, | ||
| خط ۸۷۶: | خط ۹۱۵: | ||
p.layouts.board = { | p.layouts.board = { | ||
{"نام", "name"}, | |||
{"نام لاتین", "english_name"}, | |||
{"نوع", "subtype"}, | {"نوع", "subtype"}, | ||
| خط ۸۹۲: | خط ۹۳۳: | ||
p.layouts.competition = { | p.layouts.competition = { | ||
{"نام", "name"}, | |||
{"نام لاتین", "english_name"}, | |||
{"نوع", "subtype"}, | {"نوع", "subtype"}, | ||
| خط ۹۰۹: | خط ۹۵۲: | ||
-- ENTITY ALIASES | -- ENTITY ALIASES | ||
-- | -- | ||
-- | -- Examples: | ||
-- | |||
-- entity_type = sports_club | -- entity_type = sports_club | ||
-- | -- ↓ | ||
-- entity_type = | -- club | ||
-- | |||
-- entity_type = sports_complex | |||
-- ↓ | |||
-- sports_complex | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
p.entityAliases = { | p.entityAliases = { | ||
-------------------------------------------------------------------------------- | |||
-- CLUB | |||
-------------------------------------------------------------------------------- | |||
sports_club = "club", | sports_club = "club", | ||
sportsclub = "club", | sportsclub = "club", | ||
club = "club", | club = "club", | ||
-------------------------------------------------------------------------------- | |||
-- ACADEMY | |||
-------------------------------------------------------------------------------- | |||
sports_academy = "academy", | sports_academy = "academy", | ||
academy = "academy", | academy = "academy", | ||
-------------------------------------------------------------------------------- | |||
-- STADIUM | |||
-------------------------------------------------------------------------------- | |||
sports_stadium = "stadium", | sports_stadium = "stadium", | ||
stadium = "stadium", | stadium = "stadium", | ||
-------------------------------------------------------------------------------- | |||
-- GYM | |||
-------------------------------------------------------------------------------- | |||
sports_gym = "gym", | sports_gym = "gym", | ||
gymnasium = "gym", | gymnasium = "gym", | ||
gym = "gym", | gym = "gym", | ||
-------------------------------------------------------------------------------- | |||
-- SWIMMING POOL | |||
-------------------------------------------------------------------------------- | |||
swimming_pool = "pool", | swimming_pool = "pool", | ||
pool = "pool", | pool = "pool", | ||
-------------------------------------------------------------------------------- | |||
-- ZURKHANEH | |||
-------------------------------------------------------------------------------- | |||
zurkhaneh = "zurkhaneh", | zurkhaneh = "zurkhaneh", | ||
-------------------------------------------------------------------------------- | |||
-- SPORTS SCHOOL | |||
-------------------------------------------------------------------------------- | |||
sports_school = "sports_school", | sports_school = "sports_school", | ||
sport_school = "sports_school", | sport_school = "sports_school", | ||
-------------------------------------------------------------------------------- | |||
-- SPORTS COMPLEX | |||
-------------------------------------------------------------------------------- | |||
sports_complex = "sports_complex", | sports_complex = "sports_complex", | ||
sport_complex = "sports_complex", | sport_complex = "sports_complex", | ||
-------------------------------------------------------------------------------- | |||
-- SPORTS FACILITY | |||
-------------------------------------------------------------------------------- | |||
sports_facility = "facility", | sports_facility = "facility", | ||
facility = "facility", | facility = "facility", | ||
-------------------------------------------------------------------------------- | |||
-- SPORTS BOARD | |||
-------------------------------------------------------------------------------- | |||
sports_board = "board", | sports_board = "board", | ||
board = "board", | board = "board", | ||
-------------------------------------------------------------------------------- | |||
-- COMPETITION | |||
-------------------------------------------------------------------------------- | |||
competition = "competition", | competition = "competition", | ||
-------------------------------------------------------------------------------- | |||
-- PERSONS | |||
-------------------------------------------------------------------------------- | |||
player = "player", | player = "player", | ||
| خط ۱٬۰۶۴: | خط ۱٬۱۶۰: | ||
-- IMPORTANT: | -- IMPORTANT: | ||
-- No "base" layout. | -- No "base" layout. | ||
-- Therefore "اطلاعات شخصی" is | -- Therefore "اطلاعات شخصی" is never displayed for clubs. | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| خط ۱٬۱۲۰: | خط ۱٬۲۱۶: | ||
"stadium", | "stadium", | ||
"management", | |||
"location", | "location", | ||
"contact", | "contact", | ||
نسخهٔ کنونی تا ۱۱ اوت ۲۰۲۶، ساعت ۱۴:۳۵
توضیحات این پودمان میتواند در پودمان:AlborzSports/Data/توضیحات قرار گیرد.
--------------------------------------------------------------------------------
-- Module:AlborzSports/Data
-- Wiki Alborz Sports Information System
-- Data Definition
-- Version 2.2
--------------------------------------------------------------------------------
local p = {}
--------------------------------------------------------------------------------
-- META
--------------------------------------------------------------------------------
p.meta = {
title = "جعبه اطلاعات ورزش",
class = "infobox sport-infobox",
imageWidth = "280px"
}
--------------------------------------------------------------------------------
-- DEFAULT VALUES
--------------------------------------------------------------------------------
p.defaults = {
country = "ایران",
nationality = "ایرانی",
entity_type = "player",
image_width = "280px"
}
--------------------------------------------------------------------------------
-- LOOKUP
--------------------------------------------------------------------------------
p.lookup = {
--------------------------------------------------------------------------------
-- Identity
--------------------------------------------------------------------------------
id = "id",
["شناسه"] = "id",
name = "name",
["نام"] = "name",
fullname = "fullname",
full_name = "fullname",
["نام کامل"] = "fullname",
native_name = "native_name",
["نام بومی"] = "native_name",
english_name = "english_name",
latin_name = "english_name",
["نام انگلیسی"] = "english_name",
["نام لاتین"] = "english_name",
nickname = "nickname",
["لقب"] = "nickname",
subtype = "subtype",
["نوع"] = "subtype",
--------------------------------------------------------------------------------
-- Image
--------------------------------------------------------------------------------
image = "image",
["تصویر"] = "image",
caption = "caption",
["زیرنویس"] = "caption",
["توضیح تصویر"] = "caption",
image_width = "image_width",
image_size = "image_width",
["اندازه تصویر"] = "image_width",
--------------------------------------------------------------------------------
-- Entity
--------------------------------------------------------------------------------
entity_type = "entity_type",
["نوع موجودیت"] = "entity_type",
["نوع موجودیت ورزشی"] = "entity_type",
--------------------------------------------------------------------------------
-- Personal Information
--------------------------------------------------------------------------------
country = "country",
["کشور"] = "country",
nationality = "nationality",
["ملیت"] = "nationality",
birth_date = "birth_date",
["زادروز"] = "birth_date",
["تاریخ تولد"] = "birth_date",
birth_place = "birth_place",
["محل تولد"] = "birth_place",
death_date = "death_date",
["درگذشت"] = "death_date",
["تاریخ درگذشت"] = "death_date",
death_place = "death_place",
["محل درگذشت"] = "death_place",
hometown = "hometown",
["زادگاه"] = "hometown",
residence = "residence",
["محل سکونت"] = "residence",
spouse = "spouse",
["همسر"] = "spouse",
children = "children",
["فرزندان"] = "children",
family = "family",
["خانواده"] = "family",
--------------------------------------------------------------------------------
-- Physical
--------------------------------------------------------------------------------
height = "height",
["قد"] = "height",
weight = "weight",
["وزن"] = "weight",
handed = "handed",
["دست غالب"] = "handed",
foot = "foot",
["پای تخصصی"] = "foot",
--------------------------------------------------------------------------------
-- Education
--------------------------------------------------------------------------------
education = "education",
["تحصیلات"] = "education",
university = "university",
["دانشگاه"] = "university",
--------------------------------------------------------------------------------
-- Contact
--------------------------------------------------------------------------------
phone = "phone",
["تلفن"] = "phone",
email = "email",
["رایانامه"] = "email",
["ایمیل"] = "email",
website = "website",
["وبگاه"] = "website",
["وبگاه"] = "website",
instagram = "instagram",
["اینستاگرام"] = "instagram",
telegram = "telegram",
["تلگرام"] = "telegram",
aparat = "aparat",
["آپارات"] = "aparat",
x = "x",
twitter = "x",
["ایکس"] = "x",
["توییتر"] = "x",
--------------------------------------------------------------------------------
-- General Sport
--------------------------------------------------------------------------------
sport = "sport",
["ورزش"] = "sport",
discipline = "discipline",
["رشته"] = "discipline",
disciplines = "disciplines",
["رشتهها"] = "disciplines",
["رشته ها"] = "disciplines",
category = "category",
["رده ورزشی"] = "category",
activity_area = "activity_area",
["حوزه فعالیت"] = "activity_area",
years_active = "years_active",
["سالهای فعالیت"] = "years_active",
["سال های فعالیت"] = "years_active",
coach = "coach",
["مربی"] = "coach",
murshed = "murshed",
["مرشد"] = "murshed",
["مرشد ارشد"] = "murshed",
--------------------------------------------------------------------------------
-- Player
--------------------------------------------------------------------------------
position = "position",
["پست"] = "position",
number = "number",
["شماره"] = "number",
current_club = "current_club",
["باشگاه فعلی"] = "current_club",
former_clubs = "former_clubs",
["باشگاههای پیشین"] = "former_clubs",
["باشگاه های پیشین"] = "former_clubs",
club = "club",
["باشگاه"] = "club",
team = "team",
["تیم"] = "team",
national_team = "national_team",
["تیم ملی"] = "national_team",
--------------------------------------------------------------------------------
-- Coach
--------------------------------------------------------------------------------
coach_position = "coach_position",
["سمت مربیگری"] = "coach_position",
coaching_license = "coaching_license",
["درجه مربیگری"] = "coaching_license",
coaching_history = "coaching_history",
coaching = "coaching_history",
["سوابق مربیگری"] = "coaching_history",
coaching_clubs = "coaching_clubs",
["باشگاههای مربیگری"] = "coaching_clubs",
["باشگاه های مربیگری"] = "coaching_clubs",
--------------------------------------------------------------------------------
-- Referee
--------------------------------------------------------------------------------
referee_grade = "referee_grade",
["درجه داوری"] = "referee_grade",
referee_years = "referee_years",
["سالهای داوری"] = "referee_years",
["سال های داوری"] = "referee_years",
committee = "committee",
["کمیته"] = "committee",
major_events = "major_events",
["رقابتهای مهم"] = "major_events",
["رقابت های مهم"] = "major_events",
--------------------------------------------------------------------------------
-- Sports Management
--------------------------------------------------------------------------------
management_position = "management_position",
["سمت مدیریتی"] = "management_position",
management_term = "management_term",
["دوره مدیریت"] = "management_term",
manager = "manager",
["مدیر"] = "manager",
founder = "founder",
["بنیانگذار"] = "founder",
["بنیانگذار"] = "founder",
operator = "operator",
["بهرهبردار"] = "operator",
["بهره بردار"] = "operator",
--------------------------------------------------------------------------------
-- Club
--------------------------------------------------------------------------------
established = "established",
["تأسیس"] = "established",
owner = "owner",
["مالک"] = "owner",
president = "president",
["رئیس"] = "president",
ceo = "ceo",
["مدیرعامل"] = "ceo",
head_coach = "head_coach",
["سرمربی"] = "head_coach",
stadium = "stadium",
["ورزشگاه"] = "stadium",
capacity = "capacity",
["ظرفیت"] = "capacity",
--------------------------------------------------------------------------------
-- Sports Facilities / Services
--------------------------------------------------------------------------------
facility_type = "facility_type",
["نوع مجموعه"] = "facility_type",
facilities = "facilities",
["امکانات"] = "facilities",
services = "services",
["خدمات"] = "services",
hours = "hours",
activity_hours = "hours",
["ساعات فعالیت"] = "hours",
["ساعت فعالیت"] = "hours",
--------------------------------------------------------------------------------
-- Location
--------------------------------------------------------------------------------
province = "province",
["استان"] = "province",
city = "city",
["شهر"] = "city",
district = "district",
["منطقه"] = "district",
neighborhood = "neighborhood",
["محله"] = "neighborhood",
address = "address",
["نشانی"] = "address",
["آدرس"] = "address",
coordinates = "coordinates",
["مختصات"] = "coordinates",
postal_code = "postal_code",
["کد پستی"] = "postal_code",
--------------------------------------------------------------------------------
-- Federation / Board
--------------------------------------------------------------------------------
federation = "federation",
["فدراسیون"] = "federation",
board = "board",
["هیئت"] = "board",
chairman = "chairman",
["رئیس هیئت"] = "chairman",
--------------------------------------------------------------------------------
-- Competition
--------------------------------------------------------------------------------
competition = "competition",
["مسابقات"] = "competition",
season = "season",
["فصل"] = "season",
champion = "champion",
["قهرمان"] = "champion",
runner_up = "runner_up",
["نایب قهرمان"] = "runner_up",
level = "level",
["سطح مسابقات"] = "level",
--------------------------------------------------------------------------------
-- Honors / Medals
--------------------------------------------------------------------------------
honors = "honors",
["افتخارات"] = "honors",
medals = "medals",
["مدالها"] = "medals",
["مدال ها"] = "medals",
medaltemplates = "medaltemplates",
["الگوهای مدال"] = "medaltemplates",
medaltemplates_title = "medaltemplates_title",
["عنوان الگوهای مدال"] = "medaltemplates_title"
}
--------------------------------------------------------------------------------
-- LAYOUTS
--------------------------------------------------------------------------------
p.layouts = {}
--------------------------------------------------------------------------------
-- LAYOUT TITLES
--------------------------------------------------------------------------------
p.layoutTitles = {
base = "اطلاعات شخصی",
physical = "مشخصات فیزیکی",
education = "تحصیلات",
player = "اطلاعات ورزشی",
coach = "سوابق مربیگری",
referee = "سوابق داوری",
manager = "مدیریت ورزشی",
club = "اطلاعات باشگاه",
academy = "اطلاعات آکادمی",
stadium = "اطلاعات ورزشگاه",
gym = "اطلاعات سالن ورزشی",
pool = "اطلاعات استخر",
zurkhaneh = "اطلاعات زورخانه",
sports_school = "اطلاعات مدرسه ورزشی",
sports_complex = "اطلاعات مجموعه ورزشی",
facility = "اطلاعات مجموعه ورزشی",
management = "مدیریت",
location = "موقعیت",
contact = "ارتباطات",
hours = "ساعات فعالیت",
honors = "افتخارات",
board = "اطلاعات هیئت ورزشی",
competition = "اطلاعات مسابقات"
}
--------------------------------------------------------------------------------
-- BASE
--------------------------------------------------------------------------------
p.layouts.base = {
{"نام", "name"},
{"نام کامل", "fullname"},
{"نام بومی", "native_name"},
{"نام انگلیسی", "english_name"},
{"لقب", "nickname"},
{"ملیت", "nationality"},
{"کشور", "country"},
{"زادروز", "birth_date"},
{"محل تولد", "birth_place"},
{"درگذشت", "death_date"},
{"محل درگذشت", "death_place"},
{"زادگاه", "hometown"},
{"محل سکونت", "residence"},
{"همسر", "spouse"},
{"فرزندان", "children"},
{"خانواده", "family"}
}
--------------------------------------------------------------------------------
-- PHYSICAL
--------------------------------------------------------------------------------
p.layouts.physical = {
{"قد", "height"},
{"وزن", "weight"},
{"دست غالب", "handed"},
{"پای تخصصی", "foot"}
}
--------------------------------------------------------------------------------
-- EDUCATION
--------------------------------------------------------------------------------
p.layouts.education = {
{"تحصیلات", "education"},
{"دانشگاه", "university"}
}
--------------------------------------------------------------------------------
-- PLAYER
--------------------------------------------------------------------------------
p.layouts.player = {
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رده ورزشی", "category"},
{"پست", "position"},
{"شماره", "number"},
{"باشگاه فعلی", "current_club"},
{"باشگاههای پیشین", "former_clubs"},
{"مربی", "coach"},
{"تیم ملی", "national_team"},
{"سالهای فعالیت", "years_active"}
}
--------------------------------------------------------------------------------
-- COACH
--------------------------------------------------------------------------------
p.layouts.coach = {
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رده ورزشی", "category"},
{"سمت مربیگری", "coach_position"},
{"درجه مربیگری", "coaching_license"},
{"سوابق مربیگری", "coaching_history"},
{"باشگاههای مربیگری", "coaching_clubs"},
{"سالهای فعالیت", "years_active"}
}
--------------------------------------------------------------------------------
-- REFEREE
--------------------------------------------------------------------------------
p.layouts.referee = {
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رده ورزشی", "category"},
{"درجه داوری", "referee_grade"},
{"سالهای داوری", "referee_years"},
{"کمیته", "committee"},
{"رقابتهای مهم", "major_events"}
}
--------------------------------------------------------------------------------
-- SPORTS MANAGER
--------------------------------------------------------------------------------
p.layouts.manager = {
{"ورزش", "sport"},
{"رشته", "discipline"},
{"سمت مدیریتی", "management_position"},
{"باشگاه", "club"},
{"دوره مدیریت", "management_term"}
}
--------------------------------------------------------------------------------
-- MANAGEMENT
--------------------------------------------------------------------------------
p.layouts.management = {
{"مدیر", "manager"},
{"مالک", "owner"},
{"رئیس", "president"},
{"مدیرعامل", "ceo"},
{"بنیانگذار", "founder"},
{"بهرهبردار", "operator"}
}
--------------------------------------------------------------------------------
-- LOCATION
--------------------------------------------------------------------------------
p.layouts.location = {
{"کشور", "country"},
{"استان", "province"},
{"شهر", "city"},
{"منطقه", "district"},
{"محله", "neighborhood"},
{"نشانی", "address"},
{"کد پستی", "postal_code"},
{"مختصات", "coordinates"}
}
--------------------------------------------------------------------------------
-- CONTACT
--------------------------------------------------------------------------------
p.layouts.contact = {
{"تلفن", "phone"},
{"رایانامه", "email"},
{"وبگاه", "website"},
{"اینستاگرام", "instagram"},
{"تلگرام", "telegram"},
{"آپارات", "aparat"},
{"ایکس", "x"}
}
--------------------------------------------------------------------------------
-- HOURS
--
-- IMPORTANT:
-- ساعات فعالیت فقط در این layout قرار دارد.
-- بنابراین در layoutهای club / academy / facility و غیره
-- دوباره تکرار نمیشود.
--------------------------------------------------------------------------------
p.layouts.hours = {
{"ساعات فعالیت", "hours"}
}
--------------------------------------------------------------------------------
-- HONORS
--------------------------------------------------------------------------------
p.layouts.honors = {
{"افتخارات", "honors"}
}
--------------------------------------------------------------------------------
-- CLUB
--
-- نام و نام لاتین عمداً در این بخش هستند تا زیر هدر
-- «اطلاعات باشگاه» نیز نمایش داده شوند.
--
-- ساعات فعالیت اینجا نیست و فقط از layout.hours میآید.
--------------------------------------------------------------------------------
p.layouts.club = {
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع", "subtype"},
{"ورزش", "sport"},
{"رشته", "discipline"},
{"تأسیس", "established"},
{"سرمربی", "head_coach"},
{"ورزشگاه", "stadium"},
{"ظرفیت", "capacity"},
{"حوزه فعالیت", "activity_area"},
{"رشتهها", "disciplines"},
{"امکانات", "facilities"},
{"خدمات", "services"}
}
--------------------------------------------------------------------------------
-- ACADEMY
--------------------------------------------------------------------------------
p.layouts.academy = {
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع", "subtype"},
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رشتهها", "disciplines"},
{"حوزه فعالیت", "activity_area"},
{"تأسیس", "established"},
{"مربیان", "coaching_history"},
{"امکانات", "facilities"},
{"خدمات", "services"}
}
--------------------------------------------------------------------------------
-- STADIUM
--------------------------------------------------------------------------------
p.layouts.stadium = {
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع مجموعه", "facility_type"},
{"ورزش", "sport"},
{"رشته", "discipline"},
{"تأسیس", "established"},
{"ظرفیت", "capacity"},
{"امکانات", "facilities"},
{"خدمات", "services"}
}
--------------------------------------------------------------------------------
-- GYM
--------------------------------------------------------------------------------
p.layouts.gym = {
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع مجموعه", "facility_type"},
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رشتهها", "disciplines"},
{"تأسیس", "established"},
{"ظرفیت", "capacity"},
{"حوزه فعالیت", "activity_area"},
{"امکانات", "facilities"},
{"خدمات", "services"}
}
--------------------------------------------------------------------------------
-- SWIMMING POOL
--------------------------------------------------------------------------------
p.layouts.pool = {
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع مجموعه", "facility_type"},
{"ورزش", "sport"},
{"رشته", "discipline"},
{"تأسیس", "established"},
{"ظرفیت", "capacity"},
{"امکانات", "facilities"},
{"خدمات", "services"}
}
--------------------------------------------------------------------------------
-- ZURKHANEH
--------------------------------------------------------------------------------
p.layouts.zurkhaneh = {
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع مجموعه", "facility_type"},
{"ورزش", "sport"},
{"رشته", "discipline"},
{"تأسیس", "established"},
{"ظرفیت", "capacity"},
{"مرشد", "murshed"},
{"مربی", "coach"},
{"امکانات", "facilities"},
{"خدمات", "services"}
}
--------------------------------------------------------------------------------
-- SPORTS SCHOOL
--------------------------------------------------------------------------------
p.layouts.sports_school = {
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع", "subtype"},
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رشتهها", "disciplines"},
{"حوزه فعالیت", "activity_area"},
{"تأسیس", "established"},
{"مربیان", "coaching_history"},
{"امکانات", "facilities"},
{"خدمات", "services"}
}
--------------------------------------------------------------------------------
-- SPORTS COMPLEX
--
-- نام و نام لاتین در خود بخش «اطلاعات مجموعه ورزشی» قرار دارند.
--------------------------------------------------------------------------------
p.layouts.sports_complex = {
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع مجموعه", "facility_type"},
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رشتهها", "disciplines"},
{"حوزه فعالیت", "activity_area"},
{"تأسیس", "established"},
{"ظرفیت", "capacity"},
{"امکانات", "facilities"},
{"خدمات", "services"}
}
--------------------------------------------------------------------------------
-- FACILITY
--------------------------------------------------------------------------------
p.layouts.facility = {
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع مجموعه", "facility_type"},
{"ورزش", "sport"},
{"رشته", "discipline"},
{"رشتهها", "disciplines"},
{"حوزه فعالیت", "activity_area"},
{"تأسیس", "established"},
{"ظرفیت", "capacity"},
{"امکانات", "facilities"},
{"خدمات", "services"}
}
--------------------------------------------------------------------------------
-- SPORTS BOARD
--------------------------------------------------------------------------------
p.layouts.board = {
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع", "subtype"},
{"ورزش", "sport"},
{"رشته", "discipline"},
{"فدراسیون", "federation"},
{"رئیس هیئت", "chairman"}
}
--------------------------------------------------------------------------------
-- COMPETITION
--------------------------------------------------------------------------------
p.layouts.competition = {
{"نام", "name"},
{"نام لاتین", "english_name"},
{"نوع", "subtype"},
{"ورزش", "sport"},
{"رشته", "discipline"},
{"فصل", "season"},
{"قهرمان", "champion"},
{"نایب قهرمان", "runner_up"},
{"سطح مسابقات", "level"}
}
--------------------------------------------------------------------------------
-- ENTITY ALIASES
--
-- Examples:
--
-- entity_type = sports_club
-- ↓
-- club
--
-- entity_type = sports_complex
-- ↓
-- sports_complex
--------------------------------------------------------------------------------
p.entityAliases = {
--------------------------------------------------------------------------------
-- CLUB
--------------------------------------------------------------------------------
sports_club = "club",
sportsclub = "club",
club = "club",
--------------------------------------------------------------------------------
-- ACADEMY
--------------------------------------------------------------------------------
sports_academy = "academy",
academy = "academy",
--------------------------------------------------------------------------------
-- STADIUM
--------------------------------------------------------------------------------
sports_stadium = "stadium",
stadium = "stadium",
--------------------------------------------------------------------------------
-- GYM
--------------------------------------------------------------------------------
sports_gym = "gym",
gymnasium = "gym",
gym = "gym",
--------------------------------------------------------------------------------
-- SWIMMING POOL
--------------------------------------------------------------------------------
swimming_pool = "pool",
pool = "pool",
--------------------------------------------------------------------------------
-- ZURKHANEH
--------------------------------------------------------------------------------
zurkhaneh = "zurkhaneh",
--------------------------------------------------------------------------------
-- SPORTS SCHOOL
--------------------------------------------------------------------------------
sports_school = "sports_school",
sport_school = "sports_school",
--------------------------------------------------------------------------------
-- SPORTS COMPLEX
--------------------------------------------------------------------------------
sports_complex = "sports_complex",
sport_complex = "sports_complex",
--------------------------------------------------------------------------------
-- SPORTS FACILITY
--------------------------------------------------------------------------------
sports_facility = "facility",
facility = "facility",
--------------------------------------------------------------------------------
-- SPORTS BOARD
--------------------------------------------------------------------------------
sports_board = "board",
board = "board",
--------------------------------------------------------------------------------
-- COMPETITION
--------------------------------------------------------------------------------
competition = "competition",
--------------------------------------------------------------------------------
-- PERSONS
--------------------------------------------------------------------------------
player = "player",
athlete = "player",
coach = "coach",
referee = "referee",
manager = "manager",
sports_manager = "manager"
}
--------------------------------------------------------------------------------
-- ENTITIES
--------------------------------------------------------------------------------
p.entities = {
--------------------------------------------------------------------------------
-- PLAYER
--------------------------------------------------------------------------------
player = {
type = "player",
title = "بازیکن",
layouts = {
"base",
"physical",
"education",
"player",
"honors",
"contact"
}
},
--------------------------------------------------------------------------------
-- COACH
--------------------------------------------------------------------------------
coach = {
type = "coach",
title = "مربی",
layouts = {
"base",
"physical",
"education",
"coach",
"honors",
"contact"
}
},
--------------------------------------------------------------------------------
-- REFEREE
--------------------------------------------------------------------------------
referee = {
type = "referee",
title = "داور",
layouts = {
"base",
"physical",
"education",
"referee",
"honors",
"contact"
}
},
--------------------------------------------------------------------------------
-- SPORTS MANAGER
--------------------------------------------------------------------------------
manager = {
type = "manager",
title = "مدیر ورزشی",
layouts = {
"base",
"education",
"manager",
"honors",
"contact"
}
},
--------------------------------------------------------------------------------
-- CLUB
--
-- IMPORTANT:
-- No "base" layout.
-- Therefore "اطلاعات شخصی" is never displayed for clubs.
--------------------------------------------------------------------------------
club = {
type = "club",
title = "باشگاه ورزشی",
layouts = {
"club",
"management",
"location",
"contact",
"hours"
}
},
--------------------------------------------------------------------------------
-- ACADEMY
--------------------------------------------------------------------------------
academy = {
type = "academy",
title = "آکادمی ورزشی",
layouts = {
"academy",
"management",
"location",
"contact",
"hours"
}
},
--------------------------------------------------------------------------------
-- STADIUM
--------------------------------------------------------------------------------
stadium = {
type = "stadium",
title = "ورزشگاه",
layouts = {
"stadium",
"management",
"location",
"contact",
"hours"
}
},
--------------------------------------------------------------------------------
-- GYM
--------------------------------------------------------------------------------
gym = {
type = "gym",
title = "سالن ورزشی",
layouts = {
"gym",
"management",
"location",
"contact",
"hours"
}
},
--------------------------------------------------------------------------------
-- SWIMMING POOL
--------------------------------------------------------------------------------
pool = {
type = "pool",
title = "استخر",
layouts = {
"pool",
"management",
"location",
"contact",
"hours"
}
},
--------------------------------------------------------------------------------
-- ZURKHANEH
--------------------------------------------------------------------------------
zurkhaneh = {
type = "zurkhaneh",
title = "زورخانه",
layouts = {
"zurkhaneh",
"management",
"location",
"contact",
"hours"
}
},
--------------------------------------------------------------------------------
-- SPORTS SCHOOL
--------------------------------------------------------------------------------
sports_school = {
type = "sports_school",
title = "مدرسه ورزشی",
layouts = {
"sports_school",
"management",
"location",
"contact",
"hours"
}
},
--------------------------------------------------------------------------------
-- SPORTS COMPLEX
--------------------------------------------------------------------------------
sports_complex = {
type = "sports_complex",
title = "مجموعه ورزشی",
layouts = {
"sports_complex",
"management",
"location",
"contact",
"hours"
}
},
--------------------------------------------------------------------------------
-- FACILITY
--------------------------------------------------------------------------------
facility = {
type = "facility",
title = "مجموعه ورزشی",
layouts = {
"facility",
"management",
"location",
"contact",
"hours"
}
},
--------------------------------------------------------------------------------
-- SPORTS BOARD
--------------------------------------------------------------------------------
board = {
type = "board",
title = "هیئت ورزشی",
layouts = {
"board",
"management",
"location",
"contact"
}
},
--------------------------------------------------------------------------------
-- COMPETITION
--------------------------------------------------------------------------------
competition = {
type = "competition",
title = "مسابقات",
layouts = {
"competition",
"location",
"contact"
}
}
}
--------------------------------------------------------------------------------
-- VERSION
--------------------------------------------------------------------------------
p.version = {
major = 2,
minor = 2,
name = "AlborzSports"
}
--------------------------------------------------------------------------------
-- EXPORT
--------------------------------------------------------------------------------
return p