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

From FamilySearch Wiki
Jump to: navigation, search
(add {{{building image cap}}})
(delete U.S. infront of George (state))
(9 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|-
 
|-
 
| colspan="2" style="text-align: center; font-size: larger;" | '''<span class="fn org">{{{county}}}</span>, <span class="adr"><span class="region">{{{state}}}</span></span>'''
 
| colspan="2" style="text-align: center; font-size: larger;" | '''<span class="fn org">{{{county}}}</span>, <span class="adr"><span class="region">{{{state}}}</span></span>'''
 +
|-
 +
{{#if: {{{digital collection|}}}|
 +
{{!}} colspan="2" style="text-align: center;" {{!}} {{{digital collection|}}} }}
 
|-
 
|-
 
{{#if: {{{seal|}}}|
 
{{#if: {{{seal|}}}|
Line 14: 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 (state)|Georgia]]
 
| [[{{{state|}}}]]}} }}
 
| [[{{{state|}}}]]}} }}
 
|-  
 
|-  
Line 26: Line 29:
 
| {{#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;" {{!}} {{{parent county title|Parent County}}}
 +
{{!}} {{{parent county}}} }}
 
|-
 
|-
 
{{#if: {{{motto|}}}|<!-- OLD WAY -->
 
{{#if: {{{motto|}}}|<!-- OLD WAY -->
Line 31: 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 45: Line 52:
 
|-
 
|-
 
{{#if: {{{web|}}}|
 
{{#if: {{{web|}}}|
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} '''Website:''' <span class="url">[http://{{{web|}}} {{{web|}}}]</span>}}
+
{{!}} colspan="2" style="text-align: left; border-top: solid 1px #ccd2d9;" {{!}} '''Website:''' <span class="url">{{URL|{{{web|}}}}}</span>}}
 
|- class="note"
 
|- class="note"
 
{{#if: {{{named for|}}}|
 
{{#if: {{{named for|}}}|
Line 62: Line 69:
 
|-
 
|-
 
{{#if: {{{ex image|}}}|
 
{{#if: {{{ex image|}}}|
{{!}} colspan="2" {{!}} [[Image:{{{ex image}}}|center|{{{ex image size|200}}}px]]<small>{{{ex image cap|}}}</small> }}
+
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{ex image}}}|center|{{{ex image size|200}}}px]]<small>{{{ex image cap|}}}</small> }}
 
|-  
 
|-  
 
{{#if: {{{adoption_sign|}}}|
 
{{#if: {{{adoption_sign|}}}|
Line 71: 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:Alaska boroughs]]
+
| Alaska={{{category|[[Category:Alaska boroughs]]}}}
| Georgia=[[Category:Georgia (U.S. state) counties]]
+
| Georgia={{{category|[[Category:Georgia (state) counties]]}}}
| Louisiana=[[Category:Louisiana parishes]]
+
| Louisiana={{{category|[[Category:Louisiana parishes]]}}}
| Washington=[[Category:Washington (U.S. state) counties]]
+
| {{namespace detect | main  = {{{category|[[Category:{{{state}}} counties]]}}} | other = }}
| {{namespace detect | main  = [[Category:{{{state}}} counties]] | other = }}
 
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 17:51, 24 May 2013


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