Templat:Infobox U.S. county: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
k bot Menambah: da:Skabelon:Infoboks amt i USA, sv:Mall:Infobox USA-county Mengubah: simple:Template:Infobox U.S. county |
revisi |
||
(9 revisi perantara oleh 5 pengguna tidak ditampilkan) | |||
Baris 1:
{{Infobox
| bodyclass = geography vcard
| bodystyle = width:23em; line-height:1.15em;
| abovestyle = font-size:1.25em; white-space:nowrap
| above = <span class="fn org">{{{county}}}</span>, <span class="adr"><span class="region">{{{state}}}</span></span>
| subheaderstyle = background-color:#cddeff; font-weight:bold;
| subheader = {{#if:{{both|{{{county|}}}{{{state|}}}{{{official_name|}}}|{{{type|{{{type|}}}}}}}}|<span class="category">{{{type|{{{type}}}}}}</span>}}
| rowclass1 = mergedtoprow
| data1 = {{#if:{{{county|}}}{{{state|}}}|<b>{{{official_name|}}}</b>}}
| rowclass2 = mergedtoprow
| data2 = {{#if: {{{ex image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{ex image|}}}|size={{{ex image size|}}}}}<div style="text-align:center">{{{ex image cap|}}}</div>}}
<!--- flag, seal and logo ---->
| class3 = maptable
| data3 = {{#if:{{{flag|}}}{{{seal|}}}{{{logo|}}}|
<table style="width:100%; background:none">
<tr>{{#if:{{{flag|}}}
|<td style="vertical-align:middle;text-align:center">[[Berkas:{{{flag}}}|{{{flag size|100}}}px|{{yesno |{{{flag border|}}}|yes=border|blank=border}}|Flag of {{{county}}}, {{{state}}}]]<br /><small>'''{{Infobox settlement/link|type=Bendera|link={{{flag_link|{{{flag wl|}}}}}}|name={{{official_name}}}}}'''</small></td>
}}{{#if: {{{seal|}}}
|<td style="vertical-align:middle;text-align:center">[[Berkas:{{{seal}}}|{{{seal size|75}}}px|Seal of {{{county}}}, {{{state}}}]]<br /><small>'''{{Infobox settlement/link|type=Seal|link={{{seal_link|{{{seal wl|}}}}}}|name={{{official_name}}}}}'''</small></td>
}}{{#if:{{{logo|}}}|{{#if:{{both|{{{flag|}}}|{{{seal|}}}}}
|</tr><tr><td colspan=2 style="vertical-align:middle;text-align:center">
|<td style="vertical-align:middle;text-align:center">
}}[[Berkas:{{{logo}}}|{{{logo size|100}}}px|Logo {{{county}}}, {{{state}}}]]<br /><small>'''Logo'''</small></td>
}}</tr></table>
}}
| rowclass4 = mergedrow
| data4 = {{#if: {{{nickname|}}}|Julukan: {{{nickname}}} }}
| rowclass5 = mergedrow
| data5 = {{#if: {{{motto|}}}|Motto: {{{motto}}} }}
| rowclass6 = mergedrow
| data6 = {{#invoke:InfoboxImage|InfoboxImage
| image = Map of {{{state}}} highlighting {{{county}}}.svg
| size = {{#switch:{{{state}}}|New Hampshire=110|Alabama|Delaware|Mississippi|New Jersey|Vermont=120|Idaho|Illinois|Indiana|Maine|Nevada=130|Ohio=180|200}}px
| alt = Map of {{{state}}} highlighting {{{county}}}
}}<br><small>Lokasi di negara bagian {{#switch:{{{state}}}
| Georgia = [[Georgia (negara bagian)|Georgia]]
| Washington = [[Washington]]
| New York = [[New York]]
| [[{{{state}}}]]}}</small>
| rowclass7 = mergedbottomrow
| data7 = {{#invoke:InfoboxImage|InfoboxImage|image={{Infobox U.S. county/map|state={{{state}}}}}|size=200px|alt=Map of the United States highlighting {{{state}}}}}<br><small>Lokasi negara bagian {{{state}}} di [[Amerika Serikat]]</small>
| rowclass8 =
| label8 = {{#if:{{{founded title|}}}|{{{founded title|}}}|Didirikan}}
| data8 = {{#if:{{{founded|}}}
|{{{founded}}}<!-- old way, use "founded". new way: use date, year (and automatically create links-->
|{{#if:{{{founded date|}}}
|{{{founded date}}}{{#if:{{{founded year|}}}| {{{founded year}}} }}
|{{{founded year|}}}
}}
}}
| rowclass9 = mergedrow
| label9 = Asal nama
| data9 = {{{named for|}}}
| rowclass10 = mergedtoprow
| label10 = Pemerintah<br />• {{#if:{{{leader name|}}}|{{{leader type}}}|}}
| data10 =
{{#if: {{{leader name|}}}<!-- OLD WAY -->
|<br />{{{leader name}}}
|{{#if: {{{leader type wl|}}}<!-- NEW WAY -->
|{{#ifeq: {{{leader type wl}}}|{{{leader wl}}}
|{{{leader type wl}}}
|[[{{{leader name}}}|{{{leader type wl}}}]]
}}
}}
}}
| rowclass11 =
| label11 = [[County seat|{{#ifeq:{{{state}}}|Vermont|Shire Town|Seat}}]]
| data11 = {{#if:{{{seat|}}}
|{{{seat}}}<!-- use old way and new way -->
|{{#if:{{{seat wl|}}}
|[[{{{seat wl}}}, {{{state}}}|{{{seat wl}}}]]
}}
}}
| rowclass12 = mergedbottomrow
| label12 = {{#if:{{{city type|}}}|{{{city type}}}|Kota}} terbesar
| data12 =
{{#if: {{{largest city|}}}<!-- OLD WAY -->
|{{{largest city}}}
|{{#if: {{{largest city wl|}}}<!-- NEW WAY -->
|{{#ifeq: {{{largest city wl}}}|{{{seat wl}}}
|{{{largest city wl}}}
|[[{{{largest city wl}}}, {{{state}}}|{{{largest city wl}}}]]
}}
}}
}}
| rowclass13 = mergedtoprow
| label13 = Wilayah
| data13 = {{#if:{{{area_total_sq_mi|}}}{{{area_total_km2|}}}{{{area_land_sq_mi|}}}{{{area_land_km2|}}}{{{area_water_sq_mi|}}}{{{area_water_km2|}}}|<nowiki />}}
| rowclass14 = mergedrow
| label14 = • Keseluruhan
| data14 =
{{#if:{{{area_total_sq_mi|}}}
|{{#if:{{{area_total_km2|}}}
|{{formatnum:{{{area_total_sq_mi}}}}} sq mi ({{formatnum:{{{area_total_km2}}}}} km<sup>2</sup>)
|{{convert|{{{area_total_sq_mi}}}|sqmi|km2|0|abbr=on}}
}}
|{{#if:{{{area_total_km2|}}}
|{{convert|{{{area_total_km2}}}|km2|sqmi|0|abbr=on|order=flip}}
}}
}}
| rowclass15 = mergedrow
| label15 = • Daratan
| data15 =
{{#if:{{{area_land_sq_mi|}}}
|{{#if:{{{area_land_km2|}}}
|{{formatnum:{{{area_land_sq_mi}}}}} sq mi ({{formatnum:{{{area_land_km2}}}}} km<sup>2</sup>)
|{{convert|{{{area_land_sq_mi}}}|sqmi|km2|0|abbr=on}}
}}
|{{#if:{{{area_land_km2|}}}
|{{convert|{{{area_land_km2}}}|km2|sqmi|0|abbr=on|order=flip}}
}}
}}
| rowclass16 = mergedbottomrow
| label16 = • Perairan
| data16 =
{{#if:{{{area_water_sq_mi|}}}
|{{#if:{{{area_water_km2|}}}
|{{formatnum:{{{area_water_sq_mi}}}}} sq mi ({{formatnum:{{{area_water_km2}}}}} km<sup>2</sup>){{#if:{{{area percentage|}}}|, {{{area percentage}}}}}
|{{convert|{{{area_water_sq_mi}}}|sqmi|km2|0|abbr=on}}{{#if:{{{area percentage|}}}|, {{{area percentage}}}}}
}}
|{{#if:{{{area_water_km2|}}}
|{{convert|{{{area_water_km2}}}|km2|sqmi|0|abbr=on|order=flip}}{{#if:{{{area percentage|}}}|, {{{area percentage}}}}}
}}
}}
| rowclass17 = mergedtoprow
| label17 = Populasi{{#if:{{{census estimate yr|}}}| (est.)}}
| data17 = {{#if:{{{pop|}}}{{{density_sq_mi|}}}{{{density_km2|}}}|<nowiki />}}
| rowclass18 = mergedrow
| label18 = • {{#if: {{{census yr|}}}
|([[Sensus Amerika Serikat {{{census yr}}}|{{{census yr}}}]])
|{{#if: {{{census estimate yr|}}}
|([[Biro Sensus Amerika Serikat|{{{census estimate yr}}}]])
|Jumlah
}}
}}
| data18 = {{#if:{{{pop|}}}|{{formatnum:{{{pop}}}}}}}
| rowclass19 = mergedbottomrow
| label19 = • Kepadatan
| data19 = {{#if:{{{density_sq_mi|}}}
|{{formatnum:{{{density_sq_mi}}}}}/sq mi
|{{#if:{{{density_km2|}}}
|{{formatnum:{{#expr:{{{density_km2}}}* 2.589988110336 round 0}}}}/sq mi
}}
}} {{#if:{{{density_km2|}}}
|({{formatnum:{{{density_km2}}}}}/km²)
|{{#if:{{{density_sq_mi|}}}
|({{formatnum:{{#expr:{{{density_sq_mi}}}/ 2.589988110336 round 0}}}}/km²)
}}
}}
| rowclass20 = mergedtoprow
| label20 = [Demonim]]
| data20 = {{#if: {{{demonym|}}}|{{{demonym}}} }}
| rowclass21 = mergedtoprow
| label21 = [[Kode ZIP]]
| data21 = {{#if: {{{ZIP codes|}}}|{{{ZIP codes}}} }}
| rowclass22 = mergedtoprow
| label22 = [[Kode telepon|Kode area]]
| data22 = {{#if: {{{area codes|}}}|{{{area codes}}} }}
| rowclass23 =
| label23 = Distrik kongres{{#if:{{{district2|}}}{{{district3|}}}|s}}
| data23 = {{comma separated entries
| 1= {{Infobox U.S. county/district|district={{{district|}}}|state={{{state}}}}}
| 2= {{Infobox U.S. county/district|district={{{district2|}}}|state={{{state}}}}}
| 3= {{Infobox U.S. county/district|district={{{district3|}}}|state={{{state}}}}}
| 4= {{Infobox U.S. county/district|district={{{district4|}}}|state={{{state}}}}}
| 5= {{Infobox U.S. county/district|district={{{district5|}}}|state={{{state}}}}}
| 6= {{Infobox U.S. county/district|district={{{district6|}}}|state={{{state}}}}}
| 7= {{Infobox U.S. county/district|district={{{district7|}}}|state={{{state}}}}}
| 8= {{Infobox U.S. county/district|district={{{district8|}}}|state={{{state}}}}}
| 9= {{Infobox U.S. county/district|district={{{district9|}}}|state={{{state}}}}}
| 10= {{Infobox U.S. county/district|district={{{district10|}}}|state={{{state}}}}}
}}
| rowclass24 = mergedtoprow
| label24 = {{nowrap|[[Zona waktu di Amerika Serikat|Zona waktu]]{{#if:{{{time zone 2|}}}|s}}}}
| data24 = {{Infobox U.S. county/timezone
| state = {{{state|}}}
| time zone = {{#if:{{{time zone 1|}}}|{{{time zone 1}}}|{{{time zone|}}} }}
| UTC offset = {{#if:{{{UTC offset 1|}}}|{{{UTC offset 1}}}|{{{UTC offset|}}} }}
| DST offset = {{#if:{{{DST offset 1|}}}|{{{DST offset 1|}}}|{{{DST offset|}}} }}
| tz note = {{#if:{{{tz note 1|}}}|{{{tz note 1|}}}|{{{tz note|}}} }}
}}
| rowclass25 = mergedbottomrow
| label25 = <nowiki />
| data25 = {{#if:{{{time zone|}}}{{{time zone 1|}}}
|{{Infobox U.S. county/timezone
| state = {{{state|}}}
| time zone = {{{time zone 2|}}}
| UTC offset = {{{UTC offset 2|}}}
| DST offset = {{{DST offset 2|}}}
| tz note = {{{tz note 2|}}}
}} }}
| rowclass26 =
| label26 = Situs web
| data26 = {{#if:{{{web|}}}| {{url|1= {{{web}}} }} | {{{website|}}} }}
<!----- footnotes ----->
| belowstyle = text-align:left
| below = {{#if: {{{footnotes|}}}|<small>'''Catatan:''' {{{footnotes}}}</small>}}
}}
<!-- Add coordinates -->{{#if:{{both|{{{lat deg|}}}|{{{long deg|}}}}}| {{coord|{{{lat deg}}}|{{{lat min|0}}}|N|{{{long deg}}}|{{{long min|0}}}|W|type:adm2nd_region:US-{{StateAbbr|{{{state}}}}}|display=title}}
}}<noinclude>
{{documentation}}
</noinclude>
|