From World Afropedia
Jump to: navigation, search
m (1 revision)
 
*>SiBr4
(Adding "Note" parameter for appending text to the default caption)
Line 1: Line 1:
<td {{#if:{{{Doublewide|}}}|colspan=2 width={{#expr: 2 * {{{Width|120}}} + 4}}|width={{#expr: {{{Width|120}}} + 2}}}} align=center><table cellpadding=0 style="width={{#if:{{{Doublewide|}}}|{{#expr: 2 * {{{Width|120}}} + 4}}|{{#expr: {{{Width|120}}} + 2}}}}px; ">
+
<includeonly><td style="text-align:center;{{#if:{{{Doublewide|}}}|width:{{#expr: 2 * {{{Width|120}}} + 4}}px" colspan="2"|width:{{#expr: {{{Width|120}}} + 2}}px"}}><table style="width:{{#if:{{{Doublewide|}}}|{{#expr: 2 * {{{Width|120}}} + 4}}|{{#expr: {{{Width|120}}} + 2}}}}px; ">
<tr><td height={{#expr: {{{Width|120}}} / 2 round 0}} align=center>[[Image:{{#if:{{{Country|}}}|Flag of {{{Country}}}.svg|{{{Image}}}}}|{{#if:{{{NoBorder|}}}| |border}}|{{#if:{{{Doublewide}}}|{{#expr: 2 * {{{Width|120}}}}}|{{{Width|120}}}}}x{{#expr: {{{Width|120}}} / 2 round 0}}px|{{{Country|{{{Alt|{{{Caption}}}}}}}}}]]</td></tr>
+
<tr><td style="height:{{#expr: {{{Width|120}}} / 2 round 0}}px;text-align:center">[[Image:{{#if:{{{Image|}}}|{{{Image}}}|{{getalias2|{{{Country}}}|flag alias|variant={{{Variant|}}} }} }}|{{#if:{{{NoBorder|}}}| |border}}|{{#if:{{{Doublewide}}}|{{#expr: 2 * {{{Width|120}}}}}|{{{Width|120}}}}}x{{#expr: {{{Width|120}}} / 2 round 0}}px|{{{Alt|{{{Caption|Flag of {{#if:{{{the|}}}|the}} {{{Country}}}}}}}}}]]</td></tr>
{{#if:{{{Image2|}}}|<tr><td width={{#expr: {{{Width|120}}} + 2}} align=center>[[Image:{{{Image2}}}|{{#if:{{{NoBorder|}}}| |border}}|{{#if:{{{Doublewide}}}|{{#expr: 2 * {{{Width|120}}}}}|{{{Width|120}}}}}x{{#expr: {{{Width|120}}} / 2 round 0}}px|{{{Alt2|{{{Caption}}}}}}]]</td></tr>}}
+
{{#if:{{{Image2|}}}|<tr><td style="width:{{#expr: {{{Width|120}}} + 2}}px;text-align:center">[[Image:{{{Image2}}}|{{#if:{{{NoBorder|}}}| |border}}|{{#if:{{{Doublewide}}}|{{#expr: 2 * {{{Width|120}}}}}|{{{Width|120}}}}}x{{#expr: {{{Width|120}}} / 2 round 0}}px|{{{Alt2|{{{Caption}}}}}}]]</td></tr>}}
<tr><td {{#if:{{{Doublewide|}}}|colspan=2 width={{#expr: 2 * {{{Width|120}}} + 4}}|width={{#expr: {{{Width|120}}} + 2}}}} align=center>{{#if:{{{Country|}}}|{{#ifeq:{{{Country}}}|Georgia|[[Flag of Georgia (country)|Flag of]] [[Georgia (country)|Georgia]]|[[Flag of {{{Country}}}|Flag of]] [[{{{Country}}}]]}}|{{{Caption}}}}}</td></tr>
+
<tr><td style="text-align:center;{{#if:{{{Doublewide|}}}|width:{{#expr: 2 * {{{Width|120}}} + 4}}px" colspan="2"|width:{{#expr: {{{Width|120}}} + 2}}px"}}>{{{Caption|{{#if:{{{Country|}}}|[[Flag of {{#if:{{{the|}}}|the}} {{Country data {{{Country}}}|pst name|name=alias}}|Flag of]] {{#if:{{{the|}}}|the}} [[{{Country data {{{Country}}}|pst name|name=alias}}|{{#ifeq:{{Country data {{{Country}}}|pst name|name=shortname alias}}|{{{shortname alias}}}|{{Country data {{{Country}}}|pst name|name=alias}}|{{Country data {{{Country}}}|pst name|name=shortname alias}} }}]]|Flag}} {{#if:{{{Note|}}}|({{{Note}}})}} }}}</td></tr>
</table></td>
+
</table></td></includeonly><noinclude>
 +
{{documentation}}
 +
</noinclude>

Revision as of 09:57, 5 July 2015