Template:Infobox U.S. Town: Difference between revisions

From FamilySearch Wiki
m (add code to make town_map optional)
m (fix #if)
Line 9: Line 9:
|-
|-
{{#if: {{{town_map|}}}|
{{#if: {{{town_map|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{town_map|}}}|200px|{{{town_map_desc|}}}]]
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{town_map|}}}|200px|{{{town_map_desc|}}}]]}}
|-
|-
|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}}}  

Revision as of 04:25, 14 November 2009


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