Template:Infobox settlement/doc: Difference between revisions
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
{{Uses TemplateStyles|Template:Infobox settlement/styles.css}} | {{Uses TemplateStyles|Template:Infobox settlement/styles.css}} | ||
{{Uses Wikidata|P41|P94|P158|P625|P856}} | {{Uses Wikidata|P41|P94|P158|P625|P856}} | ||
The template is aliased or used as a sub-template for several infobox front-end templates. | The template is aliased or used as a sub-template for several infobox front-end templates. | ||
| Line 720: | Line 718: | ||
| '''pushpin_map''' || optional || The name of a location map as per [[Template:Location map]] (e.g. ''Indonesia'' or ''Russia''). The coordinate fields (from {{para|coordinates}}) position a pushpin coordinate marker and label on the map '''automatically'''. Example: [[Padang, Indonesia]]. To show multiple pushpin maps, provide a list of maps separated by #, e.g., ''California#USA'' | | '''pushpin_map''' || optional || The name of a location map as per [[Template:Location map]] (e.g. ''Indonesia'' or ''Russia''). The coordinate fields (from {{para|coordinates}}) position a pushpin coordinate marker and label on the map '''automatically'''. Example: [[Padang, Indonesia]]. To show multiple pushpin maps, provide a list of maps separated by #, e.g., ''California#USA'' | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''pushpin_mapsize''' || optional || Must be entered as only a number—'''do not use px'''. The default value is 250. | | '''pushpin_mapsize''' || optional || Must be entered as only a number—'''do not use px'''. The default value is 250. | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''pushpin_map_alt''' || optional || Alt text for pushpin map | | '''pushpin_map_alt''' || optional || Alt text for pushpin map | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''pushpin_map_caption''' || optional || Fill out if a different caption from ''map_caption'' is desired. | | '''pushpin_map_caption''' || optional || Fill out if a different caption from ''map_caption'' is desired. | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''pushpin_map_caption_notsmall''' || optional || <!-- add documentation here --> | | '''pushpin_map_caption_notsmall''' || optional || <!-- add documentation here --> | ||
| Line 746: | Line 744: | ||
| '''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: In the article [[Masovian Voivodeship]], <code>coor_pinpoint=Warsaw</code> specifies [[Warsaw]]. | | '''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: In the article [[Masovian Voivodeship]], <code>coor_pinpoint=Warsaw</code> specifies [[Warsaw]]. | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''coordinates_footnotes''' || optional || Reference(s) for coordinates, | | '''coordinates_footnotes''' || optional || Reference(s) for coordinates, | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''grid_name'''<br />'''grid_position''' || optional || Name of a regional grid system and position on the regional grid | | '''grid_name'''<br />'''grid_position''' || optional || Name of a regional grid system and position on the regional grid | ||
|} | |} | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 785: | Line 768: | ||
| '''subdivision_type1'''<br />to<br />'''subdivision_type6''' || optional || Can be State/Province, region, county. These labels are for subdivisions ''above'' the level of the settlement described in the article. For subdivisions ''below'' or ''within'' the place described in the article, use {{para|parts_type}}. | | '''subdivision_type1'''<br />to<br />'''subdivision_type6''' || optional || Can be State/Province, region, county. These labels are for subdivisions ''above'' the level of the settlement described in the article. For subdivisions ''below'' or ''within'' the place described in the article, use {{para|parts_type}}. | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''subdivision_name1'''<br />to<br />'''subdivision_name6''' || optional || Use the name in text form | | '''subdivision_name1'''<br />to<br />'''subdivision_name6''' || optional || Use the name in text form | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
! colspan=3 style="color:black; background: #ddd;" | Established | ! colspan=3 style="color:black; background: #ddd;" | Established | ||
| Line 793: | Line 776: | ||
| '''established_date''' || optional || Requires established_title= | | '''established_date''' || optional || Requires established_title= | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''established_title1''' || optional || Example: Incorporated (town) | | '''established_title1''' || optional || Example: Incorporated (town) | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''established_date1''' || optional || [See note for "established_title1".] Requires established_title1= | | '''established_date1''' || optional || [See note for "established_title1".] Requires established_title1= | ||
| Line 847: | Line 830: | ||
! colspan=3 style="color:black; background: #ddd;" | Government type, leaders | ! colspan=3 style="color:black; background: #ddd;" | Government type, leaders | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''government_footnotes''' || optional || Reference(s) for government | | '''government_footnotes''' || optional || Reference(s) for government | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''government_type''' || optional || Examples: | | '''government_type''' || optional || Examples: Mayor–council government, Council–manager government, City commission government, ... | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''governing_body''' || optional || Name of the place's governing body | | '''governing_body''' || optional || Name of the place's governing body | ||
| Line 3,760: | Line 3,743: | ||
</templatedata> | </templatedata> | ||
{{collapse bottom}} | {{collapse bottom}} | ||
}}</includeonly> | }}</includeonly> | ||