توضیحات این پودمان می‌تواند در پودمان: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",

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

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

	entity_type = "entity_type",
	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",

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

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

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

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

	country_location = "country",
	["کشور محل"] = "country",

	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"

}

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

p.layoutTitles = {

	----------------------------------------------------------------
	-- People
	----------------------------------------------------------------

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

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

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

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

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

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

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

	----------------------------------------------------------------
	-- Sports Entities
	----------------------------------------------------------------

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

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

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

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

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

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

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

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

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

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

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

	----------------------------------------------------------------
	-- General
	----------------------------------------------------------------

	management = "مدیریت",

	location = "موقعیت",

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

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

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

}

--------------------------------------------------------------------------------
-- BASE INFORMATION
--
-- Only human entities use this layout.
-- It is NEVER automatically added to other entities.
--------------------------------------------------------------------------------

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

p.layouts.hours = {

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

}

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

p.layouts.honors = {

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

}

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

p.layouts.club = {

	{"نوع", "subtype"},

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

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

	{"سرمربی", "head_coach"},

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

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

}

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

p.layouts.academy = {

	{"نوع", "subtype"},

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

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

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

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

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

}

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

p.layouts.stadium = {

	{"نوع مجموعه", "facility_type"},

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

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

	{"ظرفیت", "capacity"},

	{"امکانات", "facilities"}

}

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

p.layouts.gym = {

	{"نوع مجموعه", "facility_type"},

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

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

	{"ظرفیت", "capacity"},

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

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

}

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

p.layouts.pool = {

	{"نوع مجموعه", "facility_type"},

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

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

	{"ظرفیت", "capacity"},

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

}

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

p.layouts.zurkhaneh = {

	{"نوع مجموعه", "facility_type"},

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

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

	{"ظرفیت", "capacity"},

	{"امکانات", "facilities"}

}

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

p.layouts.sports_school = {

	{"نوع", "subtype"},

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

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

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

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

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

}

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

p.layouts.sports_complex = {

	{"نوع مجموعه", "facility_type"},

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

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

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

	{"ظرفیت", "capacity"},

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

}

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

p.layouts.facility = {

	{"نوع مجموعه", "facility_type"},

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

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

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

	{"ظرفیت", "capacity"},

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

}

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

p.layouts.board = {

	{"نوع", "subtype"},

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

	{"فدراسیون", "federation"},

	{"رئیس هیئت", "chairman"}

}

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

p.layouts.competition = {

	{"نوع", "subtype"},

	{"ورزش", "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
	--
	-- IMPORTANT:
	-- No "base" layout here.
	-- 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",
			"location",
			"contact",
			"hours"

		}

	},

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

	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