Template:US county navigation box: Difference between revisions
(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 = {{#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
| ||||||||||||||||||
| The above documentation is transcluded from Template:US county navigation box/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. |