Template:Infobox lore nation: Difference between revisions

Content deleted Content added
m Attempted fix #7
Redesign test #1
Line 1:
{{Infobox
| headerstyle = border-style:ridge;
| abovestyle = text-align:center; background-color: {{#if: {{{titlecolor|}}} | {{{titlecolor|}}} | #eb7a8d}};
| abovetitlestyle = text-align:center; =background-color: {{#if: {{{nametitlecolor|}}} | {{{nametitlecolor|}}} | {{PAGENAME}}#f0cfb1}}; border-style: ridge;
| title = {{#if: {{{name|}}} |{{{name|}}} | {{PAGENAME}}}}{{#if: g{{{nation_type|}}} |<hr style="background-color:
#d49c6a;"><small>City state{{{nation_type|}}}</small> }}
| subheaderstyle = font-size:110%; text-align:center;
| 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;
 
| image = {{#if:{{both|{{{flag_image1|}}}{{{flag_image2|}}}|{{{symbol|}}}}}|
Line 9 ⟶ 12:
<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>}}
<div><small>{{{caption1|}}}</small></div>
</div>
<div style="display:table-cell; vertical-align:middle; padding: 0px 5px 0px 15px;">
<div style="padding-bottom:3px;">{{{symbol|}}}</div>
<div><small>{{{caption2|}}}</small></div>
</div>
</div>
Line 21 ⟶ 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>}}
</div>
<div><small>{{{caption1|}}}</small></div>
}}
{{#if:{{{symbol|}}}|
<div style="padding: 0px 5px;">
<div style="padding-bottom:3px;">{{{symbol|}}}</div>
<div><small>{{{caption2|}}}</small></div>
</div>
}}