Jump to content

Template:US State HR Infobox: Difference between revisions

Updated template to support County and State locator maps
No edit summary
(Updated template to support County and State locator maps)
Line 23: Line 23:
|colspan="2" style="text-align:center"| Flag of {{{LOC_01}}}
|colspan="2" style="text-align:center"| Flag of {{{LOC_01}}}
|-
|-
{{#if: {{{loc_map|}}}|
{{#if: {{{loc_map|}}}|
{{!}} colspan="2" style="text-align:center" {{!}} [[Image:{{{loc_map|}}}|{{{loc_map size|220}}}px]]}}
{{!}} colspan="2" style="text-align:center" {{!}} [[Image:{{{loc_map|}}}|{{{loc_map size|220}}}px]]}}
|-
|-
|colspan="2" style="text-align:center"| Location of {{#if:{{{LOC_03|}}}|{{{LOC_03}}},  }}{{#if:{{{LOC_02|}}}|{{{LOC_02}}}{{#if:{{{LOC_02_type|}}}| {{{LOC_02_type}}}}},  }}{{{LOC_01}}}
{{#if: {{{loc_map|}}}|
{{!}} colspan="2" style="text-align:center" {{!}} Location of {{#if:{{{LOC_03|}}}|{{{LOC_03}}},  }}{{#if:{{{LOC_02|}}}|{{{LOC_02}}}{{#if:{{{LOC_02_type|}}}| {{{LOC_02_type}}}}},  }}{{{LOC_01}}} }}
|-
|-
|colspan="2" style="text-align:center" |{{{image|[[File:US Locator Blank.svg.png|220px]]}}}
{{#if: {{{state_loc_map|}}}|
{{!}} colspan="2" style="text-align:center" {{!}} [[Image:{{{state_loc_map|}}}|{{{state_loc_map size|220}}}px]]}}
|-
|colspan="2" style="text-align:center"| Location of {{{LOC_01}}}
|-
|-
|colspan="2" style="text-align:center; background: #D9D9D4; font-size:14pt"|'''Record Description'''  
|colspan="2" style="text-align:center; background: #D9D9D4; font-size:14pt"|'''Record Description'''  
Line 40: Line 43:
| style="vertical-align:top"| {{{start_year}}}{{#if:{{{end_year|}}}|-{{{end_year}}} }}
| style="vertical-align:top"| {{{start_year}}}{{#if:{{{end_year|}}}|-{{{end_year}}} }}
|-
|-
<!--FamilySearch resources section----------------------------------------------------------------------------------------->
<!--FamilySearch resources section----------------------------------------------------------------------------------------->
|-
{{!}}-
{{#if:{{Ifempty|{{{FS_URL_01|}}}|{{{FS_URL_02|}}}|{{{FS_URL_03|}}}|{{{FS_URL_04|}}}|{{{FS_URL_05|}}}|{{{FS_URL_06|}}}|{{{FS_URL_07|}}}|{{{FS_URL_08|}}}|{{{FS_URL_09|}}}|{{{FS_URL_10|}}} }} |
{{#if:{{Ifempty|{{{FS_URL_01|}}}|{{{FS_URL_02|}}}|{{{FS_URL_03|}}}|{{{FS_URL_04|}}}|{{{FS_URL_05|}}}|{{{FS_URL_06|}}}|{{{FS_URL_07|}}}|{{{FS_URL_08|}}}|{{{FS_URL_09|}}}|{{{FS_URL_10|}}} }} |
{{!}}colspan="2" style="text-align:center; background: #D9D9D4; font-size:14pt"{{!}}'''FamilySearch Resources'''|}}
{{!}}colspan="2" style="text-align:center; background: #D9D9D4; font-size:14pt"{{!}}'''FamilySearch Resources'''|}}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_01|}}}| *{{{FS_URL_01}}} }}
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_01|}}}| *{{{FS_URL_01}}} }}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_02|}}}| *{{{FS_URL_02}}} }}
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_02|}}}| *{{{FS_URL_02}}} }}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_03|}}}| *{{{FS_URL_03}}} }}
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_03|}}}| *{{{FS_URL_03}}} }}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_04|}}}| *{{{FS_URL_04}}} }}
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_04|}}}| *{{{FS_URL_04}}} }}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_05|}}}| *{{{FS_URL_05}}} }}
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_05|}}}| *{{{FS_URL_05}}} }}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_06|}}}| *{{{FS_URL_06}}} }}
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_06|}}}| *{{{FS_URL_06}}} }}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_07|}}}| *{{{FS_URL_07}}} }}
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_07|}}}| *{{{FS_URL_07}}} }}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_08|}}}| *{{{FS_URL_08}}} }}
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_08|}}}| *{{{FS_URL_08}}} }}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_09|}}}| *{{{FS_URL_09}}} }}
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_09|}}}| *{{{FS_URL_09}}} }}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_10|}}}| *{{{FS_URL_10}}} }}  
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{FS_URL_10|}}}| *{{{FS_URL_10}}} }}  
<!--related websites section--------------------------------------------------------------------------------------->
<!--related websites section--------------------------------------------------------------------------------------->
|-
{{!}}-
{{#if:{{Ifempty|{{{RW_URL_01|}}}|{{{RW_URL_02|}}}|{{{RW_URL_03|}}}|{{{RW_URL_04|}}}|{{{RW_URL_05|}}} }} |
{{#if:{{Ifempty|{{{RW_URL_01|}}}|{{{RW_URL_02|}}}|{{{RW_URL_03|}}}|{{{RW_URL_04|}}}|{{{RW_URL_05|}}} }} |
{{!}}colspan="2" style="text-align:center; background: #D9D9D4; font-size:14pt"{{!}}'''Related Websites'''|}}
{{!}}colspan="2" style="text-align:center; background: #D9D9D4; font-size:14pt"{{!}}'''Related Websites'''|}}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{RW_URL_01|}}}| *{{{RW_URL_01}}} }}
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{RW_URL_01|}}}| *{{{RW_URL_01}}} }}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{RW_URL_02|}}}| *{{{RW_URL_02}}} }}
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{RW_URL_02|}}}| *{{{RW_URL_02}}} }}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{RW_URL_03|}}}| *{{{RW_URL_03}}} }}
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{RW_URL_03|}}}| *{{{RW_URL_03}}} }}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{RW_URL_04|}}}| *{{{RW_URL_04}}} }}
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{RW_URL_04|}}}| *{{{RW_URL_04}}} }}
|-
{{!}}-
|colspan="2" style="vertical-align:top"| {{#if:{{{RW_URL_05|}}}| *{{{RW_URL_05}}} }}  
{{!}}colspan="2" style="vertical-align:top"| {{#if:{{{RW_URL_05|}}}| *{{{RW_URL_05}}} }}  
<!--archive section---------------------------------------------------------------------------------------------->
<!--archive section---------------------------------------------------------------------------------------------->
|-
|-