Template:Infobox lore nation: Difference between revisions

From Alathra Wiki
Content added Content deleted
m (Visual fix #4)
m (Centered elements for mobile view)
Line 5: Line 5:
| 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;


| image = {{#if:{{both|{{{flag_image1|}}}{{{flag_image2|}}}|{{{symbol|}}}}}|
| image1 = {{#if:{{both|{{{flag_image1|}}}{{{flag_image2|}}}|{{{symbol|}}}}}|
<div class="noresize" style="display:table; width:100%;">
<div class="noresize" style="display:table; width:100%;">
<div style="display:table-cell; vertical-align:middle; padding-left:5px;">
<div style="display:table-cell; vertical-align:middle; padding-left:5px;">
Line 33: Line 34:
}}
}}


| data1 = {{#if: {{{anthem_name|}}}{{{anthem_file|}}}| <hr />'''Anthem''':<br /><i>{{{anthem_name|}}}</i>{{#if: {{{anthem_name|}}}|<br />}}{{{anthem_file|}}}}}
| image2 = {{#if: {{{anthem_name|}}}{{{anthem_file|}}}| <hr />'''Anthem''':<br /><i>{{{anthem_name|}}}</i>{{#if: {{{anthem_name|}}}|<br />}}{{{anthem_file|}}}}}


| data2 = {{#if: {{{map_image|}}} | <hr /><div style="padding: 10px 0px 0px 0px;">{{{map_image|}}}</div>{{#if: {{{map_caption|}}} | <br />{{{map_caption|}}} }}}}
| data2 = {{#if: {{{map_image|}}} | <hr /><div style="padding: 10px 0px 0px 0px;">{{{map_image|}}}</div>{{#if: {{{map_caption|}}} | <br />{{{map_caption|}}} }}}}
Line 46: Line 47:


| header7 = {{#if: {{{government|}}}{{{position1|}}}{{{position2|}}}{{{position3|}}}| <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | #f0cfb1}};">Government</div>}}
| 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|}}} }}

Revision as of 13:45, 29 April 2024

Infobox lore nation