Template:Infobox country/imagetable: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
m (1 revision imported) |
||
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{both|{{{image1a|}}}{{{image1b|}}}|{{{image2|}}}}}| |
|||
<div style="display:table; width:100%;"> |
|||
<div style="display:table-cell; width:58%; vertical-align:middle; padding-left:5px;"> |
|||
{{#if:{{{image1a|}}}|<div style="padding-bottom:3px;">{{{image1a|}}}</div>}}{{#if:{{{image1b|}}}|<div style="padding: 2px 0px 3px;">{{{image1b|}}}</div>}} |
|||
<div>{{{caption1|}}}</div> |
|||
</div> |
|||
<div style="display:table-cell; vertical-align:middle; padding: 0px 5px;"> |
|||
<div style="padding-bottom:3px;">{{{image2|}}}</div> |
|||
<div>{{{caption2|}}}</div> |
|||
</div> |
|||
</div> |
|||
<!--else:-->| |
|||
{{#if:{{{image1a|}}}{{{image1b|}}}| |
|||
<div style="display:table; width:100%;"> |
|||
{{#if:{{{image1a|}}}|<div style="display:table-cell; vertical-align:middle; padding: 0px 5px 3px;">{{{image1a|}}}</div>}}{{#if:{{{image1b|}}}|<div style="display:table-cell; vertical-align:middle; padding: 0px 5px 3px 0px;">{{{image1b|}}}</div>}} |
|||
</div> |
|||
<div>{{{caption1}}}</div> |
|||
}} |
|||
{{#if:{{{image2|}}}| |
|||
<div style="padding: 0px 5px;"> |
|||
<div style="padding-bottom:3px;">{{{image2|}}}</div> |
|||
<div>{{{caption2}}}</div> |
|||
</div> |
|||
}} |
|||
}}<noinclude> |
|||
{{documentation|content= |
|||
This subtemplate is used to simplify the code of {{tl|infobox country}}. It should not be used directly. |
|||
}}</noinclude> |
Latest revision as of 21:02, 25 April 2020
Template documentation
This subtemplate is used to simplify the code of {{infobox country}}. It should not be used directly.