Template:US county navigation box: Difference between revisions

From FamilySearch Wiki
(add if statement to hide code for image if not defined)
(change test string)
Line 11: Line 11:
|abovestyle = text-align: center; {{#if:{{{color|}}}|background:{{{color}}};}}{{#if:{{{text_color|}}}|color:{{{text_color}}};}}
|abovestyle = text-align: center; {{#if:{{{color|}}}|background:{{{color}}};}}{{#if:{{{text_color|}}}|color:{{{text_color}}};}}


|image = {{#if: {{{image|}}} | [[Image:{{{map_image|}}}|{{#if:{{{map_size|}}}|{{{map_size|}}}px|180px}}|center|{{{map_caption|{{{county|County/Parish}}} map}}}]] |}}
|image = {{#if: {{{map_image|}}} | [[Image:{{{map_image|}}}|{{#if:{{{map_size|}}}|{{{map_size|}}}px|180px}}|center|{{{map_caption|{{{county|County/Parish}}} map}}}]] |}}
|titleclass=adr
|titleclass=adr
|title = Municipalities and communities of<br clear=left><span class="region" style="font-size:110%; font-weight:bold;">[[{{{county}}}, {{{state}}}|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>{{{county}}}</span>]], [[{{#switch:{{{state}}}
|title = Municipalities and communities of<br clear=left><span class="region" style="font-size:110%; font-weight:bold;">[[{{{county}}}, {{{state}}}|<span {{#if:{{{text_color|}}}|style="color:{{{text_color}}}"}}>{{{county}}}</span>]], [[{{#switch:{{{state}}}

Revision as of 23:40, 11 October 2011

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