Template:Categorybox: Difference between revisions

no edit summary
(new experimental category box that optionally shows region if it is specified)
 
No edit summary
Line 3: Line 3:
<td align="center" width="33%"><b>Continent: </b>[[:Category:{{{1}}}|{{{1}}}]]</td>
<td align="center" width="33%"><b>Continent: </b>[[:Category:{{{1}}}|{{{1}}}]]</td>
<td align="center" width="34%"><b>Country: </b>[[:Category:{{{2}}}|{{{2}}}]]</td>
<td align="center" width="34%"><b>Country: </b>[[:Category:{{{2}}}|{{{2}}}]]</td>
{{#if {{{3|}}}|<td align="center" width="33%"><b>Region: </b>[[:Category:{{{3}}}|{{{3}}}]]</td>|}}
{{#if {{{3|}}} | <td align="center" width="33%"><b>Region: </b>[[:Category:{{{3}}}|{{{3}}}]]</td>}}
</tr>
</tr>
</table>
</table>