साँचा:Infobox Settlement/sandbox
Infobox Settlement/sandbox |
---|
This is the template sandbox page for साँचा:Infobox Settlement (diff). |
Before making any changes to the template, please first compare your changes in the test template: Template:Infobox Settlement/sandbox. Thank you. |
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
This template can be used to produce an Infobox for human settlements (cities, towns, villages, communities) as well as other administrative districts, counties, provinces, etc. - in fact, any subdivision below the level of a country, for which {{Infobox Country}} should be used. Available fields are described in the table below.
Usage
[संपादित करें]Please verify that adding the template does not overlay, or get overlaid by, other templates on the article. Please test your changes with several skins and several browsers, and several browser window sizes.
- Important: Please enter all numeric values in a raw, unformatted fashion. References are to be included in their respective section footnotes field. Numeric values that are not "raw" may create an "Expression error". Raw values will be automatically formatted by the template. If you find a raw value is not formatted in your usage of the template, please post a notice on the discussion page for this template.
- Expression Error may also be caused when any coordinate parameter has a value, but one or more coordinate parametes are blank of invalid.
Complete Empty Syntax
[संपादित करें]For questions see the talk page.
{{Infobox Settlement <!--See Template:Infobox Settlement for additional fields that may be available--> <!--See the Table at Infobox Settlement for all fields and descriptions of usage--> <!-- Basic info ----------------> |name = <!-- at least one of the first two fields must be filled in --> |official_name = |other_name = |native_name = <!-- if different from the English name --> |native_name_lang = <!-- Use ISO639 code, e.g. "fr" for French. If there is more than one native name, in different languages, enter those names using {{lang}}, instead --> |nickname = |settlement_type = <!--such as Town, Village, City, Borough etc.--> |total_type = <!-- to set a non-standard label for total area and population rows --> |motto = |translit_lang1= |translit_lang1_type= |translit_lang1_info= |translit_lang1_type1= |translit_lang1_info1= |translit_lang1_type2= |translit_lang1_info2= |translit_lang1_type3= |translit_lang1_info3= |translit_lang1_type4= |translit_lang1_info4= |translit_lang1_type5= |translit_lang1_info5= |translit_lang1_type6= |translit_lang1_info6= |translit_lang2= |translit_lang2_type= |translit_lang2_info= |translit_lang2_type1= |translit_lang2_info1= |translit_lang2_type2= |translit_lang2_info2= |translit_lang2_type3= |translit_lang2_info3= |translit_lang2_type4= |translit_lang2_info4= |translit_lang2_type5= |translit_lang2_info5= |translit_lang2_type6= |translit_lang2_info6= <!-- images and maps -----------> |image_skyline = |imagesize = |image_caption = |image_flag = |flag_size = |image_seal = |seal_size = |image_shield = |shield_size = |image_blank_emblem = |blank_emblem_type = |blank_emblem_size = |image_map = |mapsize = |map_caption = |image_map1 = |mapsize1 = |map_caption1 = |image_dot_map = |dot_mapsize = |dot_map_caption = |dot_x = |dot_y = |pushpin_map = <!-- name of a location map as per Template:Location_map --> |pushpin_label_position = <!-- position of the pushpin label: left, right, top, bottom, none --> |pushpin_map_caption = |pushpin_mapsize = <!-- Location ------------------> |subdivision_type = <!--Country--> |subdivision_name = <!--the name of the country--> |subdivision_type1 = |subdivision_name1 = |subdivision_type2 = |subdivision_name2 = |subdivision_type3 = |subdivision_name3 = |subdivision_type4 = |subdivision_name4 = <!-- Smaller parts (e.g. boroughs of a city) and seat of government --> |seat_type = |seat = |parts_type = |parts_style = <!-- =list (for list), coll (for collapsed list), para (for paragraph format) Default is list if up to 5 items, coll if more than 5--> |parts = <!-- parts text, or header for parts list --> |p1 = |p2 = <!-- etc. up to p50: for separate parts to be listed--> <!-- Politics -----------------> |government_footnotes = |government_type = |leader_party = |leader_title = |leader_name = <!--add (no-break space) to leader names to disable automatic links--> |leader_title1 = |leader_name1 = |leader_title2 = |leader_name2 = |leader_title3 = |leader_name3 = |leader_title4 = |leader_name4 = |established_title = <!-- Settled --> |established_date = |established_title1 = <!-- Incorporated (town) --> |established_date1 = |established_title2 = <!-- Incorporated (city) --> |established_date2 = |established_title3 = |established_date3 = |extinct_title = |extinct_date = |founder = |named_for = <!-- Area ---------------------> |area_magnitude = <!-- use only to set a special wikilink --> |unit_pref = <!--Enter: Imperial, to display imperial before metric--> |area_footnotes = |area_total_km2 = <!-- ALL fields with measurements are subject to automatic unit conversion--> |area_land_km2 = <!--See table @ Template:Infobox Settlement for details on unit conversion--> |area_water_km2 = |area_total_dunam = <!--Used in Middle East articles only--> |area_total_sq_mi = |area_land_sq_mi = |area_water_sq_mi = |area_water_percent = |area_urban_km2 = |area_urban_sq_mi = |area_metro_km2 = |area_metro_sq_mi = |area_blank1_title = |area_blank1_km2 = |area_blank1_sq_mi = <!-- Elevation --------------------------> |elevation_footnotes = <!--for references: use <ref> tags--> |elevation_max_footnotes= <!--for references: use <ref> tags--> |elevation_min_footnotes= <!--for references: use <ref> tags--> |elevation_m = |elevation_ft = |elevation_max_m = |elevation_max_ft = |elevation_min_m = |elevation_min_ft = <!-- Population -----------------------> |population_as_of = |population_footnotes = |population_note = |population_total = |population_density_km2 = <!--For automatic calculation, any density field may contain: auto --> |population_density_sq_mi = |population_est = |pop_est_as_of = |population_metro = |population_density_metro_km2 = |population_density_metro_sq_mi = |population_urban = |population_density_urban_km2 = |population_density_urban_sq_mi = |population_blank1_title = |population_blank1 = |population_density_blank1_km2 = |population_density_blank1_sq_mi = |demographics_type1 = |demographics1_footnotes = |demographics1_title1 = |demographics1_info1 = |demographics1_title2 = |demographics1_info2 = |demographics1_title3 = |demographics1_info3 = |demographics1_title4 = |demographics1_info4 = |demographics1_title5 = |demographics1_info5 = |demographics_type2 = |demographics2_footnotes = |demographics2_title1 = |demographics2_info1 = |demographics2_title2 = |demographics2_info2 = |demographics2_title3 = |demographics2_info3 = |demographics2_title4 = |demographics2_info4 = |demographics2_title5 = |demographics2_info5 = <!-- General information ---------------> |timezone1 = |utc_offset1 = |timezone1_DST = |utc_offset1_DST = |coor_pinpoint =<!-- can be used to specify exactly where/what the coordinates refer to --> |coordinates_type = |coordinates_display = display=inline,title <!-- delete unwanted option, if any --> |latd= |latm= |lats= |latNS= |longd= |longm= |longs= |longEW= <!-- Area/postal codes & others --------> |postal_code_type = <!-- enter ZIP code, Postcode, Post code, Postal code... --> |postal_code = |postal2_code_type = <!-- enter ZIP code, Postcode, Post code, Postal code... --> |postal2_code = |area_code_type = |area_code = |twin1 = |twin1_country = |twin2 = |twin2_country = |twin3 = |twin3_country = |twin4 = |twin4_country = |twin5 = |twin5_country = |twin6 = |twin6_country = |twin7 = |twin7_country = |blank_name_sec1 = |blank_info_sec1 = |blank1_name_sec1 = |blank1_info_sec1 = |blank2_name_sec1 = |blank2_info_sec1 = |blank3_name_sec1 = |blank3_info_sec1 = |blank4_name_sec1 = |blank4_info_sec1 = |blank5_name_sec1 = |blank5_info_sec1 = |blank6_name_sec1 = |blank6_info_sec1 = |blank_name_sec2 = |blank_info_sec2 = |blank1_name_sec2 = |blank1_info_sec2 = |blank2_name_sec2 = |blank2_info_sec2 = |blank3_name_sec2 = |blank3_info_sec2 = |blank4_name_sec2 = |blank4_info_sec2 = |blank5_name_sec2 = |blank5_info_sec2 = |blank6_name_sec2 = |blank6_info_sec2 = |website = |footnotes = }}
Basic Empty Syntax
[संपादित करें]For questions see the talk page.
{{Infobox Settlement <!--See Template:Infobox Settlement for additional fields that may be available--> <!--See the Table at Infobox Settlement for all fields and descriptions of usage--> <!-- Basic info ----------------> |name = <!-- at least one of the first two fields must be filled in --> |nickname = |settlement_type = <!-- e.g. Town, Village, City, etc.--> |total_type = <!-- to set a non-standard label for total area and population rows --> |motto = <!-- images and maps -----------> |image_skyline = |imagesize = |image_caption = |image_flag = |flag_size = |image_seal = |seal_size = |image_shield = |shield_size = |image_blank_emblem = |blank_emblem_type = |blank_emblem_size = |image_map = |mapsize = |map_caption = |image_map1 = |mapsize1 = |map_caption1 = |image_dot_map = |dot_mapsize = |dot_map_caption = |dot_x = |dot_y = |pushpin_map = <!-- the name of a location map as per http://en.wikipedia.org/wiki/Template:Location_map --> |pushpin_label_position = <!-- the position of the pushpin label: left, right, top, bottom, none --> |pushpin_map_caption = |pushpin_mapsize = <!-- Location ------------------> |subdivision_type = <!--Country--> |subdivision_name = <!--the name of the country--> |subdivision_type1 = |subdivision_name1 = |subdivision_type2 = |subdivision_name2 = <!-- Politics -----------------> |government_footnotes = |government_type = |leader_title = |leader_name = <!--add (no-break space) to leader names to disable automatic links--> |leader_title1 = |leader_name1 = |established_title = <!-- Settled --> |established_date = <!-- Area ---------------------> |area_magnitude = |unit_pref = <!--Enter: Imperial, to display imperial before metric--> |area_footnotes = |area_total_km2 = <!-- ALL fields with measurements are subject to automatic unit conversion--> |area_land_km2 = <!--See table @ Template:Infobox Settlement for details on unit conversion--> |area_water_km2 = |area_total_sq_mi = |area_land_sq_mi = |area_water_sq_mi = |area_water_percent = <!-- Elevation --------------------------> |elevation_footnotes = <!--for references: use <ref> tags--> |elevation_m = |elevation_ft = <!-- Population -----------------------> |population_as_of = |population_footnotes = |population_note = |population_total = |population_est = |pop_est_as_of = |population_density_km2 = <!--For automatic calculation, any density field may contain: auto --> |population_density_sq_mi = <!-- General information ---------------> |timezone1 = |utc_offset1 = |timezone1_DST = |utc_offset1_DST = |latd= |latm= |lats= |latNS= |longd= |longm= |longs= |longEW= <!-- Area/postal codes & others --------> |postal_code_type = <!-- enter ZIP code, Postcode, Post code, Postal code... --> |postal_code = |area_code = |website = |footnotes = }}
Table
[संपादित करें]
Name and motto[संपादित करें] | ||
---|---|---|
Field Name | Usage | Description |
name | required if official_name missing | The usual name in English |
official_name | required if name missing | The official name in English |
other_name | optional | For places with a former or more common name like Bombay or Saigon |
native_name | optional | This will display under the name/official name |
native_name_lang | optional | Use [639-2] code, e.g. "fr" for French. If there is more than one native name, in different languages, enter those names using {{lang}}, instead. |
settlement_type | optional | Any type can be entered, such as City, Town, Village, Hamlet, Municipality, Reservation, etc. If set, will be displayed under the names, provided that name is filled in. Might also be used as a label for total population/area (defaulting to City), if needed to distinguish from Urban or Metro (if urban and metro figures are not present, the label is Total unless total_type is set). |
total_type | optional | Specifies what "total" area and population figure refer to, e.g. Greater London. This overrides other labels for total population/area. For no label, can be set to (this precise value also causes the total population to be displayed on the same line as the word Population). |
nickname | optional | well-known nickname(s) |
motto | optional | Will place the motto under the nicknames |
translit_lang1 | optional | Will place the "entry" before the word "transliteration(s)". Can be used to specify a particular language like in Dêlêg or one may just enter "Other", like in Gaza's article. |
translit_lang1_type | optional | |
translit_lang1_info | optional | |
translit_lang2 | optional | Will place a second transliteration. See Dêlêg |
translit_lang2_type | optional | |
translit_lang2_info | optional | |
Images and maps[संपादित करें] | ||
These variables are only used for generating categories for this article | ||
Field Name | Usage | Description |
image_skyline | optional | Despite the name it can be any image that an editor wishes. Default size will be 250px |
imagesize | optional | Can be used to tweak the size of the image_skyline up or down. This can can helpful if an editor want to make the infobox wider. |
image_caption | optional | Will place a caption under the image_skyline (if present) |
image_flag | optional | Used for a flag. Default size:100px |
flag_size | optional | Can be used to tweak the size of the image_flag up or down from 100px as desired. |
flag_link | optional | |
image_seal | optional | If the place has an official seal. |
seal_link | optional | |
seal_size | optional | Default is 100px. |
image_shield | optional | Can be used for a place with a coat of arms. |
shield_link | optional | Can be used if a wiki article if known but is not automatically linked by the template. See Coquitlam, British Columbia's infobox for an example. |
shield_size | optional | Default is 100px. |
image_blank_emblem | optional | Can be used if a place has an official logo, crest, emblem, etc. Logo is the default type. See Kingston upon Hull's infobox for an example. Deprecated name =city_logo |
blank_emblem_type | optional | To specify what type of emblem "image_blank_emblem" is. The default is Logo. |
blank_emblem_size | optional | Default is 100px. Deprecated name =citylogo_size |
blank_emblem_link | optional | Deprecated name =logo_link |
image_map | optional | |
mapsize | optional | Default is 250px. |
map_caption | optional | |
image_map1 | optional | A secondary map image. The field image_map must be filled in first. Example see: Bloomsburg, Pennsylvania. |
mapsize1 | optional | Default is 250px. |
map_caption1 | optional | |
image_dot_map | optional | A field for manually superimposing a dot over a blank map using an "X" & "Y" system. Blank maps, if available, can be found over at Wikimedia Commons. Example see: Rainbow Lake, Alberta |
dot_mapsize | optional | To change the dot map size; default is 180px. |
dot_map_caption | optional | For placing a caption under the dot map. |
dot_x dot_y |
optional | For manually superimposing the dot left/right and up/down on the map. |
pushpin_map | optional | The name of a location map as per Template:Location map (eg. Indonesia or Russia). The coordinate fields (eg. latd and longd) position a pushpin coordinate marker and label on the map automatically. Example see: Padang, Indonesia |
pushpin_label_position | optional | The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}. If this field is not specified, the default value is right. |
pushpin_mapsize | optional | Must be entered as only a number—no need for px. The default value is 250. |
pushpin_map_caption | optional | Fill out if a different caption from map_caption is desired. |
Location, subdivisions, government and established information[संपादित करें] | ||
Field Name | Usage | Description |
subdivision_type | optional | almost always "Country" |
subdivision_name | optional | Depends on the subdivision_type - use the name in text form, sample: United States or [[United States]], don't add flag icons or flag templates in this field. |
subdivision_type1 to subdivision_type4 |
optional | Can be State/Province, region, county. |
subdivision_name1 to subdivision_name4 |
optional | Use the name in text form, sample: Florida or [[Florida]]. Don't add flag icons or flag templates in this field. |
seat_type | optional | The label for the seat of government (defaults to Seat). |
seat | optional | The seat of government. |
parts_type | optional | The label for the smaller subdivisions (defaults to Boroughs). |
parts_style | optional | Set to list to display as a collapsible list, coll as a collapsed list, or para to use paragraph style. Default is list for up to 5 items, otherwise coll. |
parts | optional | Text or header of the list of smaller subdivisions. |
p1, p2, etc. | optional | (maximum p50) The smaller subdivisions to be listed. Example: Warsaw |
government_footnotes | optional | If a reference(s) is available this where to put them using the <ref> </ref> tags and possibly the citing format at {{Cite web}} within the ref tags. |
government_type | optional | Example: |
leader_party | optional | Political party of the place's leader. |
leader_title | optional | First title of the place's leader, e.g. Mayor |
leader_name | optional | Tip: Names are automatically wiki-linked if an article exists; if the target is not the intended one, insert a character such as " " to disable the link |
leader_title1 to leader_title4 |
optional | |
leader_name1 to leader_name4 |
optional | For long lists use {{Collapsible list}}. See Halifax for an example. |
established_title | optional | Example: First settled |
established_date | optional | |
established_title1 | optional | Example: Incorporated (town) |
established_date1 | optional | |
established_title2 | optional | Example: Incorporated (city) |
established_date2 | optional | |
established_title3 | optional | |
established_date3 | optional | |
extinct_title | optional | For when a settlement ceases to exist |
extinct_date | optional | |
founder | optional | The name of the settlement's founder |
named_for | optional | The source of the name of the settlement (a person, a place, et cetera) |
Geographic information[संपादित करें] | ||
These fields have dual automatic unit conversion meaning that if only metric values are entered, the imperial values will be automatically converted and vice versa. If an editor wishes to over-ride the automatic conversion, e.g. if the source gives both metric and imperial or if a range of values is needed, they should enter both values in their respective fields. | ||
Field Name | Usage | Description |
unit_pref | optional | To change the unit order to imperial (metric), enter imperial. The default display style is metric (imperial). However, the template will swap the order automatically if the subdivision_name equals some variation of the USA or the UK. For the middle east, a unit preference of dunam can be entered (only affects total area). All values must be entered in a raw format: no commas, spaces, or unit symbols. The template will format them automatically. |
area_footnotes | optional | If reference(s) are available, this is where to put them, possibly using a citing format such as {{Cite web}}, within <ref> </ref> tags. |
area_magnitude | optional | Area magnitude of total_area in terms of m2. Should enter 1 E+6 for area of 1.0 km2. See 1 E+6 m² |
area_total_dunam | optional | Total area in dunams, which is wiki-linked. Used in middle eastern places like Israel, Gaza, and the West Bank. Value must be entered in raw format, no commas or spaces. Auto-converted to display square kilometers and square miles if area_total_km2 and area_total_sq_mi are empty. Examples: Gaza and Ramallah |
area_total_km2 | optional | Total area in square kilometers—symbol: km2, which is wiki-linked. Value must be entered in raw format, no commas or spaces. Auto-converted to display square miles if area_total_sq_mi is empty. Deprecated name =area_total |
area_land_km2 | optional | Land area in square kilometers—symbol: km2. Value must be entered in raw format, no comms or spaces. Auto-converted to display square miles if area_land_sq_mi is empty. Deprecated name =area_land |
area_water_km2 | optional | Water area in square kilometers—symbol: km2. Value must be entered in raw format, no comms or spaces. Auto-converted to display square miles if area_water_sq_mi is empty. Deprecated name =area_water |
area_total_sq_mi | optional | Total area in square miles—symbol: sq mi, which is wiki-linked. Value must be entered in raw format, no comms or spaces. Auto-converted to display square kilometers if area_total_km2 is empty. Deprecated name =TotalArea_sq_mi |
area_land_sq_mi | optional | Land area in square miles—symbol: sq mi. Value must be entered in raw format, no comms or spaces. Auto-converted to display square kilometers if area_land_km2 is empty. Deprecated name =LandArea_sq_mi |
area_water_sq_mi | optional | Water area in square miles—symbol: sq mi. Value must be entered in raw format, no comms or spaces. Auto-converted to display square kilometers if area_water_km2 is empty. Deprecated name =WaterArea_sq_mi |
area_water_percent | optional | percent of water without the "%" |
area_urban_km2 | optional | Deprecated name =area_urban |
area_urban_sq_mi | optional | Deprecated name =UrbanArea_sq_mi |
area_metro_km2 | optional | Deprecated name =area_metro |
area_metro_sq_mi | optional | Deprecated name =MetroArea_sq_mi |
area_blank1_title | optional | Example see London |
area_blank1_km2 | optional | |
area_blank1_sq_mi | optional | |
area_blank2_title | optional | |
area_blank2_km2 | optional | |
area_blank2_sq_mi | optional | |
elevation_footnotes | optional | If reference(s) are available, this is where to put them, possibly using a citing format such as {{Cite web}}, within <ref> </ref> tags. |
elevation_max_footnotes | optional | Same as above, but for the "max" elevation. See Leeds |
elevation_min_footnotes | optional | |
elevation_m | optional | Raw number entered in meters. Will automatically convert to display elevation in feet if elevation_ft is empty. However, if a range in elevation (i.e. 5–50 m ) is desired, Deprecated name =elevation |
elevation_ft | optional | Raw number, entered in feet. Will automatically convert to display the average elevation in meters if elevation_m field is empty. However, if a range in elevation (i.e. 50–500 ft ) is desired, |
elevation_max_m, elevation_max_ft, elevation_min_m, elevation_min_ft | optional | Used to give highest and/or lowest elevations, if available, instead of just a single value. Example: Halifax Regional Municipality |
coor_pinpoint | optional | If needed, to specify more exactly where (or what) coordinates are given (e.g. Town Hall) or a specific place in a larger area (e.g. a city in a county). Example: Masovian Voivodeship Deprecated name =coor_type |
coordinates_type | optional | Can be used to override the default type and region for coordinates.
If coordinates_type is not used:
If coordinates_type is needed, to specify region, type and scale in accordance with how it is done at {{coord}}, i.e. |
coordinates_display | optional | If the field is empty or not used, the coordinates will be displayed in the infobox only.
Any value will have the coordinates displayed in the article's title as well. Infobox Settlement uses {{Geobox coor}} to call {{Coord}} with the parameter "display=inline,title". |
latd | optional | Latitude degrees. Can also be used for decimal degrees. |
latm | optional | Latitude minutes |
lats | optional | Latitude seconds |
latNS | optional | Latitude North or South (enter N or S). |
longd | optional | Longitude degrees. Can also be used for decimal degrees. |
longm | optional | Longitude minutes |
longs | optional | Longitude seconds |
longEW | optional | Longitude East or West (enter E or W). |
Population information[संपादित करें] | ||
The density fields have dual automatic unit conversion meaning that if only metric values are entered, the imperial values will be automatically converted and vice-versa. If an editor wishes to over-ride the automatic conversion, e.g. if the source gives both metric and imperial or if a range of values is needed, they can enter both values in their respective fields. To calculate density with respect to the total area automatically, type auto in place of any density value. | ||
Field Name | Usage | Description |
population_as_of | optional | |
population_footnotes | optional | If reference(s) are available, this is where to put them, possibly using a citing format such as {{Cite web}}, within <ref> </ref> tags. |
population_total | optional | |
population_density_km2 | optional | Deprecated name =population_density |
population_density_sq_mi | optional | Deprecated name =population_density_mi2 |
population_est | optional | Population estimate. |
pop_est_as_of | optional | The year or month & year of the population estimate. |
population_metro | optional | |
population_density_metro_km2 | optional | |
population_density_metro_sq_mi | optional | Deprecated name =population_density_metro_mi2 |
population_urban | optional | |
population_density_urban_km2 | optional | |
population_density_urban_sq_mi | optional | Deprecated name =population_density_urban_mi2 |
population_blank1_title | optional | Can be used for estimates. Example: Windsor, Ontario |
population_blank1 | optional | The population value for blank1_title |
population_density_blank1_km2 | optional | |
population_density_blank1_sq_mi | optional | |
population_blank2_title | optional | |
population_blank2 | optional | |
population_density_blank2_km2 | optional | |
population_density_blank2_sq_mi | optional | |
population_demonym | Not currently available | A demonym or gentilic is a word that denotes the members of a people or the inhabitants of a place. For example citizens in Liverpool are known as Liverpudlians. |
population_note | optional | A place for additional information such as the name of the source. See Windsor, Ontario for example. |
demographics_type1 | optional | Section Header. For example: Ethnicity |
demographics1_footnotes | optional | If reference(s) are available for the first demographics section, this is where to put them, possibly using a citing format such as {{Cite web}}, within <ref> </ref> tags |
demographics1_title1 to demographics1_title5 |
optional | Titles related to demographics_type1. For example: White, Black, Hispanic... |
demographics1_info1 to demographics1_info5 |
optional | Information related to the "titles". For example: 50%, 25%, 10%... |
demographics_type2 | optional | A second section header. For example: Languages |
demographics2_footnotes | optional | If reference(s) are available for the second demographics section, this is where to put them, possibly using a citing format such as {{Cite web}}, within <ref> </ref> tags |
demographics2_title1 to demographics2_title5 |
optional | Titles related to demographics_type2. For example: English, French, Arabic... |
demographics2_info1 to demographics2_info5 |
optional | Information related to the "titles" for type2. For example: 50%, 25%, 10%... |
Other information[संपादित करें] | ||
Field Name | Usage | Description |
timezone1 | optional | |
utc_offset1 | optional | |
timezone1_DST | optional | |
utc_offset1_DST | optional | |
timezone2 | optional | A second timezone field for larger areas such as a Province. |
utc_offset2 | optional | |
timezone2_DST | optional | |
utc_offset2_DST | optional | |
postal_code_type | optional | |
postal_code | optional | |
postal_code2_type | optional | |
postal_code2 | optional | |
area_code_type | optional | If left blank/not used template will default to "Area code(s)" |
area_code | optional | |
blank_name_sec1 | optional | Can be used for additional information such as car plates |
blank_info_sec1 | optional | This is where the information for the blank_name would go. Example see: Warsaw. |
blank1_name_sec1 to blank6_name_sec1 |
optional | |
blank1_info_sec1 to blank6_info_sec1 |
optional | |
blank_name_sec2 | optional | For a second section of blank fields |
blank_info_sec2 | optional | Example: Beijing |
blank1_name_sec2 to blank_name_sec2 |
optional | |
blank1_info_sec2 to blank6_info_sec2 |
optional | |
twin1 to twin7 |
optional | Name of a twin city |
twin1_country to twin7_country |
optional | Country of the twin city |
footnotes | optional | |
website | optional |
Microformat
[संपादित करें]The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
[संपादित करें]If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
[संपादित करें]hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- url
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes nor collapse nested elements which use them.
Precision
[संपादित करें]When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
उपयोग उदाहरण
[संपादित करें]en:Detroit, Michigan से। ध्यान दें पाइप " | " आकृति हर पंक्ति जिसमें आंकडें हैं के पहले ही लगी हुई है बजाए कि पंक्ति के अंत में। इससे दो पंक्तियों में विभेद करना आसान हो जाता है।
City of Detroit | |||
---|---|---|---|
| |||
उपनाम: Motor City, Motown, Rock City, The D | |||
ध्येय: "Speramus Meliora; Resurget Cineribus" (Latin for, "We Hope For Better Things; It Shall Rise From the Ashes") | |||
Location in Wayne County, Michigan | |||
Country | United States | ||
State | Michigan | ||
County | Wayne County | ||
Founded | 1701 | ||
Incorporation | 1806 | ||
शासन | |||
• प्रणाली | Strong Mayor-Council | ||
• Mayor | Kwame Kilpatrick (D) | ||
क्षेत्रफल | |||
• शहर | 143.0 वर्गमील (370.2 किमी2) | ||
• थल | 138.8 वर्गमील (359.4 किमी2) | ||
• जल | 4.2 वर्गमील (10.8 किमी2) | ||
• नगरीय | 1,295 वर्गमील (3,354 किमी2) | ||
• महानगर | 3,913 वर्गमील (10,135 किमी2) | ||
ऊँचाई[1] | 600 फीट (183 मी) | ||
जनसंख्या (2006)[2] | |||
• शहर | 8,71,121 | ||
• घनत्व | 6,856 वर्गमील (2,647 किमी2) | ||
• महानगर | 39,03,377 | ||
• महानगर | 44,68,966 | ||
समय मण्डल | EST (यूटीसी-5) | ||
• ग्रीष्मकालीन (दि॰ब॰स॰) | EDT (यूटीसी-4) | ||
वेबसाइट | http://www.detroitmi.gov | ||
हवाई अड्डा | डेट्रॉयट हवाई अड्डा | ||
रेलवे | डेट्रॉयट रेलवे स्टेशन |
{{Infobox Settlement
|official_name = City of Detroit
|nickname = Motor City, Motown, Rock City, The D
|motto = "Speramus Meliora; Resurget Cineribus"<br />([[Latin]] for, "We Hope For Better Things; It Shall Rise From the Ashes")
|image_skyline = DetroitSkyline.jpg
|image_flag = Detroit flag.png
|image_seal = Detroit Seal.png
|image_map = Wayne County Michigan Incorporated and Unincorporated areas Detroit highlighted.svg
|map_caption =[[Wayne County, Michigan|Wayne County]], [[Michigan]] में स्थिति
|subdivision_type = [[Countries of the world|Country]]
|subdivision_type1 = [[U.S. state|State]]
|subdivision_type2 = [[List of counties in Michigan|County]]
|subdivision_name = [[United States]]
|subdivision_name1 = [[Michigan]]
|subdivision_name2 = [[Wayne County, Michigan|Wayne County]]
|established_title = Founded
|established_date = [[1701]]
|established_title2 = Incorporation
|established_date2 = [[1806]]
|government_type = [[Mayor-council government|Strong Mayor-Council]]
|leader_title =[[List of mayors of Detroit, Michigan|Mayor]]
|leader_name =[[Kwame Kilpatrick]] (D)
|area_magnitude = 1 E8
|area_total_sq_mi =143.0
|area_total_km2 = 370.2
|area_land_sq_mi = 138.8
|area_land_km2 = 359.4
|area_water_sq_mi = 4.2
|area_water_km2 = 10.8
|area_urban_sq_mi = 1295
|area_urban_km2 = 3354
|area_metro_km2 = 10135
|area_metro_sq_mi = 3913
|population_as_of=2006
|population_footnotes =<ref>{{cite web
| url = http://www.census.gov/popest/estimates.php
| title= US Census July 1, 2006 est}}</ref>
|population_total = 871121
|population_urban = 3903377
|population_metro = 4468966
|population_density_sq_mi = 6856
|population_density_km2 = 2647
|transport_type = हवाई अड्डा
|transport_name =[[डेट्रॉयट हवाई अड्डा]]
|transport_type1 = रेलवे
|transport_name1 = डेट्रॉयट रेलवे स्टेशन
|timezone = [[Eastern Time Zone (North America)|ईएसटी]]
|utc_offset = -5
|timezone_DST = [[पूर्वी दिवालोक बचत समय|ईडीटी]]
|utc_offset_DST = -4
|latd = 42 | latm = 19 | lats = 53.76 | latNS = N
|longd = 83 | longm = 2 | longs = 51 | longEW = W
|coordinates_display=X
|elevation_footnotes=<ref name=elevation>{{cite web
| url ={{Gnis3|1617959}}
| title=USGS detail on Detroit
| accessdate=2007-02-18 }}</ref>
|elevation_ft = 600
|elevation_m = 183
|website = http://www.detroitmi.gov
|footnotes =
}}
ऊपर दिए गए निर्देश साँचा:Infobox Settlement/doc से लिए गए है।(संपादन | इतिहास) संपादक इस साँचे के प्रयोगस्थल व प्रयोग पन्नों में प्रयोग कर सकते है। sandbox (edit | diff) and testcases (create) pages. कृपया /doc उपपृष्ठ पर श्रेणियाँ व विकियों के बिच की कड़ियाँ जोड़े। इस साँचे के उपपृष्ठ। |
- ↑ [[[:साँचा:Gnis3]] "USGS detail on Detroit"] जाँचें
|url=
मान (मदद). अभिगमन तिथि 2007-02-18. - ↑ "US Census July 1, 2006 est".