Template:Infobox lore town: Difference between revisions
aw>Rikke m Visual fix #9 |
m Removed test cases Tags: Mobile edit Mobile web edit |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| | | bodystyle = border: 2px outset var(--background-color-disabled-subtle); border-radius: 5px; background-color: var(--background-color-neutral-subtle); color: var(--base-color); | ||
| | | autoheaders = y | ||
| abovestyle = text-align: center; | |||
| aboveclass = town-infobox-above | |||
| above = {{#if: {{{name|}}} |{{{name|}}} | {{PAGENAME}}}}{{#if: {{{town_status|}}} |<hr style="background-color: {{#if: {{{bordercolor|}}} | {{{bordercolor|}}} | #add692}};"><small>{{{town_status|}}}</small> }} | |||
| subheaderstyle = font-size:110%; text-align:center; | | subheaderstyle = font-size:110%; text-align:center; | ||
| subheader = {{{native_name|}}}{{#if: {{{year_end|}}}| {{#if: {{{native_name|}}}|<br />}}<small>{{{year_start|}}} – {{{year_end|}}}</small>}} | | subheader = {{{native_name|}}}{{#if: {{{year_end|}}}| {{#if: {{{native_name|}}}|<br />}}<small>{{{year_start|}}} – {{{year_end|}}}</small>}} | ||
| | | headerstyle = line-height: 140%; text-align:center; {{#if: {{{headercolor|}}} | {{{headercolor|}}} |}} | ||
| | | imagestyle = text-align:center; | ||
| captionstyle = text-align:center; | |||
| image1 = {{{image|}}} | | image1 = <div style="padding: 5px 0px 5px 0px; text-align: center;">{{{image|}}}</div> | ||
| caption1 = {{{caption|}}} | | caption1 = {{{caption|}}} | ||
| data1 = {{#if: {{{map_image|}}} | <hr /><div style="padding: 10px 0px 2px 0px;">{{{map_image|}}}</div>{{#if: {{{map_caption|}}} | <br />{{{map_caption|}}} }}}} | | data1 = {{#if: {{{map_image|}}} | <hr /><div style="padding: 10px 0px 2px 0px; text-align: center;">{{{map_image|}}}</div>{{#if: {{{map_caption|}}} | <br /><div style="text-align: center;">{{{map_caption|}}}</div>}}}} | ||
| header2 = | | header2 = <hr /> | ||
| data3 = {{#if: {{{nickname|}}} | Nickname: {{{nickname|}}} }} | | data3 = {{#if: {{{nickname|}}} | <div style="text-align: center;">Nickname: {{{nickname|}}}</div>}} | ||
| data4 = {{#if: {{{motto|}}} | Motto(s): {{{motto|}}} }} | | data4 = {{#if: {{{motto|}}} | <div style="text-align: center;">Motto(s): {{{motto|}}}</div>}} | ||
| header5 = | | header5 = Background | ||
| label6 = Country | | label6 = Country | ||
| data6 = {{{country|}}} | | data6 = {{{country|}}} | ||
Line 25: | Line 30: | ||
| label9 = First mentioned | | label9 = First mentioned | ||
| data9 = {{{mention|}}} | | data9 = {{{mention|}}} | ||
| header10 = | | header10 = <hr /> | ||
| label11 = Population | | label11 = Population | ||
| data11 = | | data11 = {{{population|}}} | ||
| label12 = • Ethnicities | | label12 = • Ethnicities | ||
| data12 = {{{ethnicity_list|}}} | | data12 = {{{ethnicity_list|}}} | ||
| label13 = • Timezone | | label13 = • Timezone | ||
| data13 = {{{timezone|}}} | | data13 = {{{timezone|}}} | ||
| label14 = Area | | label14 = Area | ||
Line 37: | Line 42: | ||
| data15 = {{{coordinates|}}} | | data15 = {{{coordinates|}}} | ||
| header16 = | | header16 = Government | ||
| data17 = {{#if: {{{election|}}} | As of {{{election||}}} }} | | data17 = {{#if: {{{election|}}} | As of {{{election||}}} }} | ||
| label18 = <div style="font-weight:normal; font-size:95%;">{{{position1|}}}</div> | | label18 = <div style="font-weight:normal; font-size:95%;">{{{position1|}}}</div> | ||
Line 46: | Line 51: | ||
| data20 = {{#if: {{{position3|}}} | {{{leader3|}}} }} | | data20 = {{#if: {{{position3|}}} | {{{leader3|}}} }} | ||
| header21 = | | header21 = History | ||
| label22 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event1|}}} | {{{event1|}}} }}</div> | | label22 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event1|}}} | {{{event1|}}} }}</div> | ||
| data22 = {{#if: {{{event1|}}} | {{{event_date1|}}} }} | | data22 = {{#if: {{{event1|}}} | {{{event_date1|}}} }} | ||
Line 65: | Line 70: | ||
| data30 = {{{successor|}}} | | data30 = {{{successor|}}} | ||
| header31 = | | header31 = <hr /> | ||
| data32 = {{#if: {{{partner_city1|}}}{{{partner_city2|}}}{{{partner_city3|}}}{{{partner_city4|}}}{{{partner_city5|}}}| <div style="text-align:left; font-weight:bold;">Partner cities</div>}} | | data32 = {{#if: {{{partner_city1|}}}{{{partner_city2|}}}{{{partner_city3|}}}{{{partner_city4|}}}{{{partner_city5|}}}| <div style="text-align:left; font-weight:bold;">Partner cities</div>}} | ||
| data33 = {{#if: {{{partner_city1|}}}| <div style="text-align:left; font-weight:bold;"> • {{{partner_city1|}}}</div>}} | | data33 = {{#if: {{{partner_city1|}}}| <div style="text-align:left; font-weight:bold;"> • {{{partner_city1|}}}</div>}} |