Template:Categorybox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<table border="1" class="toccolours" style="float: center; width: 95%; margin: 0 0 1em 1em; border-collapse: collapse; font-size: 95%; clear: right;">
<table border="1" class="toccolours" style="float: center; width: 95%; margin: 0 0 1em 1em; border-collapse: collapse; font-size: 95%; clear: right;">
<tr>
<tr>
<td align="center" width="{{{ #if: {{{3|}}} | 33 | 50}}}%"> '''Continent: '''[[:Category:{{{1}}}|{{{1}}}]]</td>
<td align="center" width="33%"> '''Continent: '''[[:Category:{{{1}}}|{{{1}}}]]</td>
<td align="center" width="{{{ #if: {{{3|}}} | 34 | 50}}}%"> '''Country: '''[[:Category:{{{2}}}|{{{2}}}]]</td>
<td align="center" width="34%"> '''Country: '''[[:Category:{{{2}}}|{{{2}}}]]</td>
{{ #if: {{{3|}}} | <td align="center" width="33%"> '''Region: '''[[:Category:{{{3}}}|{{{3}}}]]</td> }}
{{ #if: {{{3|}}} | <td align="center" width="33%"> '''Region: '''[[:Category:{{{3}}}|{{{3}}}]]</td> }}
</tr>
</tr>
</table>
</table>