Jump to content

Template:Infobox lore nation: Difference between revisions

m Fixed above placement
m Fixed automatic PAGENAME usage
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:


| abovestyle  = text-align:center;
| abovestyle  = text-align:center;
| above      = {{#if: {{{name|}}} | <div style="background-color: var(--background-color-content-added);">{{{name|}}}</div> | {{PAGENAME}}}}{{#if: {{{nation_type|}}} |<small>{{{nation_type|}}}</small> }}
| above      = {{#if: {{{name|}}} | <div style="background-color: var(--background-color-content-added);">{{{name|}}}</div> | <div style="background-color: var(--background-color-content-added);">{{PAGENAME}}</div>}}{{#if: {{{nation_type|}}} |<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>}}
Line 15: Line 15:
             {{#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><small>{{{caption1|}}}</small></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>
     </div>
     </div>
Line 49: Line 45:


| header7 = <div style="background-color: var(--background-color-content-added);">Government</div>
| header7 = <div style="background-color: var(--background-color-content-added);">Government</div>
| data8  = {{{government|}}}
| data8  = {{#if: {{{government|}}} | <b>{{{government|}}}</b>}}
| 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|}}} }}

Latest revision as of 14:42, 21 July 2025

Infobox lore nation