پودمان:AlborzInfoBox/Data/Geography: تفاوت میان نسخهها
ظاهر
جزبدون خلاصۀ ویرایش |
جزبدون خلاصۀ ویرایش |
||
| خط ۲۱: | خط ۲۱: | ||
county = { | county = { | ||
label = "شهرستان", | label = "شهرستان", | ||
args = {"شهرستان", "شهرستان "} | |||
}, | }, | ||
| خط ۳۶: | خط ۳۶: | ||
city = { | city = { | ||
label = "شهر", | label = "شهر", | ||
args = {"شهر", "شهر "} | |||
}, | }, | ||
| خط ۷۸: | خط ۷۸: | ||
phone = { | phone = { | ||
label = "پیششماره", | label = "پیششماره", | ||
args = {"پیششماره", "شماره تلفن", "تلفن"} | |||
}, | }, | ||
| خط ۸۸: | خط ۸۸: | ||
website = { | website = { | ||
label = "وبگاه", | label = "وبگاه", | ||
args = {"وبگاه", "وبسایت", "سایت"} | |||
}, | }, | ||
| خط ۱۴۸: | خط ۱۴۸: | ||
waterfallheight = { | waterfallheight = { | ||
label = "ارتفاع آبشار", | label = "ارتفاع آبشار", | ||
args = {"ارتفاع آبشار", "ارتفاع"} | |||
}, | }, | ||
| خط ۱۵۷: | خط ۱۵۷: | ||
altNames = { | altNames = { | ||
label = "نامهای دیگر", | label = "نامهای دیگر", | ||
args = {"نامهای دیگر", "نام دیگر"} | |||
}, | }, | ||
historicType = { | historicType = { | ||
label = "نوع", | label = "نوع", | ||
args = {"نوع", "نوع بنا", "نوع بنای تاریخی"} | |||
}, | }, | ||
| خط ۱۷۲: | خط ۱۷۲: | ||
mainUse = { | mainUse = { | ||
label = "کاربری اصلی", | label = "کاربری اصلی", | ||
args = {"کاربری اصلی", "کاربری"} | |||
}, | }, | ||
| خط ۱۸۷: | خط ۱۸۷: | ||
period = { | period = { | ||
label = "دوره ساخت", | label = "دوره ساخت", | ||
args = {"دوره ساخت", "دوره تاریخی", "دوران", "دوره"} | |||
}, | }, | ||
built = { | built = { | ||
label = " | label = "سال ساخت", | ||
args = {"سال ساخت", "تاریخ ساخت"} | |||
}, | }, | ||
| خط ۲۲۲: | خط ۲۲۲: | ||
ownership = { | ownership = { | ||
label = "مالک", | label = "مالک", | ||
args = {"مالک", "مالکیت"} | |||
}, | }, | ||
registration = { | registration = { | ||
label = "شماره ثبت", | label = "شماره ثبت", | ||
args = {"شماره ثبت", "شمارهٔ ثبت", "شماره ثبت ملی"} | |||
}, | }, | ||
registrationDate = { | registrationDate = { | ||
label = "تاریخ ثبت", | label = "تاریخ ثبت", | ||
args = {"تاریخ ثبت", "تاریخ ثبت ملی"} | |||
}, | }, | ||
responsibleOrganization = { | responsibleOrganization = { | ||
label = "سازمان مسئول", | label = "سازمان مسئول", | ||
args = {"سازمان مسئول", "سازمان"} | |||
}, | }, | ||
| خط ۲۵۲: | خط ۲۵۲: | ||
coordinates = { | coordinates = { | ||
label = "مختصات", | label = "مختصات", | ||
args = {"مختصات", "coord", "مختصات جغرافیایی"} | |||
}, | }, | ||
| خط ۲۶۳: | خط ۲۶۳: | ||
arg = "پانویس" | arg = "پانویس" | ||
} | } | ||
} | |||
-- نقشه تبدیل نوع نمایش به کلید داخلی | |||
p.typeMap = { | |||
["بنای تاریخی"] = "historic", | |||
["historic"] = "historic", | |||
["شهر"] = "city", | |||
["روستا"] = "village", | |||
["شهرستان"] = "county", | |||
["بخش"] = "district", | |||
["دهستان"] = "ruraldistrict", | |||
["کوه"] = "mountain", | |||
["غار"] = "cave", | |||
["رودخانه"] = "river", | |||
["آبشار"] = "waterfall", | |||
["پارک"] = "park", | |||
} | } | ||
p.layouts = { | p.layouts = { | ||
| خط ۲۷۰: | خط ۲۸۶: | ||
-- شهر | -- شهر | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
city = { | city = { | ||
"country", "province", "county", "district", "city", | |||
"country", | "population", "area", "elevation", | ||
"population", | |||
"mayor", | "mayor", | ||
"phone", "plate", "website", | |||
"phone", | |||
"footnotes" | "footnotes" | ||
}, | }, | ||
| خط ۲۹۵: | خط ۲۹۷: | ||
-- روستا | -- روستا | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
village = { | village = { | ||
"country", "province", "county", "district", "ruraldistrict", | |||
"country", | "population", "elevation", | ||
"population", | |||
"website", | "website", | ||
"footnotes" | "footnotes" | ||
}, | }, | ||
| خط ۳۱۶: | خط ۳۰۷: | ||
-- شهرستان | -- شهرستان | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
county = { | county = { | ||
"country", "province", | |||
"country", | |||
"capital", | "capital", | ||
"population", "area", | |||
"population", | |||
"website", | "website", | ||
"footnotes" | "footnotes" | ||
}, | }, | ||
| خط ۳۳۶: | خط ۳۱۸: | ||
-- بخش | -- بخش | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
district = { | district = { | ||
"country", "province", "county", | |||
"country", | |||
"capital", | "capital", | ||
"population", | "population", | ||
"website", | "website", | ||
"footnotes" | "footnotes" | ||
}, | }, | ||
| خط ۳۵۶: | خط ۳۲۹: | ||
-- دهستان | -- دهستان | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
ruraldistrict = { | ruraldistrict = { | ||
"country", "province", "county", "district", | |||
"country", | |||
"capital", | "capital", | ||
"population", | "population", | ||
"website", | "website", | ||
"footnotes" | "footnotes" | ||
}, | }, | ||
| خط ۳۷۷: | خط ۳۴۰: | ||
-- کوه | -- کوه | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
mountain = { | mountain = { | ||
"province", "county", | |||
"province", | |||
"elevation", | "elevation", | ||
"mountainrange", | "mountainrange", | ||
"footnotes" | "footnotes" | ||
}, | }, | ||
| خط ۳۹۵: | خط ۳۵۰: | ||
-- غار | -- غار | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
cave = { | cave = { | ||
"province", "county", | |||
"province", | "length", "depth", | ||
"length", | |||
"footnotes" | "footnotes" | ||
}, | }, | ||
| خط ۴۱۳: | خط ۳۵۹: | ||
-- آبشار | -- آبشار | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
waterfall = { | waterfall = { | ||
"province", "county", | |||
"province", | |||
"river", | "river", | ||
"waterfallheight", | "waterfallheight", | ||
"footnotes" | "footnotes" | ||
}, | }, | ||
| خط ۴۳۱: | خط ۳۶۹: | ||
-- رودخانه | -- رودخانه | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
river = { | river = { | ||
"province", | "province", | ||
"length", | "length", | ||
"source", "mouth", | |||
"source", | |||
"footnotes" | "footnotes" | ||
}, | }, | ||
| خط ۴۴۹: | خط ۳۷۹: | ||
-- پارک | -- پارک | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
park = { | park = { | ||
"province", "county", | |||
"province", | |||
"area", | "area", | ||
"established", | "established", | ||
"website", | "website", | ||
"footnotes" | "footnotes" | ||
}, | |||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
-- بنای تاریخی | -- بنای تاریخی (بهبود یافته) | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
historic = { | historic = { | ||
-- هویت | |||
"altNames", | |||
"historicType", | |||
-- | -- مکان | ||
"location", | "location", | ||
" | "country", "province", "county", "district", "city", | ||
-- فنی | |||
"mainUse", | "mainUse", | ||
"currentUse", | "currentUse", | ||
"architecture", | "architecture", | ||
-- تاریخ | |||
"period", | "period", | ||
"built", | "built", | ||
"builder", | "builder", | ||
"architect", | "architect", | ||
-- فیزیکی | |||
"material", | "material", | ||
"area", | "area", | ||
"elevation", | "elevation", | ||
" | -- ثبت | ||
"status", | |||
"registration", | "registration", | ||
"registrationDate", | "registrationDate", | ||
"responsibleOrganization", | "responsibleOrganization", | ||
-- دسترسی و سایر | |||
" | "access", | ||
" | "ownership", | ||
"phone", | "phone", | ||
"website", | "website", | ||
"coordinates", | |||
"footnotes" | "footnotes" | ||
} | } | ||
نسخهٔ ۴ ژوئیهٔ ۲۰۲۶، ساعت ۱۳:۰۷
توضیحات این پودمان میتواند در پودمان:AlborzInfoBox/Data/Geography/توضیحات قرار گیرد.
local p = {}
p.fields = {
------------------------------------------------------------------------
-- اطلاعات پایه
------------------------------------------------------------------------
country = {
label = "کشور",
arg = "کشور",
default = "ایران"
},
province = {
label = "استان",
arg = "استان",
default = "البرز"
},
county = {
label = "شهرستان",
args = {"شهرستان", "شهرستان "}
},
district = {
label = "بخش",
arg = "بخش"
},
ruraldistrict = {
label = "دهستان",
arg = "دهستان"
},
city = {
label = "شهر",
args = {"شهر", "شهر "}
},
capital = {
label = "مرکز",
arg = "مرکز"
},
------------------------------------------------------------------------
-- آمار
------------------------------------------------------------------------
population = {
label = "جمعیت",
arg = "جمعیت"
},
area = {
label = "مساحت",
arg = "مساحت"
},
elevation = {
label = "ارتفاع",
arg = "ارتفاع"
},
------------------------------------------------------------------------
-- مدیریت
------------------------------------------------------------------------
mayor = {
label = "شهردار",
arg = "شهردار"
},
------------------------------------------------------------------------
-- ارتباطات
------------------------------------------------------------------------
phone = {
label = "پیششماره",
args = {"پیششماره", "شماره تلفن", "تلفن"}
},
plate = {
label = "پلاک خودرو",
arg = "پلاک خودرو"
},
website = {
label = "وبگاه",
args = {"وبگاه", "وبسایت", "سایت"}
},
------------------------------------------------------------------------
-- تاریخ
------------------------------------------------------------------------
established = {
label = "سال تأسیس",
arg = "سال تأسیس"
},
------------------------------------------------------------------------
-- رودخانه
------------------------------------------------------------------------
river = {
label = "رودخانه",
arg = "رودخانه"
},
source = {
label = "سرچشمه",
arg = "سرچشمه"
},
mouth = {
label = "ریزشگاه",
arg = "ریزشگاه"
},
------------------------------------------------------------------------
-- غار
------------------------------------------------------------------------
length = {
label = "طول",
arg = "طول"
},
depth = {
label = "عمق",
arg = "عمق"
},
------------------------------------------------------------------------
-- کوه
------------------------------------------------------------------------
mountainrange = {
label = "رشتهکوه",
arg = "رشتهکوه"
},
------------------------------------------------------------------------
-- آبشار
------------------------------------------------------------------------
waterfallheight = {
label = "ارتفاع آبشار",
args = {"ارتفاع آبشار", "ارتفاع"}
},
------------------------------------------------------------------------
-- بنای تاریخی
------------------------------------------------------------------------
altNames = {
label = "نامهای دیگر",
args = {"نامهای دیگر", "نام دیگر"}
},
historicType = {
label = "نوع",
args = {"نوع", "نوع بنا", "نوع بنای تاریخی"}
},
location = {
label = "موقعیت",
arg = "موقعیت"
},
mainUse = {
label = "کاربری اصلی",
args = {"کاربری اصلی", "کاربری"}
},
currentUse = {
label = "کاربری فعلی",
arg = "کاربری فعلی"
},
architecture = {
label = "سبک معماری",
arg = "سبک معماری"
},
period = {
label = "دوره ساخت",
args = {"دوره ساخت", "دوره تاریخی", "دوران", "دوره"}
},
built = {
label = "سال ساخت",
args = {"سال ساخت", "تاریخ ساخت"}
},
builder = {
label = "بانی",
arg = "بانی"
},
architect = {
label = "معمار",
arg = "معمار"
},
material = {
label = "مصالح",
arg = "مصالح"
},
status = {
label = "وضعیت",
arg = "وضعیت"
},
access = {
label = "دسترسی",
arg = "دسترسی"
},
ownership = {
label = "مالک",
args = {"مالک", "مالکیت"}
},
registration = {
label = "شماره ثبت",
args = {"شماره ثبت", "شمارهٔ ثبت", "شماره ثبت ملی"}
},
registrationDate = {
label = "تاریخ ثبت",
args = {"تاریخ ثبت", "تاریخ ثبت ملی"}
},
responsibleOrganization = {
label = "سازمان مسئول",
args = {"سازمان مسئول", "سازمان"}
},
latitude = {
label = "عرض جغرافیایی",
arg = "عرض جغرافیایی"
},
longitude = {
label = "طول جغرافیایی",
arg = "طول جغرافیایی"
},
coordinates = {
label = "مختصات",
args = {"مختصات", "coord", "مختصات جغرافیایی"}
},
------------------------------------------------------------------------
-- سایر
------------------------------------------------------------------------
footnotes = {
label = "پانویس",
arg = "پانویس"
}
}
-- نقشه تبدیل نوع نمایش به کلید داخلی
p.typeMap = {
["بنای تاریخی"] = "historic",
["historic"] = "historic",
["شهر"] = "city",
["روستا"] = "village",
["شهرستان"] = "county",
["بخش"] = "district",
["دهستان"] = "ruraldistrict",
["کوه"] = "mountain",
["غار"] = "cave",
["رودخانه"] = "river",
["آبشار"] = "waterfall",
["پارک"] = "park",
}
p.layouts = {
------------------------------------------------------------------------
-- شهر
------------------------------------------------------------------------
city = {
"country", "province", "county", "district", "city",
"population", "area", "elevation",
"mayor",
"phone", "plate", "website",
"footnotes"
},
------------------------------------------------------------------------
-- روستا
------------------------------------------------------------------------
village = {
"country", "province", "county", "district", "ruraldistrict",
"population", "elevation",
"website",
"footnotes"
},
------------------------------------------------------------------------
-- شهرستان
------------------------------------------------------------------------
county = {
"country", "province",
"capital",
"population", "area",
"website",
"footnotes"
},
------------------------------------------------------------------------
-- بخش
------------------------------------------------------------------------
district = {
"country", "province", "county",
"capital",
"population",
"website",
"footnotes"
},
------------------------------------------------------------------------
-- دهستان
------------------------------------------------------------------------
ruraldistrict = {
"country", "province", "county", "district",
"capital",
"population",
"website",
"footnotes"
},
------------------------------------------------------------------------
-- کوه
------------------------------------------------------------------------
mountain = {
"province", "county",
"elevation",
"mountainrange",
"footnotes"
},
------------------------------------------------------------------------
-- غار
------------------------------------------------------------------------
cave = {
"province", "county",
"length", "depth",
"footnotes"
},
------------------------------------------------------------------------
-- آبشار
------------------------------------------------------------------------
waterfall = {
"province", "county",
"river",
"waterfallheight",
"footnotes"
},
------------------------------------------------------------------------
-- رودخانه
------------------------------------------------------------------------
river = {
"province",
"length",
"source", "mouth",
"footnotes"
},
------------------------------------------------------------------------
-- پارک
------------------------------------------------------------------------
park = {
"province", "county",
"area",
"established",
"website",
"footnotes"
},
------------------------------------------------------------------------
-- بنای تاریخی (بهبود یافته)
------------------------------------------------------------------------
historic = {
-- هویت
"altNames",
"historicType",
-- مکان
"location",
"country", "province", "county", "district", "city",
-- فنی
"mainUse",
"currentUse",
"architecture",
-- تاریخ
"period",
"built",
"builder",
"architect",
-- فیزیکی
"material",
"area",
"elevation",
-- ثبت
"status",
"registration",
"registrationDate",
"responsibleOrganization",
-- دسترسی و سایر
"access",
"ownership",
"phone",
"website",
"coordinates",
"footnotes"
}
}
return p