پرش به محتوا

پودمان:AlborzInfoBox/Data/Geography: تفاوت میان نسخه‌ها

از ویکی البرز
جزبدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
خط ۲۱: خط ۲۱:
     county = {
     county = {
         label = "شهرستان",
         label = "شهرستان",
         arg = "شهرستان"
         args = {"شهرستان", "شهرستان "}
     },
     },


خط ۳۶: خط ۳۶:
     city = {
     city = {
         label = "شهر",
         label = "شهر",
         arg = "شهر"
         args = {"شهر", "شهر "}
     },
     },


خط ۷۸: خط ۷۸:
     phone = {
     phone = {
         label = "پیش‌شماره",
         label = "پیش‌شماره",
         arg = "پیش‌شماره"
         args = {"پیش‌شماره", "شماره تلفن", "تلفن"}
     },
     },


خط ۸۸: خط ۸۸:
     website = {
     website = {
         label = "وبگاه",
         label = "وبگاه",
         arg = "وبگاه"
         args = {"وبگاه", "وب‌سایت", "سایت"}
     },
     },


خط ۱۴۸: خط ۱۴۸:
     waterfallheight = {
     waterfallheight = {
         label = "ارتفاع آبشار",
         label = "ارتفاع آبشار",
         arg = "ارتفاع آبشار"
         args = {"ارتفاع آبشار", "ارتفاع"}
     },
     },


خط ۱۵۷: خط ۱۵۷:
     altNames = {
     altNames = {
         label = "نام‌های دیگر",
         label = "نام‌های دیگر",
         arg = "نام‌های دیگر"
         args = {"نام‌های دیگر", "نام دیگر"}
     },
     },


     historicType = {
     historicType = {
         label = "نوع",
         label = "نوع",
         arg = "نوع"
         args = {"نوع", "نوع بنا", "نوع بنای تاریخی"}
     },
     },


خط ۱۷۲: خط ۱۷۲:
     mainUse = {
     mainUse = {
         label = "کاربری اصلی",
         label = "کاربری اصلی",
         arg = "کاربری اصلی"
         args = {"کاربری اصلی", "کاربری"}
     },
     },


خط ۱۸۷: خط ۱۸۷:
     period = {
     period = {
         label = "دوره ساخت",
         label = "دوره ساخت",
         arg = "دوره ساخت"
         args = {"دوره ساخت", "دوره تاریخی", "دوران", "دوره"}
     },
     },


     built = {
     built = {
         label = "تاریخ ساخت",
         label = "سال ساخت",
         arg = "تاریخ ساخت"
         args = {"سال ساخت", "تاریخ ساخت"}
     },
     },


خط ۲۲۲: خط ۲۲۲:
     ownership = {
     ownership = {
         label = "مالک",
         label = "مالک",
         arg = "مالک"
         args = {"مالک", "مالکیت"}
     },
     },


     registration = {
     registration = {
         label = "شماره ثبت",
         label = "شماره ثبت",
         arg = "شماره ثبت"
         args = {"شماره ثبت", "شمارهٔ ثبت", "شماره ثبت ملی"}
     },
     },


     registrationDate = {
     registrationDate = {
         label = "تاریخ ثبت",
         label = "تاریخ ثبت",
         arg = "تاریخ ثبت"
         args = {"تاریخ ثبت", "تاریخ ثبت ملی"}
     },
     },


     responsibleOrganization = {
     responsibleOrganization = {
         label = "سازمان مسئول",
         label = "سازمان مسئول",
         arg = "سازمان مسئول"
         args = {"سازمان مسئول", "سازمان"}
     },
     },


خط ۲۵۲: خط ۲۵۲:
     coordinates = {
     coordinates = {
         label = "مختصات",
         label = "مختصات",
         arg = "مختصات"
         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",
    "province",
    "county",
    "district",
 
     "population",
    "area",
    "elevation",
 
     "mayor",
     "mayor",
 
     "phone", "plate", "website",
     "phone",
    "plate",
    "website",
 
     "footnotes"
     "footnotes"
},
},


خط ۲۹۵: خط ۲۹۷:
-- روستا
-- روستا
------------------------------------------------------------------------
------------------------------------------------------------------------
village = {
village = {
 
     "country", "province", "county", "district", "ruraldistrict",
     "country",
     "population", "elevation",
    "province",
    "county",
    "district",
    "ruraldistrict",
 
     "population",
    "elevation",
 
     "website",
     "website",
     "footnotes"
     "footnotes"
},
},


خط ۳۱۶: خط ۳۰۷:
-- شهرستان
-- شهرستان
------------------------------------------------------------------------
------------------------------------------------------------------------
county = {
county = {
 
     "country", "province",
     "country",
    "province",
 
     "capital",
     "capital",
 
     "population", "area",
     "population",
    "area",
 
     "website",
     "website",
     "footnotes"
     "footnotes"
},
},


خط ۳۳۶: خط ۳۱۸:
-- بخش
-- بخش
------------------------------------------------------------------------
------------------------------------------------------------------------
district = {
district = {
 
     "country", "province", "county",
     "country",
    "province",
    "county",
 
     "capital",
     "capital",
     "population",
     "population",
     "website",
     "website",
     "footnotes"
     "footnotes"
},
},


خط ۳۵۶: خط ۳۲۹:
-- دهستان
-- دهستان
------------------------------------------------------------------------
------------------------------------------------------------------------
ruraldistrict = {
ruraldistrict = {
 
     "country", "province", "county", "district",
     "country",
    "province",
    "county",
    "district",
 
     "capital",
     "capital",
     "population",
     "population",
     "website",
     "website",
     "footnotes"
     "footnotes"
},
},


خط ۳۷۷: خط ۳۴۰:
-- کوه
-- کوه
------------------------------------------------------------------------
------------------------------------------------------------------------
mountain = {
mountain = {
 
     "province", "county",
     "province",
 
    "county",
 
     "elevation",
     "elevation",
     "mountainrange",
     "mountainrange",
     "footnotes"
     "footnotes"
},
},


خط ۳۹۵: خط ۳۵۰:
-- غار
-- غار
------------------------------------------------------------------------
------------------------------------------------------------------------
cave = {
cave = {
 
     "province", "county",
     "province",
     "length", "depth",
 
    "county",
 
     "length",
 
    "depth",
 
     "footnotes"
     "footnotes"
},
},


خط ۴۱۳: خط ۳۵۹:
-- آبشار
-- آبشار
------------------------------------------------------------------------
------------------------------------------------------------------------
waterfall = {
waterfall = {
 
     "province", "county",
     "province",
 
    "county",
 
     "river",
     "river",
     "waterfallheight",
     "waterfallheight",
     "footnotes"
     "footnotes"
},
},


خط ۴۳۱: خط ۳۶۹:
-- رودخانه
-- رودخانه
------------------------------------------------------------------------
------------------------------------------------------------------------
river = {
river = {
     "province",
     "province",
     "length",
     "length",
 
     "source", "mouth",
     "source",
 
    "mouth",
 
     "footnotes"
     "footnotes"
},
},


خط ۴۴۹: خط ۳۷۹:
-- پارک
-- پارک
------------------------------------------------------------------------
------------------------------------------------------------------------
park = {
park = {
 
     "province", "county",
     "province",
 
    "county",
 
     "area",
     "area",
     "established",
     "established",
     "website",
     "website",
     "footnotes"
     "footnotes"
},


},
------------------------------------------------------------------------
------------------------------------------------------------------------
-- بنای تاریخی
-- بنای تاریخی (بهبود یافته)
------------------------------------------------------------------------
------------------------------------------------------------------------
historic = {
historic = {
    -- هویت
    "altNames",
    "historicType",


     -- موقعیت جغرافیایی مشترک
     -- مکان
    "country",
    "province",
    "county",
    "district",
    "city",
 
    -- اطلاعات اختصاصی
     "location",
     "location",
     "altNames",
     "country", "province", "county", "district", "city",
    "historicType",


    -- فنی
     "mainUse",
     "mainUse",
     "currentUse",
     "currentUse",
     "architecture",
     "architecture",


    -- تاریخ
     "period",
     "period",
     "built",
     "built",
     "builder",
     "builder",
     "architect",
     "architect",


    -- فیزیکی
     "material",
     "material",
    "status",
    "access",
     "area",
     "area",
     "elevation",
     "elevation",


     "ownership",
    -- ثبت
 
     "status",
     "registration",
     "registration",
     "registrationDate",
     "registrationDate",
     "responsibleOrganization",
     "responsibleOrganization",


     "latitude",
     -- دسترسی و سایر
     "longitude",
     "access",
     "coordinates",
     "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