Template:Infobox U.S. Town: Difference between revisions
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
The above documentation is transcluded from Template:Infobox U.S. Town/doc. (editEditors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |