Template:Infobox lore town: Difference between revisions
aw>Rikke m Visual fix #1 |
m 13 revisions imported: Bringing in some custom made templates from the old wiki |
||
(10 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| titlestyle = text-align:center; background-color: {{#if: {{{titlecolor|}}} | {{{titlecolor|}}} | #ccf2b3}}; border-style: ridge; line-height: | | titlestyle = text-align:center; background-color: {{#if: {{{titlecolor|}}} | {{{titlecolor|}}} | #ccf2b3}}; border-style: ridge; line-height: 130%; | ||
| title = {{#if: {{{name|}}} |{{{name|}}} | {{PAGENAME}}}}{{#if: {{{town_status|}}} |<hr style="background-color: {{#if: {{{bordercolor|}}} | {{{bordercolor|}}} | #add692}};"><small>{{{town_status|}}}</small> }} | | title = {{#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>}} | ||
| bodystyle = border-style: none ridge ridge ridge; border-color: #f0e4e4; border-width: 2px; line-height: 120%; | | bodystyle = border-style: none ridge ridge ridge; border-color: #f0e4e4; border-width: 2px; line-height: 120%; | ||
| headerstyle = line-height: 140%; | | headerstyle = line-height: 140%; text-align:center; | ||
| imagestyle = text-align:center; | |||
| captionstyle = text-align:center; | |||
| | | image1 = <div style="padding: 5px 0px 5px 0px; text-align: center;">{{{image|}}}</div> | ||
| | | caption1 = {{{caption|}}} | ||
| data1 = | | 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 = {{#if: {{{nickname|}}}{{{motto|}}} | <hr />}} | | header2 = {{#if: {{{nickname|}}}{{{motto|}}} | <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 = {{#if: | <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | #d4f5bf}};">Background</div>}} | | header5 = {{#if: | <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | #d4f5bf}};">Background</div>}} | ||
Line 39: | Line 41: | ||
| header16 = {{#if: {{{position1|}}}{{{position2|}}}{{{position3|}}}| <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | #d4f5bf}};">Government</div>}} | | header16 = {{#if: {{{position1|}}}{{{position2|}}}{{{position3|}}}| <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | #d4f5bf}};">Government</div>}} | ||
| data17 = {{#if: {{{election|}}} | As of {{{election||}}} }} | | data17 = {{#if: {{{election|}}} | As of {{{election||}}} }} | ||
| label18 = <div style="font-weight:normal; font-size:95%;"> | | label18 = <div style="font-weight:normal; font-size:95%;">{{{position1|}}}</div> | ||
| data18 = {{#if: {{{position1|}}} | {{{leader1|}}} }} | | data18 = {{#if: {{{position1|}}} | {{{leader1|}}} }} | ||
| label19 = <div style="font-weight:normal; font-size:95%;"> | | label19 = <div style="font-weight:normal; font-size:95%;">{{{position2|}}}</div> | ||
| data19 = {{#if: {{{position2|}}} | {{{leader2|}}} }} | | data19 = {{#if: {{{position2|}}} | {{{leader2|}}} }} | ||
| label20 = <div style="font-weight:normal; font-size:95%;"> | | label20 = <div style="font-weight:normal; font-size:95%;">{{{position3|}}}</div> | ||
| data20 = {{#if: {{{position3|}}} | {{{leader3|}}} }} | | data20 = {{#if: {{{position3|}}} | {{{leader3|}}} }} | ||