Template:Infobox country: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Interiot rv, comment at the bottom says "Please add interwiki etc to Template:Infobox Country/blank template, not here", and it wasn't <noincluded> as well |
meta>David Kernow m alignment tweaks |
||
Line 39: | Line 39: | ||
<!-------------------------------------------- | <!-------------------------------------------- | ||
Subtable to format flag/coat-of-arms display. | Subtable to format flag/coat-of-arms display. | ||
Align="center"s and "width:auto;"s are for sake of Internet Explorer | Align="center"s and "width:auto;"s are for sake of Internet Explorer. | ||
---------------------------------------------> | ---------------------------------------------> | ||
<table align="center" style="width:100%; background:none;"> | <table align="center" style="width:100%; background:none;"> | ||
<!-------Images | |||
<!-------Images-------> | |||
<tr> <td align="center" style="{{#if:{{{image_coat|}}} |<!--then:-->width:58%;}}<!--(58% as flags usually wider than coats-of-arms/symbols. Also accommodates IE.)--> vertical-align:middle;"> | <tr> <td align="center" style="{{#if:{{{image_coat|}}} |<!--then:-->width:58%;}}<!--(58% as flags usually wider than coats-of-arms/symbols. Also accommodates IE.)--> vertical-align:middle;"> | ||
{{#if:{{{text_flag|}}} | {{#if:{{{text_flag|}}} | ||
Line 50: | Line 51: | ||
|<!--then:--><td align="center" style="width:auto; vertical-align:middle;"> [[Image:{{{image_coat}}}|85px|{{{symbol_type|Coat of arms}}} of {{{common_name|{{PAGENAME}}}}}]]</td>}} | |<!--then:--><td align="center" style="width:auto; vertical-align:middle;"> [[Image:{{{image_coat}}}|85px|{{{symbol_type|Coat of arms}}} of {{{common_name|{{PAGENAME}}}}}]]</td>}} | ||
</tr> | </tr> | ||
<!-------Captions | |||
<!-------Captions-------> | |||
<tr> <td align="center"><small>[[Flag of {{{common_name|{{PAGENAME}}}}}|{{{flag_caption|Flag}}}]]</small></td> | <tr> <td align="center"><small>[[Flag of {{{common_name|{{PAGENAME}}}}}|{{{flag_caption|Flag}}}]]</small></td> | ||
{{#if:{{{image_coat|}}} | {{#if:{{{image_coat|}}} | ||
|<!--then:--><td align="center"><small>[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{PAGENAME}}}}}|{{{symbol_type|Coat of arms}}}]]</small></td>}} | |<!--then:--><td align="center"><small>[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{PAGENAME}}}}}|{{{symbol_type|Coat of arms}}}]]</small></td>}} | ||
</tr> | </tr> | ||
<!--------------End subtable:---------------> | <!--------------End subtable:---------------> | ||
</table> | </table> | ||
Line 105: | Line 108: | ||
{{#if:{{{capital|}}} | {{#if:{{{capital|}}} | ||
|<!--then2:--> | |<!--then2:--> | ||
<td colspan="2 | <td colspan="2">'''[[List of national capitals|Capital]]'''<!-- | ||
-->{{#ifeq: {{#ifeq:{{{largest_city|}}}{{{largest_settlement|}}} | -->{{#ifeq: {{#ifeq:{{{largest_city|}}}{{{largest_settlement|}}} | ||
|<!--equals3:-->capital | |<!--equals3:-->capital | ||
Line 124: | Line 127: | ||
</td> | </td> | ||
<!--------Add capital:--------> | <!--------Add capital:--------> | ||
<td | <td>{{{capital}}}<!-- | ||
---------add capital's latitude and longitude (if provided):-------- | ---------add capital's latitude and longitude (if provided):-------- | ||
-->{{#if:{{{latd|}}} |<!--then:--><br/><small><!-- | -->{{#if:{{{latd|}}} |<!--then:--><br/><small><!-- | ||
Line 138: | Line 141: | ||
--></td> | --></td> | ||
<!--------Add capital:--------> | <!--------Add capital:--------> | ||
<td | <td>{{{capital}}}<!-- | ||
---------add capital's latitude and longitude (if provided):-------- | ---------add capital's latitude and longitude (if provided):-------- | ||
-->{{#if:{{{latd|}}} |<!--then:--><br/><small><!-- | -->{{#if:{{{latd|}}} |<!--then:--><br/><small><!-- | ||
Line 150: | Line 153: | ||
|<!--then5:--> | |<!--then5:--> | ||
<tr class="mergedbottomrow"> | <tr class="mergedbottomrow"> | ||
<th colspan="2 | <th colspan="2">[[Demographics of {{{common_name}}}|Largest {{{largest_settlement_type|city}}}]]</th> | ||
<td>{{{largest_city|}}}{{{largest_settlement|}}}</td> | <td>{{{largest_city|}}}{{{largest_settlement|}}}</td> | ||
</tr> | </tr> | ||
Line 160: | Line 163: | ||
-->{{#if:{{{largest_city|}}}{{{largest_settlement|}}} | -->{{#if:{{{largest_city|}}}{{{largest_settlement|}}} | ||
|<!--then6:--> | |<!--then6:--> | ||
<th colspan="2 | <th colspan="2">[[Demographics of {{{common_name}}}|Largest {{{largest_settlement_type|city}}}]]</th> | ||
<td>{{{largest_city|}}}{{{largest_settlement|}}}</td> | <td>{{{largest_city|}}}{{{largest_settlement|}}}</td> | ||
}}<!--(end6)--> | }}<!--(end6)--> | ||
Line 354: | Line 357: | ||
|<!--then:--> | |<!--then:--> | ||
<tr> <th colspan="2">[[European Union|Accession to the European Union]]</th> | <tr> <th colspan="2">[[European Union|Accession to the European Union]]</th> | ||
<td>{{{accessionEUdate}}}</td> | <td style="vertical-align:middle;">{{{accessionEUdate}}}</td> | ||
</tr> | </tr> | ||
}} | }} |
Revision as of 11:56, 25 April 2007
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |