Difference between revisions of "Template:Infobox U.S. County"

From FamilySearch Wiki
Jump to: navigation, search
m (fix)
 
(28 intermediate revisions by 8 users not shown)
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}} }} }}
+
<includeonly>
 
{| 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;"
 
{| 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;"
 
|-
 
|-
Line 17: Line 17:
 
{{#if: {{{county_map|}}}|
 
{{#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}}}  
 
{{!}} 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 (U.S. state)|Georgia]]
+
| Georgia = [[Georgia Genealogy (state)|Georgia]]
 
| [[{{{state|}}}]]}} }}
 
| [[{{{state|}}}]]}} }}
 
|-  
 
|-  
 
{{#if: {{{state_map|}}}|
 
{{#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|U.S.]]}}
+
{{!}} 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'''
 
| colspan="2" style="text-align: center; background:#E0E0E0;" | '''Facts'''
Line 38: Line 38:
 
{{!}} {{{motto}}} }}
 
{{!}} {{{motto}}} }}
 
|-
 
|-
!style="background:#efefef;"| Seat<!-- use old way and new way -->
+
!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}}}]]}} }}
Line 58: Line 58:
 
|-
 
|-
 
{{#if: {{{named for image|}}}|
 
{{#if: {{{named for image|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{named for image}}}|center|{{{named for image size|200}}}px]]}}
+
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{named for image}}}|center|{{{named for image size|100}}}px]]}}
 
|-
 
|-
 
{{#if: {{{flag|}}}|
 
{{#if: {{{flag|}}}|
Line 78: Line 78:
 
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} <small>{{{footnotes|}}}</small> }}
 
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} <small>{{{footnotes|}}}</small> }}
 
|}<!--Add the category automatically, except for some states-->{{#switch:{{{state}}}
 
|}<!--Add the category automatically, except for some states-->{{#switch:{{{state}}}
| Alaska={{{category|[[Category:Alaska boroughs]]}}}
+
| Alaska={{{category|[[Category:Alaska Boroughs]]}}}
| Georgia={{{category|[[Category:Georgia (U.S. state) counties]]}}}
+
| Georgia={{{category|[[Category:Georgia (State) Counties]]}}}
| Louisiana={{{category|[[Category:Louisiana parishes]]}}}
+
| Louisiana={{{category|[[Category:Louisiana Parishes]]}}}
| Washington={{{category|[[Category:Washington (U.S. state) counties]]}}}
+
| {{namespace detect | main  = {{{category|[[Category:{{{state}}} Counties]]}}} | other = }}
| {{namespace detect | main  = {{{category|[[Category:{{{state}}} counties]]}}} | other = }}
+
}}</includeonly>
}}</includeonly><noinclude>
 
  
{{documentation}}
+
<noinclude>{{documentation}}</noinclude>
</noinclude>
 

Latest revision as of 18:10, 30 July 2016


[view] [edit] [history] [purge] Documentation icon Template documentation