Template:Infobox lore nation: Difference between revisions
aw>Rikke m Centered elements for mobile view |
aw>Rikke m Code fix #1 |
||
Line 8: | Line 8: | ||
| imagestyle = text-align:center; | | imagestyle = text-align:center; | ||
| | | image = {{#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 34: | Line 34: | ||
}} | }} | ||
| | | data1 = {{#if: {{{anthem_name|}}}{{{anthem_file|}}}| <hr />'''Anthem''':<br /><i>{{{anthem_name|}}}</i>{{#if: {{{anthem_name|}}}|<br />}}{{{anthem_file|}}}}} | ||
| | | 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 />}} |