Template:Infobox lore town: Difference between revisions

aw>Rikke
Infobox for towns
 
aw>Rikke
Tidying up
Line 8: Line 8:


| image    = {{{image|}}}
| image    = {{{image|}}}
| caption  = {{{caption|}}}


| data1    = <div style="padding-top: 5px;">{{#if: {{{map_image|}}} | <hr />{{{map_image|}}}{{#if: {{{map_caption|}}} | <br />{{{map_caption|}}} }}}}</div>
| data1    = <div style="padding-top: 5px;">{{#if: {{{map_image|}}} | <hr />{{{map_image|}}}{{#if: {{{map_caption|}}} | <br />{{{map_caption|}}} }}}}</div>


| header2  = {{#if: {{{nickname|}}}{{{largest_city|}}} | <hr />}}
| header2  = {{#if: {{{nickname|}}}{{{motto|}}} | <hr />}}
| data3    = {{#if: {{{nickname|}}} | Nickname: {{{nickname|}}} }}
| data3    = {{#if: {{{nickname|}}} | Nickname: {{{nickname|}}} }}
| data4    = {{#if: {{{motto|}}} | Motto(s): {{{motto|}}} }}
| data4    = {{#if: {{{motto|}}} | Motto(s): {{{motto|}}} }}
Line 24: Line 25:
| label9  = First mentioned
| label9  = First mentioned
| data9    = {{{mention|}}}
| data9    = {{{mention|}}}
| header10 = {{#if: {{{population|}}}{{{area|}}}| <hr />}}
| header10 = {{#if: {{{population|}}}{{{area|}}}{{{ethnicity_list|}}}{{{timezone|}}}{{{coordinates|}}}| <hr />}}
| label11  = Population
| label11  = Population
| data11  = {{{population|}}}
| data11  = {{#if: {{{ethnicity_list|}}}{{{timezone|}}} | {{#if: {{{population|}}} | {{{population|}}} | &nbsp;}}}}
| label12  = &nbsp;&nbsp;• Ethnicities
| label12  = &nbsp;&nbsp;• Ethnicities
| data12  = {{{ethnicity_list|}}}
| data12  = {{{ethnicity_list|}}}