Template:Infobox country: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
en>David Kernow
m (reinserting explanatory comment re 62% width)
en>Akhristov
(fix?)
Line 36: Line 36:
|<!--then:-->
|<!--then:-->
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<td colspan="3" class="maptable">
<td class="maptable" colspan="3" align="center" style="padding: 0.4em 0 0.4em 0;">
<!----------Start subtable:----------->
<!----------Start subtable:----------->
<table align="center" style="background:none; text-align:center;">
<table style="width: 100%; background: none;" align="center">
<!-------Images:------->
<!-------Images:------->
<tr> <td style="{{#if:{{{image_coat|}}} |<!--then:-->width:62%;}}<!--(62% as flags usually wider than coats-of-arms/symbols)--> vertical-align:middle;">
<tr> <td style="{{#if:{{{image_coat|}}} |<!--then:-->width:62%;}}<!--(62% as flags usually wider than coats-of-arms/symbols)--> vertical-align:middle;" align="center">
{{#if:{{{text_flag|}}}
{{#if:{{{text_flag|}}}
|<!--then:-->{{{text_flag}}}<!--used for N. Ireland-->
|<!--then:-->{{{text_flag}}}<!--used for N. Ireland-->
|<!--else:-->{{border|[[Image:{{{image_flag}}}|125px|Flag of {{{common_name|{{PAGENAME}}}}}]]<!--end border:-->}} }}</td>
|<!--else:-->{{border|[[Image:{{{image_flag}}}|125px|Flag of {{{common_name|{{PAGENAME}}}}}]]<!--end border:-->}} }}</td>
{{#if:{{{image_coat|}}}
{{#if:{{{image_coat|}}}
|<!--then:--><td style="vertical-align:middle;"> [[Image:{{{image_coat}}}|85px|{{{symbol_type|Coat of arms}}} of {{{common_name|{{PAGENAME}}}}}]]</td>}}
|<!--then:--><td style="vertical-align: middle;" align="center"> [[Image:{{{image_coat}}}|85px|{{{symbol_type|Coat of arms}}} of {{{common_name|{{PAGENAME}}}}}]]</td>}}
</tr>
</tr>
<!-------Links:------->
<!-------Links:------->

Revision as of 00:33, 24 April 2007

Template:Infobox country/template