Template:Infobox country: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Akhristov
mNo edit summary
meta>David Kernow
m quasi-revert: where necessary, use flag_width parameter (defaulting to previous 62%) to assign a satisfactory width. (In general, flags wider than coats-of-arms or the like.)
Line 38: Line 38:
       <td colspan="3" class="maptable">
       <td colspan="3" class="maptable">
         <!----------Start subtable:----------->
         <!----------Start subtable:----------->
         <table align="center" style="background:none; text-align:center; width:100%;">
         <table align="center" style="width:100%; background:none; text-align:center;">
             <!-------Images:------->
             <!-------Images:------->
             <tr> <td style="{{#if:{{{image_coat|}}} |<!--then:-->width:50%;}} vertical-align:middle;">   
             <tr> <td style="{{#if:{{{image_coat|}}} |<!--then:-->width:<!--use flag_width to assign a different width if default 62% produces a "weird" result:-->{{{flag_width|62%}}}; vertical-align:middle;">   
             {{#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; width:50%;">[[Image:{{{image_coat}}}|85px|{{{symbol_type|Coat of arms}}} of {{{common_name|{{PAGENAME}}}}}]]</td>}}
                 |<!--then:--><td style="vertical-align:middle;">[[Image:{{{image_coat}}}|85px|{{{symbol_type|Coat of arms}}} of {{{common_name|{{PAGENAME}}}}}]]</td>}}
             </tr>
             </tr>
             <!-------Links:------->
             <!-------Links:------->

Revision as of 17:42, 23 April 2007

Template:Infobox country/template