Template:Infobox lore nation: Difference between revisions
Hopefully fixed errouneous symbol div appearing when not needed |
m Fixed automatic PAGENAME usage |
||
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>}} |