模板:Infobox Russian federal subject/doc
外觀
此頁面是Template:Infobox Russian federal subject的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
用途
[編輯]- 注意:請把全部數字以不整理、非格式化的方式填寫,即是沒有空格或逗號。「整理過」的數字可能會構成「顯示錯誤」。模板將會自動把不整理的數字格式化。如果您在使用模板時發現有不整理數字沒有被模板格式化,請於模板的討論頁面反映情況。
格式
[編輯]{{Infobox Russian federal subject |zh_name= |ru_name=Name in Russian |loc_name1=Name in another official language of the federal subject |loc_name2=... |loc_name3=... |loc_name4=... |loc_name5=... |loc_name6=... |loc_name7=... |loc_name8=... |loc_name9=... |loc_name10=... |loc_name11=... |loc_name12=... |loc_name13=... |loc_lang1=Name of the language in which loc_name1 is given |loc_lang2=... |loc_lang3=... |loc_lang4=... |loc_lang5=... |loc_lang6=... |loc_lang7=... |loc_lang8=... |loc_lang9=... |loc_lang10=... |loc_lang11=... |loc_lang12=... |loc_lang13=... |image_map=Name of the locator map image |map_caption=Map caption |latd=Federal subject's latitude, degrees |latm=Federal subject's latitude, minutes (omit if only degrees are known) |longd=Federal subject's longitude, degrees |longm=Federal subject's longitude, minutes (omit if only degrees are known) |image_coa=Name of the coat of arms image |coa_caption=Coat of arms link/description |image_flag=Name of the flag image |flag_caption=Flag link/description |anthem=Anthem link/name |anthem_ref=Reference for the anthem; use "<ref></ref>" |holiday=Date of the federal subject's official holiday |holiday_ref=Reference for the holiday; use "<ref></ref>" <!--POLITICAL STATUS--> |political_status=Republic/Oblast/Krai/Autonomous oblast/Autonomous okrug/Federal city |political_status_link=Link to the article about the federal subject type ("republics of Russia", "krais of Russia", etc.) |federal_district=Name of the federal district to which the federal subject belongs |economic_region=Name of the economic region to which the federal subject belongs |adm_ctr_type="Capital" for the republics; "administrative center" otherwise. "Administrative center" is the default value |adm_ctr_name=Linked name of the capital/administrative center |adm_ctr_name_ref=Reference for the administrative center name; use "<ref></ref>" |official_lang_list=List of official languages of the federal subject. No need to specify "Russian", as it is official on the whole territory of Russia. An entry for "Russian" is generated automatically, and this field can be skipped if Russian is the only official language. |official_lang_ref=Reference for the list of official languages (if specified). If only Russian is official, this field can be skipped. <!--STATS--> |pop_2010census=Population of the federal subject per the 2010 Census preliminary results |pop_2010census_rank=Population rank of the federal subject among all federal subjects (as of the 2010 Census) |urban_pop_2010census=Proportion of the urban population (%) as of the 2010 Census |rural_pop_2010census=Proportion of the rural population (%) as of the 2010 Census |pop_density=The value of population density is calculated automatically if area_km2 and pop_2010census are supplied. However, it is possible to overwrite the automatically calculated value by using this parameter. Use no spaces of commas. |pop_density_as_of=Date as of which the manually supplied population density information is given |pop_density_ref=Reference for the manually supplied population density value; use "<ref></ref>" |pop_latest=Most recent available population estimate. Use no spaces or commas. |pop_latest_date=Date as of which the population estimate is given; will display as "(as of?)" if no value is given. |pop_latest_ref=Reference for the latest population estimate; use "<ref></ref>" |area_km2=Area of the federal subject in square kilometers |area_km2_rank=Area rank of the federal subject among all federal subjects |area_km2_ref=Area information taken from the Census results is automatically referenced. This field can be used to override with a different reference. Use "<ref></ref>" |established_date=Date on which the federal subject was officially established |established_date_ref=Reference for this date; use "<ref></ref>" |prev_name1..5=Previous name of the federal subject |prev_name1..5_date=Date on which the name changed |prev_name1..5_ref=Reference for these dates; use "<ref></ref>" |license_plates=List of license plate codes assigned to the federal subject |time_zone_ref=The time zone information is populated and sourced automatically. If you wish to override the source being cited, enter the reference here; use "<ref></ref>" |ISO=ISO 3166-2:RU code of the federal subject <!--GOVERNMENT--> |gov_as_of=Date as of which the data in the Government section (below) is current |leader_title=Title of the head of executive power in the federal subject |leader_title_ref=Reference for the above; use "<ref></ref>" |leader_name=Name of the head of executive power in the federal subject |leader_name_ref=Reference for the above; use "<ref></ref>" |legislature=Name of the legislative body of the federal subject |legislature_ref=Reference for the above; use "<ref></ref>" |basic_law_type=Type of the Basic Law of the federal subject (Constitution or Charter) |basic_law_title=Title of the Basic Law |website=Link to the official website of the federal subject (in English, if one exists) |website_ref=Reference for the website (optional); use "<ref></ref>" |date=Month and year on which the infobox is being filled out; use "March 2010" format. }}
復制模型
[編輯]{{Infobox Russian federal subject |zh_name |ru_name |loc_name1 |loc_lang1 |image_map |latd |latm |longd |longm |image_coa |coa_caption |image_flag |flag_caption |anthem |anthem_ref |holiday |holiday_ref <!--POLITICAL STATUS--> |political_status |political_status_link |federal_district |economic_region |adm_ctr_type |adm_ctr_name |adm_ctr_name_ref |official_lang_list |official_lang_ref <!--STATS--> |pop_2010census |pop_2010census_rank |urban_2010pop_census |rural_2010pop_census |pop_2010census_ref |pop_density |pop_density_as_of |pop_density_ref |pop_latest |pop_latest_date |pop_latest_ref |area_km2 |area_km2_rank |established_date |established_date_ref |prev_name1 |prev_name1_date |prev_name1_ref |license_plates |ISO <!--GOVERNMENT--> |gov_as_of |leader_title |leader_title_ref |leader_name |leader_name_ref |legislature |legislature_ref |basic_law_type |basic_law_title |website |website_ref |date = {{subst:#time:F Y}} }}
微格式
[編輯]本模板產生的HTML記號包含了HCard 微格式,能夠讓電腦解析地點名稱和位置,具有可自動將文章分類至適當類別的功能。在HCard中有Geo微格式,能讓電腦分析經緯度資料,因此可在地圖上查詢,或下載至全球定位系統(GPS)裝置。關於微格式的更多使用資訊,請參閱維基百科的微格式專題。
hCard 使用以下的 HTML class:
adr
county-name
fn
label
locality
nickname
note
org
vcard
Geo由{{coord}}產生,並使用以下的HTML class:
geo
latitude
longtitude
請勿將這些class更名或刪除。
當指定經緯度數值時,請避免太過詳細。