Template:Infobox lore nation: Difference between revisions
Content deleted Content added
m Tidying up |
m Added religion parameter |
||
(17 intermediate revisions by the same 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%; |
|||
| datastyle = line-height:120%; |
|||
| |
| title = {{#if: {{{name|}}} |{{{name|}}} | {{PAGENAME}}}}{{#if: {{{nation_type|}}} |<hr style="background-color: {{#if: {{{bordercolor|}}} | {{{bordercolor|}}} | #d49c6a}};"><small>{{{nation_type|}}}</small> }} |
||
| above = {{#if: {{{name|}}} | {{{name|}}} | {{PAGENAME}}}} |
|||
| 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 10: | 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;">{{{ |
<div style="padding-bottom:3px;">{{{symbol|}}}</div> |
||
<div>{{{caption2|}}}</div> |
<div><small>{{{caption2|}}}</small></div> |
||
</div> |
</div> |
||
</div> |
</div> |
||
Line 22: | 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 44: | 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 53: | 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|}}} | |
| label13 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event1|}}} | {{{event1|}}} }}</div> |
||
| data13 = {{#if: {{{event1|}}} | {{{event_date1|}}} }} |
| data13 = {{#if: {{{event1|}}} | {{{event_date1|}}} }} |
||
| label14 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event2|}}} | |
| label14 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event2|}}} | {{{event2|}}} }}</div> |
||
| data14 = {{#if: {{{event2|}}} | {{{event_date2|}}} }} |
| data14 = {{#if: {{{event2|}}} | {{{event_date2|}}} }} |
||
| label15 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event3|}}} | |
| label15 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event3|}}} | {{{event3|}}} }}</div> |
||
| data15 = {{#if: {{{event3|}}} | {{{event_date3|}}} }} |
| data15 = {{#if: {{{event3|}}} | {{{event_date3|}}} }} |
||
| label16 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event4|}}} | |
| label16 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event4|}}} | {{{event4|}}} }}</div> |
||
| data16 = {{#if: {{{event4|}}} | {{{event_date4|}}} }} |
| data16 = {{#if: {{{event4|}}} | {{{event_date4|}}} }} |
||
| label17 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event5|}}} | |
| label17 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event5|}}} | {{{event5|}}} }}</div> |
||
| data17 = {{#if: {{{event5|}}} | {{{event_date5|}}} }} |
| data17 = {{#if: {{{event5|}}} | {{{event_date5|}}} }} |
||
| label18 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event6|}}} | |
| label18 = <div style="font-weight:normal; font-size:95%;">{{#if: {{{event6|}}} | {{{event6|}}} }}</div> |
||
| data18 = {{#if: {{{event6|}}} | {{{event_date6|}}} }} |
| data18 = {{#if: {{{event6|}}} | {{{event_date6|}}} }} |
||
| header19 = {{#if: {{{ |
| header19 = {{#if: {{{predecessor|}}}{{{successor|}}} | <hr />}} |
||
| label20 = Preceded by |
| label20 = Preceded by |
||
| data20 = {{{predecessor|}}} |
| data20 = {{{predecessor|}}} |
||
| 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 78: | Line 80: | ||
| label25 = Languages |
| label25 = Languages |
||
| data25 = {{{language|}}} |
| data25 = {{{language|}}} |
||
| label26 = Religion |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| label28 = {{{membership1|}}} |
|||
⚫ | |||
⚫ | |||
| label29 = {{{ |
| label29 = {{{membership1|}}} |
||
| data29 = {{{ |
| data29 = {{{join_date1|}}} |
||
| label30 = {{{ |
| label30 = {{{membership2|}}} |
||
| data30 = {{{ |
| data30 = {{{join_date2|}}} |
||
| label31 = {{{ |
| label31 = {{{membership3|}}} |
||
| data31 = {{{ |
| data31 = {{{join_date3|}}} |
||
⚫ | |||
| data32 = {{{join_date4|}}} |
|||
}}<noinclude> |
}}<noinclude> |
||
{{Documentation}} |
{{Documentation}} |
Latest revision as of 04:43, 1 May 2024
Usage
Users should note that all parameters are made to be optional. Provide as much or as little information as you choose. If you wish to enter more than one data line to a single parameter, use </br>
between the entries.
{{Infobox lore nation
|name = <!-- if left blank, will default to the title of the page -->
|titlecolor = <!-- hexcode for the background color of the name -->
|nation_type = <!-- kingdom, republic, city-state etc. -->
|bordercolor = <!-- hexcode for the border between name and nation type -->
|headercolor = <!-- hexcode for the background color of headers -->
|year_start = <!-- fill these two only if the nation no longer exists -->
|year_end =
|native_name = <!-- nation's name in the native language -->
|flag_image1 =
|flag_image2 =
|symbol = <!-- coat of arms or other symbols -->
|caption1 = <!-- caption for flag(s) -->
|caption2 = <!-- caption for symbol -->
|anthem_name =
|anthem_file =
|map_image =
|map_caption =
|capital =
|largest_city =
|demonym =
<!-- GOVERNMENT -->
|government = <!-- form of government -->
|position1 = <!-- formal job title of a governing person -->
|leader1 = <!-- person in position1 -->
|position2 =
|leader2 =
|position3 =
|leader3 =
<!-- HISTORY -->
|event1 = <!-- some historical event, usually founding of the nation -->
|event_date1 = <!-- date of event1 -->
|event2 =
|event_date2 =
|event3 =
|event_date3 =
<!-- etc... -->
|predecessor = <!-- nation(s) that preceded this nation -->
|successor = <!-- nation(s) that succeeded this nation -->
<!-- BACKGROUND -->
|population =
|area =
|language =
|religion =
|membership1 = <!-- organization/treaty the nation is a part of (requires join_date) -->
|join_date1 = <!-- when membership1 took effect -->
|membership2 =
|join_date2 =
<!-- etc... -->
}}