الگو:Infobox political division: تفاوت میان نسخهها
محتوای حذفشده محتوای افزودهشده
ابرابزار |
بدون خلاصۀ ویرایش |
||
خط ۲۴۱: | خط ۲۴۱: | ||
| rowclass45 = mergedrow |
| rowclass45 = mergedrow |
||
| label45 = |
| label45 = بنیانگذاری شده توسط |
||
| data45 = {{{founder|}}} |
| data45 = {{{founder|}}} |
||
خط ۲۶۵: | خط ۲۶۵: | ||
| rowclass48 = {{#if:{{{capital|}}}|mergedrow}} |
| rowclass48 = {{#if:{{{capital|}}}|mergedrow}} |
||
| label48 = {{#if:{{{admin_center_type|}}}| {{{admin_center_type}}} | |
| label48 = {{#if:{{{admin_center_type|}}}| {{{admin_center_type}}} | مرکز اداری }} |
||
| data48 = {{#switch:{{{admin_center|}}} |
| data48 = {{#switch:{{{admin_center|}}} |
||
|capital | = |
|capital | = |
||
خط ۲۷۳: | خط ۲۷۳: | ||
| rowclass49 = {{#if:{{{capital|}}}{{{admin_center|}}}|mergedbottomrow}} |
| rowclass49 = {{#if:{{{capital|}}}{{{admin_center|}}}|mergedbottomrow}} |
||
| label49 = |
| label49 = بزرگترین {{{largest_settlement_type|شهر}}} |
||
| data49 = {{#ifeq: {{#ifeq:{{{largest_city|}}}{{{largest_settlement|}}}|capital |
| data49 = {{#ifeq: {{#ifeq:{{{largest_city|}}}{{{largest_settlement|}}}|capital |
||
|capital<!-- |
|capital<!-- |
||
خط ۲۸۶: | خط ۲۸۶: | ||
}} |
}} |
||
| label52 = |
| label52 = زبان(های) رایج |
||
| data52 = {{{official_languages|}}} |
| data52 = {{{official_languages|}}} |
||
| rowclass53 = mergedrow |
| rowclass53 = mergedrow |
||
خط ۳۲۴: | خط ۳۲۴: | ||
| data60 = {{{religion|}}} |
| data60 = {{{religion|}}} |
||
| label61 = [[نام اهلیت]] |
| label61 = [[نام اهلیت|نام(های) اهلیت]] |
||
| data61 = {{#if:{{{demonym|}}} |
| data61 = {{#if:{{{demonym|}}} |
||
|{{#ifexist:{{{demonym}}} people |
|{{#ifexist:{{{demonym}}} people |
||
خط ۳۵۴: | خط ۳۵۴: | ||
| data64 = {{#if:{{{leader_name1|}}}|{{Infobox country/multirow|{{{leader_title1|}}} |{{{leader_name1|}}} |{{{leader_title2|}}} |{{{leader_name2|}}} |{{{leader_title3|}}} |{{{leader_name3|}}} |{{{leader_title4|}}} |{{{leader_name4|}}} |{{{leader_title5|}}} |{{{leader_name5|}}} |{{{leader_title6|}}} |{{{leader_name6|}}} |{{{leader_title7|}}} |{{{leader_name7|}}} |{{{leader_title8|}}} |{{{leader_name8|}}} |{{{leader_title9|}}} |{{{leader_name9|}}} |{{{leader_title10|}}} |{{{leader_name10|}}} |{{{leader_title11|}}} |{{{leader_name11|}}} |{{{leader_title12|}}} |{{{leader_name12|}}} |{{{leader_title13|}}} |{{{leader_name13|}}} |{{{leader_title14|}}} |{{{leader_name14|}}} |{{{leader_title15|}}} |{{{leader_name15|}}} }} }} |
| data64 = {{#if:{{{leader_name1|}}}|{{Infobox country/multirow|{{{leader_title1|}}} |{{{leader_name1|}}} |{{{leader_title2|}}} |{{{leader_name2|}}} |{{{leader_title3|}}} |{{{leader_name3|}}} |{{{leader_title4|}}} |{{{leader_name4|}}} |{{{leader_title5|}}} |{{{leader_name5|}}} |{{{leader_title6|}}} |{{{leader_name6|}}} |{{{leader_title7|}}} |{{{leader_name7|}}} |{{{leader_title8|}}} |{{{leader_name8|}}} |{{{leader_title9|}}} |{{{leader_name9|}}} |{{{leader_title10|}}} |{{{leader_name10|}}} |{{{leader_title11|}}} |{{{leader_name11|}}} |{{{leader_title12|}}} |{{{leader_name12|}}} |{{{leader_title13|}}} |{{{leader_name13|}}} |{{{leader_title14|}}} |{{{leader_name14|}}} |{{{leader_title15|}}} |{{{leader_name15|}}} }} }} |
||
| label65 = |
| label65 = قانونگذاری |
||
| data65 = {{{legislature|}}} |
| data65 = {{{legislature|}}} |
||
| rowclass66 = mergedrow |
| rowclass66 = mergedrow |
||
خط ۳۹۸: | خط ۳۹۸: | ||
| rowclass71 = {{#if:{{{area_label2|}}}{{{area_label3|}}}{{{percent_water|}}}{{{stat_area1|}}}{{{stat_area2|}}}{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5|}}}|mergedrow|mergedbottomrow}} |
| rowclass71 = {{#if:{{{area_label2|}}}{{{area_label3|}}}{{{percent_water|}}}{{{stat_area1|}}}{{{stat_area2|}}}{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5|}}}|mergedrow|mergedbottomrow}} |
||
| label71 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• |
| label71 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• آبها</div> |
||
| data71 = {{#if:{{{area_water_km2|}}}{{{area_water_ha|}}}{{{area_water_sq_mi|}}}{{{area_water_acre|}}} |
| data71 = {{#if:{{{area_water_km2|}}}{{{area_water_ha|}}}{{{area_water_sq_mi|}}}{{{area_water_acre|}}} |
||
|{{#if:{{{area_water_km2|}}}{{{area_water_sq_mi|}}} |
|{{#if:{{{area_water_km2|}}}{{{area_water_sq_mi|}}} |
||
خط ۴۵۲: | خط ۴۵۲: | ||
| rowclass81 = {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|mergedrow|mergedtoprow}} |
| rowclass81 = {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|mergedrow|mergedtoprow}} |
||
| label81 = |
| label81 = بالاترین ارتفاع<div style="font-weight:normal;display:inline;">{{{elevation_max_footnotes|}}}{{#if:{{{elevation_max_point|}}}| ({{{elevation_max_point}}})}}</div> |
||
| data81 = {{#if:{{{elevation_max_m|}}}{{{elevation_max_ft|}}} |
| data81 = {{#if:{{{elevation_max_m|}}}{{{elevation_max_ft|}}} |
||
|{{infobox settlement/lengthdisp |
|{{infobox settlement/lengthdisp |
||
خط ۴۶۶: | خط ۴۶۶: | ||
| rowclass83 = {{#if:{{{elevation_min_rank|}}}|mergedrow|mergedbottomrow}} |
| rowclass83 = {{#if:{{{elevation_min_rank|}}}|mergedrow|mergedbottomrow}} |
||
| label83 = |
| label83 = کمترین ارتفاع<div style="font-weight:normal;display:inline;">{{{elevation_min_footnotes|}}}{{#if:{{{elevation_min_point|}}}| ({{{elevation_min_point}}})}}</div> |
||
| data83 = {{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}} |
| data83 = {{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}} |
||
|{{infobox settlement/lengthdisp |
|{{infobox settlement/lengthdisp |
||
خط ۴۷۶: | خط ۴۷۶: | ||
<!-- ***Elevation min rank*** --> |
<!-- ***Elevation min rank*** --> |
||
| rowclass84 = mergedrow |
| rowclass84 = mergedrow |
||
| label84 = • |
| label84 = • رتبه |
||
| data84 = {{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}|{{{elevation_min_rank|}}}}} |
| data84 = {{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}|{{{elevation_min_rank|}}}}} |
||
خط ۵۲۹: | خط ۵۲۹: | ||
}} |
}} |
||
| rowclass111= mergedrow |
| rowclass111= mergedrow |
||
| label111= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• |
| label111= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• کل</div> |
||
| data111= {{#if:{{{GDP_PPP|}}} |
| data111= {{#if:{{{GDP_PPP|}}} |
||
|{{{GDP_PPP}}}<!-- |
|{{{GDP_PPP}}}<!-- |
||
خط ۵۵۴: | خط ۵۵۴: | ||
}} |
}} |
||
| rowclass115= mergedbottomrow |
| rowclass115= mergedbottomrow |
||
| label115= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• |
| label115= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• سرانه</div> |
||
| data115= {{#if:{{{GDP_nominal_per_capita|}}} |
| data115= {{#if:{{{GDP_nominal_per_capita|}}} |
||
| {{{GDP_nominal_per_capita}}}<!-- |
| {{{GDP_nominal_per_capita}}}<!-- |
||
خط ۶۴۵: | خط ۶۴۵: | ||
| rowclass121 = mergedrow |
| rowclass121 = mergedrow |
||
| label121 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;"> • |
| label121 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;"> • تابستان ([[ساعت تابستانی]])</div> |
||
| data121 = {{#if:{{{utc_offset1_DST|{{{utc_offset_DST|}}}}}} |
| data121 = {{#if:{{{utc_offset1_DST|{{{utc_offset_DST|}}}}}} |
||
|[[UTC{{{utc_offset1_DST|{{{utc_offset_DST|}}}}}}]] {{#if:{{{timezone1_DST|{{{timezone_DST|}}}}}}|({{{timezone1_DST|{{{timezone_DST}}}}}})}} |
|[[UTC{{{utc_offset1_DST|{{{utc_offset_DST|}}}}}}]] {{#if:{{{timezone1_DST|{{{timezone_DST|}}}}}}|({{{timezone1_DST|{{{timezone_DST}}}}}})}} |
||
خط ۶۶۱: | خط ۶۶۱: | ||
| rowclass123 = mergedrow |
| rowclass123 = mergedrow |
||
| label123 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;"> • |
| label123 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;"> • تابستان ([[ساعت تابستانی]])</div> |
||
| data123 = {{#if:{{{utc_offset2_DST|}}}|[[UTC{{{utc_offset2_DST|}}}]] {{#if:{{{timezone2_DST|}}}|({{{timezone2_DST|}}})}} |
| data123 = {{#if:{{{utc_offset2_DST|}}}|[[UTC{{{utc_offset2_DST|}}}]] {{#if:{{{timezone2_DST|}}}|({{{timezone2_DST|}}})}} |
||
|{{{timezone2_DST|}}} |
|{{{timezone2_DST|}}} |
||
خط ۶۷۴: | خط ۶۷۴: | ||
<!-- ***Driving side*** --> |
<!-- ***Driving side*** --> |
||
| label132= [[جهت رانندگی در کشورهای مختلف]] |
| label132= [[جهت رانندگی در کشورهای مختلف|جهت رانندگی]] |
||
| data132= {{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }} |
| data132= {{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }} |
||
خط ۷۰۲: | خط ۷۰۲: | ||
<!-- ccTLD--> |
<!-- ccTLD--> |
||
| label137= [[دامنه سطحبالای کد کشوری]] |
| label137= [[دامنه سطحبالای کد کشوری|دامنه سطحبالا]] |
||
| data137= {{{cctld|}}} |
| data137= {{{cctld|}}} |
||
نسخهٔ ۲۱ اکتبر ۲۰۲۰، ساعت ۲۳:۵۵
Infobox political division |
---|
این الگو از ویژگی و دستورهای پیچیده استفاده میکند.
توصیه میشود پیش از ویرایش الگو با دستورهای الگو و توابع تجزیهکننده آشنا شوید. اگر ویرایشتان باعث بروز مشکلات غیرمنتظره شد، خواهشمند است آن را بهسرعت برگردانید، زیرا ممکن است این الگو در شمار زیادی صفحه ظاهر شود. بهیاد داشته باشید که شما میتوانید آزمایش انجام دهید، اما باید همهٔ بهسازیها را پیش از آنکه در اینجا اعمال کنید، در صفحهٔ تمرین عمومی الگو یا فضای کاربریتان بیازمایید. |
این الگو از لوآ استفاده میکند: |
از این الگو باید برای سرزمینهای مستقل یا هر زیرمجموعهای استفاده کرد که کاربرد {{جعبه اطلاعات کشور}} برای آن، درخور نیست اما اطلاعات آن، در سطح یک کشور مستقل است.
استفاده
میتوانید از روی نسخه انگلیسی کپی کنید یا به صورت دستی زیر، وارد کنید:
{{Infobox political division | name = | native_name = | settlement_type = | image_skyline = | imagesize = | image_caption = | image_flag = | flag_size = | flag_link = | image_seal = | seal_size = | seal_type = | seal_link = | etymology = | nickname = | motto = | image_map = | map_caption = | subdivision_type = | subdivision_name = | established_title = | established_date = | established_title2 = | established_date2 = | established_title3 = | established_date3 = | founder = | named_for = | government_type = | leader_title1 = | leader_name1 = | leader_title2 = | leader_name2 = | leader_title3 = | leader_name3 = | leader_title4 = | leader_name4 = | legislature = | upper_house = | lower_house = | national_representation = | national_representation_type1 = | national_representation1 = | national_representation_type2 = | national_representation2 = | area_km2 = | area_rank = | area_sq_mi = | percent_water = | population_estimate = | population_census = | population_estimate_year = | population_estimate_rank = | population_census_year = | population_density_km2 = | population_density_sq_mi = <!-- Do not remove as per WP:MOSNUM --> | population_density_rank = | elevation_footnotes = | elevation_m = | GVA = <!-- GVA is UK specific --> | GVA_year = | GVA_rank = | GVA_per_capita = | GVA_per_capita_rank = | GDP_PPP = | GDP_PPP_year = | GDP_PPP_rank = | GDP_PPP_per_capita = | GDP_PPP_per_capita_rank = | GDP_nominal = | GDP_nominal_year = | GDP_nominal_rank = | GDP_nominal_per_capita = | GDP_nominal_per_capita_rank = | Gini = | Gini_year = | Gini_change = <!-- increase/decrease/steady --> | Gini_ref = | HDI = <!-- number only --> | HDI_year = <!-- Please use the year to which the data refers, not the publication year--> | HDI_change = <!-- increase/decrease/steady --> | HDI_ref = | HDI_rank = | currency = | currency_code = | timezone = | utc_offset = | date_format = | drives_on = | calling_code = | iso_code = | cctld = | website = | footnotes = }}
نمونه
{{Infobox dependency | name = Hong Kong | native_name = 香港 | settlement_type = [[منطقه ویژه اداری (چین)]] | image_skyline = TE-Collage Hong Kong.png | imagesize = 250px <!--default is 250px--> | image_caption = Clockwise from top: Hong Kong skyline at night, [[بودای تیان تن]], [[مرکز دارایی بینالمللی]], [[شهر کندی]], [[Nathan Road]], [[پیادهروی ستارگان، هنگ کنگ]], [[Government House, Hong Kong|Government House]], and [[Tsing Ma Bridge]] | image_flag = Flag of Hong Kong.svg | flag_size = 125px | flag_link = Flag of Hong Kong | image_seal = Hong Kong SAR Regional Emblem.svg | seal_size = 85px | seal_type = Emblem | seal_link = Emblem of Hong Kong | etymology = Fragrant harbour | nickname = Pearl of the Orient | motto = | image_map = Hong Kong Location with districts.svg | map_caption = Location of Hong Kong | subdivision_type = [[کشور مستقل]] | subdivision_name = [[چین]] | established_title = {{nowrap|[[پیمان نانجینگ]]}} | established_date = 29 August 1842 | established_title2 = [[Sino-British Joint Declaration]] | established_date2 = 19 December 1984 | established_title3 = [[Handover of Hong Kong|Transfer from the United Kingdom]] | established_date3 = 1 July 1997 | founder = | named_for = Fragrant Harbour | government_type = [[قدرتسپاری]] [[قوه مجریه]] system within a socialist republic | leader_title1 = [[Chief Executive of Hong Kong|Chief Executive]] | leader_name1 = [[کری لم]] | leader_title2 = [[Chief Secretary for Administration|Chief Secretary]] | leader_name2 = [[Matthew Cheung]] | leader_title3 = [[President of the Legislative Council of Hong Kong|LegCo President]] | leader_name3 = [[Andrew Leung]] | leader_title4 = [[Chief Justice of the Court of Final Appeal|Chief Justice]] | leader_name4 = [[Geoffrey Ma]] | legislature = [[شورای قانونگذاری هنگ کنگ]] | area_km2 = 1,108 | area_rank = 168th | area_sq_mi = 1,073 | percent_water = 3.16 (35 km{{smallsup|2}}; 13.51 sq mi) | population_estimate = 7,482,500 | population_census = | population_estimate_year = 2018 | population_estimate_rank = 102nd | population_census_year = | population_density_km2 = 6,777 | population_density_sq_mi = 17,024 <!-- Do not remove as per WP:MOSNUM --> | population_density_rank = 4th | elevation_footnotes = | elevation_m = 954 | GDP_PPP = $502 billion | GDP_PPP_year = 2019 | GDP_PPP_rank = 44th | GDP_PPP_per_capita = $66,517 | GDP_PPP_per_capita_rank = 10th | GDP_nominal = $381 billion | GDP_nominal_year = 2019 | GDP_nominal_rank = 35th | GDP_nominal_per_capita = $50,542 | GDP_nominal_per_capita_rank = 16th | Gini = 53.9 | Gini_year = 2016 | Gini_change = increase <!-- increase/decrease/steady --> | Gini_ref = | HDI = 0.933 <!-- number only --> | HDI_year = 2017<!-- Please use the year to which the data refers, not the publication year--> | HDI_change = increase<!-- increase/decrease/steady --> | HDI_ref = | HDI_rank = 7th | currency = [[دلار هنگ کنگ]] (HK$) | currency_code = HKD | time_zone = [[Hong Kong Time]] | utc_offset = +8 | date_format = dd-mm-yyyy<br />yyyy年mm月dd日 | drives_on = [[جهت رانندگی در کشورهای مختلف]] | calling_code = [[+852]] | iso_code = HK | cctld = {{hlist|[[.hk]]|[[.hk]]}} | website = {{URL|gov.hk}} | footnotes = }}