Template:Infobox lore town: Difference between revisions
Improved style for A3W (color pending), made population field better |
m Removed test cases Tags: Mobile edit Mobile web edit |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
| autoheaders = y | | autoheaders = y | ||
| abovestyle = text-align: center | | abovestyle = text-align: center; | ||
| aboveclass = town-infobox-above | | aboveclass = town-infobox-above | ||
| above = {{#if: {{{name|}}} |{{{name|}}} | {{PAGENAME}}}}{{#if: {{{town_status|}}} |<hr style="background-color: {{#if: {{{bordercolor|}}} | {{{bordercolor|}}} | #add692}};"><small>{{{town_status|}}}</small> }} | | 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; | | headerstyle = line-height: 140%; text-align:center; {{#if: {{{headercolor|}}} | {{{headercolor|}}} |}} | ||
| imagestyle = text-align:center; | | imagestyle = text-align:center; | ||
| captionstyle = text-align:center; | | captionstyle = text-align:center; | ||
Line 21: | Line 21: | ||
| data4 = {{#if: {{{motto|}}} | <div style="text-align: center;">Motto(s): {{{motto|}}}</div>}} | | data4 = {{#if: {{{motto|}}} | <div style="text-align: center;">Motto(s): {{{motto|}}}</div>}} | ||
| header5 = | | header5 = Background | ||
| label6 = Country | | label6 = Country | ||
| data6 = {{{country|}}} | | data6 = {{{country|}}} | ||
Line 34: | Line 34: | ||
| data11 = {{{population|}}} | | data11 = {{{population|}}} | ||
| label12 = • Ethnicities | | label12 = • Ethnicities | ||
| data12 = {{{ethnicity_list|}}} | | data12 = {{{ethnicity_list|}}} | ||
| label13 = • Timezone | | label13 = • Timezone | ||
| data13 = {{{timezone|}}} | | data13 = {{{timezone|}}} | ||
| label14 = Area | | label14 = Area | ||
| data14 = {{{area|}}} | | data14 = {{{area|}}} | ||
Line 42: | 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 51: | 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|}}} }} |