模板:FIPS
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
文件:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
<templatestyles src="Module:Side box/styles.css"></templatestyles>Wikidata has the property:
模块:Uses_Wikidata第13行Lua错误:attempt to index field 'wikibase' (a nil value)
Template:FIPS displays the specified FIPS state and place codes, with an external link to 2020 United States Census population data for the associated place.
Usage
Places
{{FIPS|SS|PPPPP}}
- SS is the 2-digit FIPS state code
- PPPPP is the 5-digit FIPS place code
{{FIPS|p=SSCCCPPPPP}}
|p=is a 10-digit code, where SSCCC is the 5-digit FIPS county code (first two digits are FIPS state code) and PPPPP is the 5-digit FIPS place code
Examples for Amanda (village), Ohio:
- https://data.census.gov/cedsci/profile?g=1600000US3901630
{{FIPS|39|01630}}→ 39-01630{{FIPS|p=3904501630}}→ 3904501630
County subdivisions
{{FIPS|SS|PPPPP|CCC}}
- SS is the 2-digit FIPS state code
- PPPPP is the 5-digit FIPS place code
- CCC is the last 3 digits of the FIPS county code (first two digits are FIPS state code)
{{FIPS|cs=SSCCCPPPPP}}
|cs=is a 10-digit code, where SSCCC is the 5-digit FIPS county code (first two digits are FIPS state code) and PPPPP is the 5-digit FIPS place code
Examples for Amanda Township, Fairfield County, Ohio
- https://data.census.gov/cedsci/profile?g=0600000US3904501637
{{FIPS|39|01637|045}}→ 39-01637{{FIPS|cs=3904501637}}→ 3904501637