Template:Infobox U.S. County and Template:Infobox U.S. County/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
m (corrected re-direct)
 
No edit summary
 
Line 1: Line 1:
<includeonly>
{{#if:{{{latd|}}}| {{#if:{{{longd|}}}| {{coord|{{{latd}}}|{{{latm|0}}}|N|{{{longd}}}|{{{longm|0}}}|W|type:adm2nd_region:US-{{StateAbbr|{{{state}}}}}|display=title}} }} }} {{#if: {{{digital collection|}}}|
{| class="infobox vcard" cellpadding="3" style="width: 21em; font-size: 95%; text-align: left; clear:right; float:right; margin: 0 0 0.5em 1em; border: 1px solid #999; border-right-width: 2px; border-bottom-width: 2px;"
{{!}} colspan="2" style="text-align: center;" {{!}} {{{digital collection|}}} }}{{#if: {{{seal|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{seal|}}}|{{{seal size|75}}}px|Seal of {{{county|}}}, {{{state|}}}]]}}{{#if: {{{boundary_map|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{boundary_map|}}}|{{{boundary_map_size|200}}}px|Boundary map of {{{county|}}}, {{{state|}}}]]}}{{#if: {{{county_map|}}}|
{{!}} colspan="2" style="text-align: center;"{{!}} [[Image:{{{county_map}}}|{{#switch:{{{state}}}|New Jersey =120px|Vermont =120px|Maine=130px|Delaware=120px|New Hampshire=110px|Illinois=130px|Alabama=120px|Mississippi=120px|Ohio=180px|Indiana=130px|Nevada=130px|Idaho=130px|200px}}|Map of {{{state|}}} highlighting {{{county|}}} ]]<br>Location in the state of {{#switch:{{{state}}}
| Georgia = [[Georgia Genealogy (state)|Georgia]]
| [[{{{state|}}}]]}} }}{{#if: {{{state_map|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{state_map}}}{{!}} Map of the USA highlighting {{{state}}}{{!}}200px{{!}}Map of the U.S. highlighting {{{state}}}]]<br>Location of {{{state}}} in the [[United States Genealogy|U.S.]]}}{{#if: {{{parent county|}}}|
! style="background:#efefef;" {{!}} {{{parent county title|Parent County}}}
{{!}} {{{parent county}}} }}{{#if: {{{motto|}}}|<!-- OLD WAY -->
! style="background:#efefef" {{!}} Motto
{{!}} {{{motto}}} }}{{#if: {{{building image|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{building image}}}|center|{{{building image size|200}}}px]]<small>{{{building image cap|}}}</small>}}{{#if: {{{building address|}}}|
! style="background:#efefef" {{!}} Address
{{!}} {{{building address}}} }}{{#if: {{{web|}}}|
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} '''Website:''' <span class="url">{{URL|{{{web|}}}}}</span>}}{{#if: {{{named for|}}}|
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} '''Named for:''' {{{named for}}}}}{{#if: {{{named for image|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{named for image}}}|center|{{{named for image size|200}}}px]]}}{{#if: {{{flag|}}}|
! style="background:#E0E0E0; border-top: solid 1px #ccd2d9;" {{!}} County flag
{{!}} style="background:#E0E0E0;" {{!}} [[Image:{{{flag|}}}|{{{flag size|100}}}px|Flag of {{{county|}}}, {{{state|}}}]]}}{{#if: {{{logo|}}}|
! style="background:#E0E0E0; border-top: solid 1px #ccd2d9;" {{!}} County logo
{{!}} style="background:#E0E0E0;" {{!}} [[Image:{{{logo|}}}|{{{logo size|100}}}px|Logo of {{{county|}}}, {{{state|}}}]]}}{{#if: {{{ex image|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{ex image}}}|center|{{{ex image size|200}}}px]]<small>{{{ex image cap|}}}</small> }}{{#if: {{{adoption_sign|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} <center><div style="width:208px">{{ {{{adoption_sign|}}} |{{{custom_text|}}} }}</div></center>}}{{#if: {{{footnotes|}}} |
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} <small>{{{footnotes|}}}</small> }}
 
{| cellpadding="3" style="width: 21em; font-size: 95%; text-align: left; clear:right; float:right; margin: 0 0 0.5em 1em; border: 1px solid #999; border-right-width: 2px; border-bottom-width: 2px;" class="infobox vcard"
|-
|-
| colspan="2" style="text-align: center; font-size: larger;" | '''<span class="fn org">{{{county}}}</span>, <span class="adr"><span class="region">{{{state}}}</span></span>'''
| style="text-align: center; font-size: larger;" colspan="2" | '''<span class="fn org">{{{county}}}</span>, <span class="adr"><span class="region">{{{state}}}</span></span>'''
|-
|-
{{#if: {{{digital collection|}}}|
| style="text-align: center; background:#E0E0E0;" colspan="2" | '''Map'''
{{!}} colspan="2" style="text-align: center;" {{!}} {{{digital collection|}}} }}
|-
|-
{{#if: {{{seal|}}}|
| style="text-align: center; background:#E0E0E0;" colspan="2" | '''Facts'''
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{seal|}}}|{{{seal size|75}}}px|Seal of {{{county|}}}, {{{state|}}}]]}}
|-
|colspan="2" style="text-align: center; background:#E0E0E0; "| '''Map'''
|-
{{#if: {{{boundary_map|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{boundary_map|}}}|{{{boundary_map_size|200}}}px|Boundary map of {{{county|}}}, {{{state|}}}]]}}
|-
{{#if: {{{county_map|}}}|
{{!}} colspan="2" style="text-align: center;"{{!}} [[Image:{{{county_map}}}|{{#switch:{{{state}}}|New Jersey =120px|Vermont =120px|Maine=130px|Delaware=120px|New Hampshire=110px|Illinois=130px|Alabama=120px|Mississippi=120px|Ohio=180px|Indiana=130px|Nevada=130px|Idaho=130px|200px}}|Map of {{{state|}}} highlighting {{{county|}}} ]]<br>Location in the state of {{#switch:{{{state}}}
| Georgia = [[Georgia, United States Genealogy|Georgia]]
| [[{{{state|}}}]]}} }}
|-
{{#if: {{{state_map|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{state_map}}}{{!}} Map of the USA highlighting {{{state}}}{{!}}200px{{!}}Map of the U.S. highlighting {{{state}}}]]<br>Location of {{{state}}} in the [[United States Genealogy|U.S.]]}}
|-
| colspan="2" style="text-align: center; background:#E0E0E0;" | '''Facts'''
|- class="note"
|- class="note"
!style="background:#efefef;"| {{{founded title|Founded}}} <!-- old way, use "founded". new way: use date, year (and automatically create links-->
! style="background:#efefef;" | {{{founded title|Founded}}} <!-- old way, use "founded". new way: use date, year (and automatically create links-->  
| {{#if:{{{founded|}}}|{{{founded}}}
| {{#if:{{{founded|}}}|{{{founded}}}
| {{#if:{{{founded date|}}}| {{{founded date}}}, {{{founded year|}}}
| {{#if:{{{founded date|}}}| {{{founded date}}}, {{{founded year|}}}
| {{#if:{{{founded year|}}}| {{{founded year|}}} | ''information needed''}} }} }}
| {{#if:{{{founded year|}}}| {{{founded year|}}} | ''information needed''}} }} }}
|-
|-
{{#if: {{{parent county|}}}|
! style="background:#efefef;" | County Seat<!-- use old way and new way -->  
! style="background:#efefef;" {{!}} {{{parent county title|Parent County}}}
{{!}} {{{parent county}}} }}
|-
{{#if: {{{motto|}}}|<!-- OLD WAY -->
! style="background:#efefef" {{!}} Motto
{{!}} {{{motto}}} }}
|-
!style="background:#efefef;"| County Seat<!-- use old way and new way -->
| {{#if:{{{seat|}}}|{{{seat}}}
| {{#if:{{{seat|}}}|{{{seat}}}
| {{#if:{{{seat wl|}}}|[[{{{seat wl}}}, {{{state}}}{{!}}{{{seat wl}}}]]}} }}
| {{#if:{{{seat wl|}}}|[[{{{seat wl}}}, {{{state}}}{{!}}{{{seat wl}}}]]}} }}
|-
|-
| colspan="2" style="text-align: center; background:#E0E0E0;" | '''Courthouse'''
| style="text-align: center; background:#E0E0E0;" colspan="2" | '''Courthouse'''
|-
|}
{{#if: {{{building image|}}}|
 
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{building image}}}|center|{{{building image size|200}}}px]]<small>{{{building image cap|}}}</small>}}
<!--Add the category automatically, except for some states-->{{#switch:{{{state}}}
|-
{{#if: {{{building address|}}}|
! style="background:#efefef" {{!}} Address
{{!}} {{{building address}}} }}
|-
{{#if: {{{web|}}}|
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} '''Website:''' <span class="url">{{URL|{{{web|}}}}}</span>}}
|- class="note"
{{#if: {{{named for|}}}|
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} '''Named for:''' {{{named for}}}}}
|-
{{#if: {{{named for image|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{named for image}}}|center|{{{named for image size|100}}}px]]}}
|-
{{#if: {{{flag|}}}|
! style="background:#E0E0E0; border-top: solid 1px #ccd2d9;" {{!}} County flag
{{!}} style="background:#E0E0E0;" {{!}} [[Image:{{{flag|}}}|{{{flag size|100}}}px|Flag of {{{county|}}}, {{{state|}}}]]}}
|-
{{#if: {{{logo|}}}|
! style="background:#E0E0E0; border-top: solid 1px #ccd2d9;" {{!}} County logo
{{!}} style="background:#E0E0E0;" {{!}} [[Image:{{{logo|}}}|{{{logo size|100}}}px|Logo of {{{county|}}}, {{{state|}}}]]}}
|-
{{#if: {{{ex image|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{ex image}}}|center|{{{ex image size|200}}}px]]<small>{{{ex image cap|}}}</small> }}
|-
{{#if: {{{adoption_sign|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} <center><div style="width:208px">{{ {{{adoption_sign|}}} |{{{custom_text|}}} }}</div></center>}}
|-
<!----- footnotes ----->
{{#if: {{{footnotes|}}} |
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} <small>{{{footnotes|}}}</small> }}
|}<!--Add the category automatically, except for some states-->{{#switch:{{{state}}}
| Alaska={{{category|[[Category:Alaska Boroughs]]}}}
| Alaska={{{category|[[Category:Alaska Boroughs]]}}}
| Georgia={{{category|[[Category:Georgia (state) Counties]]}}}
| Georgia={{{category|[[Category:Georgia (state) Counties]]}}}
| Louisiana={{{category|[[Category:Louisiana Parishes]]}}}
| Louisiana={{{category|[[Category:Louisiana parishes]]}}}
| {{namespace detect | main  = {{{category|[[Category:{{{state}}} Counties]]}}} | other = }}
| {{namespace detect | main  = {{{category|[[Category:{{{state}}} counties]]}}} | other = }}
}}</includeonly>
}}


<noinclude>{{documentation}}[[Category:Infobox templates]]</noinclude>
<noinclude>[[Category:Infobox templates]]</noinclude>