Template:Infobox Canada: Difference between revisions

From FamilySearch Wiki
m (Created page with "<includeonly>{{#if:{{{latd|}}}| {{#if:{{{longd|}}}| {{coord|{{{latd}}}|{{{latm|0}}}|N|{{{longd}}}|{{{longm|0}}}|W|type:adm2nd_region:US-{{StateAbbr|{{{state}}}}}|display=title}} ...")
 
 
(14 intermediate revisions by 4 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>{{#if:{{{latd|}}}| {{#if:{{{longd|}}}| {{coord|{{{latd}}}|{{{latm|0}}}|N|{{{longd}}}|{{{longm|0}}}|W|type:adm2nd_region:US-{{ProvinceAbbr|{{{province}}}}}|display=title}} }} }}
{| 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;"
|-
|-
| 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">{{{province}}}</span></span>'''
|-
|-
{{#if: {{{digital collection|}}}|
{{#if: {{{digital collection|}}}|
Line 8: Line 8:
|-
|-
{{#if: {{{seal|}}}|
{{#if: {{{seal|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{seal|}}}|{{{seal size|75}}}px|Seal of {{{county|}}}, {{{state|}}}]]}}
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{seal|}}}|{{{seal size|75}}}px|Seal of {{{county|}}}, {{{province|}}}]]}}
|-
|-
|colspan="2" style="text-align: center; background:#E0E0E0; "| '''Map'''
|colspan="2" style="text-align: center; background:#E0E0E0; "| '''Map'''
|-
|-
{{#if: {{{boundary_map|}}}|
{{#if: {{{boundary_map|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{boundary_map|}}}|{{{boundary_map_size|200}}}px|Boundary map of {{{county|}}}, {{{state|}}}]]}}
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{boundary_map|}}}|{{{boundary_map_size|200}}}px|Boundary map of {{{county|}}}, {{{province|}}}]]}}
|-
|-
{{#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:{{{province}}}|Alberta =120px|British Columbia =120px|Manitoba=130px|New Brunswick=120px|Newfoundland and Labrador=110px|Northwest Territories=130px|Nova Scotia=120px|Nunavut=120px|Ontario=150px|Prince Edward Island=130px|Quebec=130px|Saskatchewan=130px|200px|Yukon=120px}}|Map of {{{province|}}} highlighting {{{county|}}} ]]<br>Location in the province of {{#switch:{{{county}}}  
| Georgia = [[Georgia (state)|Georgia]]
| Ontarion = [[Ontario|Ontario]]
| [[{{{state|}}}]]}} }}
| [[{{{province|}}}]]}} }}
|-  
|-  
{{#if: {{{state_map|}}}|
{{#if: {{{province_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:{{{province_map}}}{{!}} Map of Canada highlighting {{{province}}}{{!}}200px{{!}}Map of Canada highlighting {{{province}}}]]<br>Location of {{{province}}} in [[Canada Genealogy|Canada]]}}
|-
|-
| 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;"| County Seat<!-- use old way and new way -->
!style="background:#efefef;"| County<!-- 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}}}, {{{province}}}{{!}}{{{seat wl}}}]]}} }}
|-
 
| colspan="2" style="text-align: center; background:#E0E0E0;" | '''Courthouse'''
|-
|-
{{#if: {{{building image|}}}|
{{#if: {{{building image|}}}|
Line 62: Line 61:
{{#if: {{{flag|}}}|
{{#if: {{{flag|}}}|
! style="background:#E0E0E0; border-top: solid 1px #ccd2d9;" {{!}} County flag
! style="background:#E0E0E0; border-top: solid 1px #ccd2d9;" {{!}} County flag
{{!}} style="background:#E0E0E0;" {{!}} [[Image:{{{flag|}}}|{{{flag size|100}}}px|Flag of {{{county|}}}, {{{state|}}}]]}}
{{!}} style="background:#E0E0E0;" {{!}} [[Image:{{{flag|}}}|{{{flag size|100}}}px|Flag of {{{county|}}}, {{{province|}}}]]}}
|-
|-
{{#if: {{{logo|}}}|
{{#if: {{{logo|}}}|
! style="background:#E0E0E0; border-top: solid 1px #ccd2d9;" {{!}} County logo
! style="background:#E0E0E0; border-top: solid 1px #ccd2d9;" {{!}} County logo
{{!}} style="background:#E0E0E0;" {{!}} [[Image:{{{logo|}}}|{{{logo size|100}}}px|Logo of {{{county|}}}, {{{state|}}}]]}}
{{!}} style="background:#E0E0E0;" {{!}} [[Image:{{{logo|}}}|{{{logo size|100}}}px|Logo of {{{county|}}}, {{{province|}}}]]}}
|-
|-
{{#if: {{{ex image|}}}|
{{#if: {{{ex image|}}}|
Line 77: Line 76:
{{#if: {{{footnotes|}}} |
{{#if: {{{footnotes|}}} |
{{!}} 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 provinces-->{{#switch:{{{province}}}
| Alaska={{{category|[[Category:Alaska boroughs]]}}}
| Alaska={{{category|[[Category:Alaska Boroughs]]}}}
| Georgia={{{category|[[Category:Georgia (state) counties]]}}}
| Georgia={{{category|[[Category:Georgia (province) counties]]}}}
| Louisiana={{{category|[[Category:Louisiana parishes]]}}}
| Louisiana={{{category|[[Category:Louisiana parishes]]}}}
| {{namespace detect | main  = {{{category|[[Category:{{{state}}} counties]]}}} | other = }}
| {{namespace detect | main  = {{{category|[[Category:{{{province}}} Cities and Towns]]}}} | other = }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>


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

Latest revision as of 15:32, 11 December 2015


[create] Documentation icon Template documentation