Template:Infobox lore town: Difference between revisions

From Alathra Wiki
Content added Content deleted
m (Visual fix #5)
m (Padding for images)
 
(5 intermediate revisions by the same user not shown)
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 = padding: 10px 0px 10px 0px;
| imagestyle = text-align:center;
| captionstyle = line-height: 140%;
| captionstyle = text-align:center;


| image = {{{image|}}}
| image1 = <div style="padding: 5px 0px 5px 0px; text-align: center;">{{{image|}}}</div>
| caption = {{{caption|}}}
| caption1 = {{{caption|}}}


| data1 = <div style="padding-top: 5px;">{{#if: {{{map_image|}}} | <hr />{{{map_image|}}}{{#if: {{{map_caption|}}} | <br />{{{map_caption|}}} }}}}</div>
| data1 = {{#if: {{{map_image|}}} | <hr /><div style="padding: 10px 0px 2px 0px; text-align: center;">{{{map_image|}}}</div>{{#if: {{{map_caption|}}} | <br /><div style="text-align: center;">{{{map_caption|}}}</div>}}}}


| header2 = {{#if: {{{nickname|}}}{{{motto|}}} | <hr />}}
| header2 = {{#if: {{{nickname|}}}{{{motto|}}} | <hr />}}
| data3 = {{#if: {{{nickname|}}} | Nickname: {{{nickname|}}} }}
| data3 = {{#if: {{{nickname|}}} | <div style="text-align: center;">Nickname: {{{nickname|}}}</div>}}
| data4 = {{#if: {{{motto|}}} | Motto(s): {{{motto|}}} }}
| data4 = {{#if: {{{motto|}}} | <div style="text-align: center;">Motto(s): {{{motto|}}}</div>}}


| header5 = {{#if: | <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | #d4f5bf}};">Background</div>}}
| header5 = {{#if: | <div style="background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | #d4f5bf}};">Background</div>}}

Latest revision as of 13:16, 1 May 2024

Infobox lore town