Template:Infobox lore nation: Difference between revisions
aw>Rikke m Attempted fix #6 |
m 20 revisions imported: Bringing in some custom made templates from the old wiki |
||
(12 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| | | titlestyle = text-align:center; background-color: {{#if: {{{titlecolor|}}} | {{{titlecolor|}}} | #f0cfb1}}; border-style: ridge; line-height: 130%; | ||
| | | title = {{#if: {{{name|}}} |{{{name|}}} | {{PAGENAME}}}}{{#if: {{{nation_type|}}} |<hr style="background-color: {{#if: {{{bordercolor|}}} | {{{bordercolor|}}} | #d49c6a}};"><small>{{{nation_type|}}}</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%; | |||
| headerstyle = line-height: 140%; text-align:center; | |||
| imagestyle = text-align:center; | |||
| image = {{#if:{{both|{{{flag_image1|}}}{{{flag_image2|}}}|{{{symbol|}}}}}| | | image = {{#if:{{both|{{{flag_image1|}}}{{{flag_image2|}}}|{{{symbol|}}}}}| | ||
Line 9: | Line 12: | ||
<div style="display:table-cell; vertical-align:middle; padding-left:5px;"> | <div style="display:table-cell; vertical-align:middle; padding-left:5px;"> | ||
{{#if:{{{flag_image1|}}}|<div style="padding-bottom:3px;">{{{flag_image1|}}}</div>}}{{#if:{{{flag_image2|}}}|<div style="padding: 2px 0px 3px;">{{{flag_image2|}}}</div>}} | {{#if:{{{flag_image1|}}}|<div style="padding-bottom:3px;">{{{flag_image1|}}}</div>}}{{#if:{{{flag_image2|}}}|<div style="padding: 2px 0px 3px;">{{{flag_image2|}}}</div>}} | ||
<div>{{{caption1|}}}</div> | <div><small>{{{caption1|}}}</small></div> | ||
</div> | </div> | ||
<div style="display:table-cell; vertical-align:middle; padding: 0px 5px;"> | <div style="display:table-cell; vertical-align:middle; padding: 0px 5px 0px 15px;"> | ||
<div style="padding-bottom:3px;">{{{symbol|}}}</div> | <div style="padding-bottom:3px;">{{{symbol|}}}</div> | ||
<div>{{{caption2|}}}</div> | <div><small>{{{caption2|}}}</small></div> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 21: | Line 24: | ||
{{#if:{{{flag_image1|}}}|<div style="display:table-cell; vertical-align:middle; padding: 0px 5px 3px;">{{{flag_image1|}}}</div>}}{{#if:{{{flag_image2|}}}|<div style="display:table-cell; vertical-align:middle; padding: 0px 5px 3px 0px;">{{{flag_image2|}}}</div>}} | {{#if:{{{flag_image1|}}}|<div style="display:table-cell; vertical-align:middle; padding: 0px 5px 3px;">{{{flag_image1|}}}</div>}}{{#if:{{{flag_image2|}}}|<div style="display:table-cell; vertical-align:middle; padding: 0px 5px 3px 0px;">{{{flag_image2|}}}</div>}} | ||
</div> | </div> | ||
<div>{{{caption1}}}</div> | <div><small>{{{caption1|}}}</small></div> | ||
}} | }} | ||
{{#if:{{{symbol|}}}| | {{#if:{{{symbol|}}}| | ||
<div style="padding: 0px 5px;"> | <div style="padding: 0px 5px;"> | ||
<div style="padding-bottom:3px;">{{{symbol|}}}</div> | <div style="padding-bottom:3px;">{{{symbol|}}}</div> | ||
<div>{{{caption2}}}</div> | <div><small>{{{caption2|}}}</small></div> | ||
</div> | </div> | ||
}} | }} | ||
}} | }} | ||
| data1 | | data1 = {{#if: {{{anthem_name|}}}{{{anthem_file|}}}| <hr /><div style="text-align: center;">'''Anthem''':<br />{{#if: {{{anthem_name|}}}| <i>{{{anthem_name|}}}</i><br />}}{{{anthem_file|}}}</div>}} | ||
| | | image2 = {{#if: {{{map_image|}}} | <hr /><div style="padding: 10px 0px 0px 0px;">{{{map_image|}}}</div>{{#if: {{{map_caption|}}} | <br />{{{map_caption|}}} }}}} | ||
| header3 = {{#if: {{{capital|}}}{{{largest_city|}}} | <hr />}} | | header3 = {{#if: {{{capital|}}}{{{largest_city|}}} | <hr />}} | ||
Line 43: | Line 46: | ||
| data6 = {{{demonym|}}} | | data6 = {{{demonym|}}} | ||
| header7 = {{#if: {{{government|}}}{{{position1|}}}{{{position2|}}}{{{position3|}}}| <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | # | | header7 = {{#if: {{{government|}}}{{{position1|}}}{{{position2|}}}{{{position3|}}}| <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | #f0cfb1}};">Government</div>}} | ||
| data8 = <b>{{{government|}}}</b> | | data8 = <div style="text-align:center;"><b>{{{government|}}}</b></div> | ||
| label9 = <div style="font-weight:normal; font-size:95%;">{{{position1|}}}</div> | | label9 = <div style="font-weight:normal; font-size:95%;">{{{position1|}}}</div> | ||
| data9 = {{#if: {{{position1|}}} | {{{leader1|}}} }} | | data9 = {{#if: {{{position1|}}} | {{{leader1|}}} }} | ||
Line 52: | Line 55: | ||
| data11 = {{#if: {{{position3|}}} | {{{leader3|}}} }} | | data11 = {{#if: {{{position3|}}} | {{{leader3|}}} }} | ||
| header12 = {{#if: {{{event1|}}}{{{event2|}}}{{{event3|}}}{{{event4|}}}{{{event5|}}}{{{event6|}}}{{{predecessor|}}}{{{successor|}}}| <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | # | | header12 = {{#if: {{{event1|}}}{{{event2|}}}{{{event3|}}}{{{event4|}}}{{{event5|}}}{{{event6|}}}{{{predecessor|}}}{{{successor|}}}| <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | #f0cfb1}};">History</div>}} | ||
| label13 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event1|}}} | {{{event1|}}} }}</div> | | label13 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event1|}}} | {{{event1|}}} }}</div> | ||
| data13 = {{#if: {{{event1|}}} | {{{event_date1|}}} }} | | data13 = {{#if: {{{event1|}}} | {{{event_date1|}}} }} | ||
Line 70: | Line 73: | ||
| label21 = Succeeded by | | label21 = Succeeded by | ||
| data21 = {{{successor|}}} | | data21 = {{{successor|}}} | ||
| header22 = {{#if: {{{population|}}}{{{area|}}}{{{language|}}}{{{member_of|}}}| <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | # | | header22 = {{#if: {{{population|}}}{{{area|}}}{{{language|}}}{{{member_of|}}}| <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | #f0cfb1}};">Background</div>}} | ||
| label23 = Population | | label23 = Population | ||
| data23 = {{{population|}}} | | data23 = {{{population|}}} | ||
Line 77: | Line 80: | ||
| label25 = Languages | | label25 = Languages | ||
| data25 = {{{language|}}} | | data25 = {{{language|}}} | ||
| | | label26 = Religion | ||
| | | data26 = {{{religion|}}} | ||
| | | header27 = {{#if: {{{membership1|}}}{{{join_date1|}}}{{{membership2|}}}{{{join_date2|}}}{{{membership3|}}}{{{join_date3|}}}{{{membership4|}}}{{{join_date4|}}} | <hr />}} | ||
| | | data28 = {{#if: {{{membership1|}}}{{{join_date1|}}}{{{membership2|}}}{{{join_date2|}}}{{{membership3|}}}{{{join_date3|}}}{{{membership4|}}}{{{join_date4|}}} | <div style="text-align:left; font-weight:bold;">Member of</div>}} | ||
| | | label29 = {{{membership1|}}} | ||
| | | data29 = {{{join_date1|}}} | ||
| | | label30 = {{{membership2|}}} | ||
| | | data30 = {{{join_date2|}}} | ||
| | | label31 = {{{membership3|}}} | ||
| | | data31 = {{{join_date3|}}} | ||
| label32 = {{{membership4|}}} | |||
| data32 = {{{join_date4|}}} | |||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |