Template:Infobox country: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>SwedishZeta No edit summary |
meta>SwedishZeta No edit summary |
||
Line 10: | Line 10: | ||
or other elements. | or other elements. | ||
--></noinclude> | --></noinclude><includeonly><!-- | ||
<table class="infobox geography vcard" style="width:46ex; margin-top:0.75em;"> | --><table class="infobox geography vcard" style="width:46ex; margin-top:0.75em;"><!-- | ||
========================================================================================== | ========================================================================================== | ||
Names | Names | ||
========================================================================================== | ========================================================================================== | ||
{{#if:{{{native_name|}}}{{{conventional_long_name|}}}{{{name|}}} |then: | -->{{#if:{{{native_name|}}}{{{conventional_long_name|}}}{{{name|}}} |<!--then: | ||
<tr> | --><tr> | ||
<th colspan="3" align="center" class="mergedtoprow adr" | <th colspan="3" align="center" class="mergedtoprow adr" | ||
style="line-height:1.2em; padding:0.25em 0.33em 0.33em; font-size:1.25em;"> | style="line-height:1.2em; padding:0.25em 0.33em 0.33em; font-size:1.25em;"><!-- | ||
{{#if:{{{native_name|}}} |then:{{{native_name}}} }} | -->{{#if:{{{native_name|}}} |<!--then:-->{{{native_name}}} }}<!-- | ||
{{#if:{{{conventional_long_name|}}}{{{name|}}} | -->{{#if:{{{conventional_long_name|}}}{{{name|}}} | ||
|then:--><div class="fn org country-name" style="padding-top:0.25em;"> | |<!--then:--><div class="fn org country-name" style="padding-top:0.25em;"><!-- | ||
{{{conventional_long_name|}}}{{{name|}}}</div> | -->{{{conventional_long_name|}}}{{{name|}}}</div><!-- | ||
}} | -->}}<!-- | ||
</th> | --></th> | ||
</tr> | </tr><!-- | ||
}} | -->}}<!-- | ||
========================================================================================== | ========================================================================================== | ||
Flag / Coat-of-arms (or other symbol) | Flag / Coat-of-arms (or other symbol) | ||
========================================================================================== | ========================================================================================== | ||
{{#if:{{{image_flag|}}} | -->{{#if:{{{image_flag|}}} | ||
|<!--thenF: | |<!--thenF: | ||
------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ||
Flag provided, so display it and coat-of-arms (or other symbol) if provided: | Flag provided, so display it and coat-of-arms (or other symbol) if provided: | ||
------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ||
<tr class="mergedtoprow"> | --><tr class="mergedtoprow"> | ||
<td class="maptable" colspan="3" align="center" style="padding:0.5em 0;"> | <td class="maptable" colspan="3" align="center" style="padding:0.5em 0;"><!-- | ||
----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ||
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;"><!-- | ||
-----------Image/s----------- | -----------Image/s----------- | ||
<tr> | --><tr> | ||
<td align="center" | <td align="center" | ||
style="{{#if:{{{image_coat|}}}{{{image_symbol|}}} | style="{{#if:{{{image_coat|}}}{{{image_symbol|}}} | ||
|then:width:58%;}}(58% as flags usually wider than coats-of-arms/symbols. Also accommodates IE.) vertical-align:middle;"> | |<!--then:-->width:58%;}}<!--(58% as flags usually wider than coats-of-arms/symbols. Also accommodates IE.)--> vertical-align:middle;"><!-- | ||
[[Image:{{{image_flag}}}|125px|border|Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]end border: | -->[[Image:{{{image_flag}}}|125px|border|Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]<!--end border:--><!-- | ||
</td> | --></td> | ||
{{#if:{{{image_coat|}}}{{{image_symbol|}}} | {{#if:{{{image_coat|}}}{{{image_symbol|}}} | ||
|then:<td align="center" style="width:auto; vertical-align:middle;"> | |<!--then:--><td align="center" style="width:auto; vertical-align:middle;"><!-- | ||
[[Image:{{{image_coat|}}}{{{image_symbol|}}} |{{{symbol_width|85px}}} |{{{symbol_type|Coat of arms}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]] | -->[[Image:{{{image_coat|}}}{{{image_symbol|}}} |{{{symbol_width|85px}}} |{{{symbol_type|Coat of arms}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]<!-- | ||
</td> | --></td> | ||
}} | }} | ||
</tr> | </tr><!-- | ||
----------Caption/s---------- | ----------Caption/s---------- | ||
--><tr> | --><tr> | ||
Line 763: | Line 763: | ||
<td align="right">{{lower|0.3em|<sup>6</sup>}}</td> | <td align="right">{{lower|0.3em|<sup>6</sup>}}</td> | ||
<td colspan="2" style="padding-left:0em;">{{{footnote6}}}</td> | <td colspan="2" style="padding-left:0em;">{{{footnote6}}}</td> | ||
</tr> | </tr><!-- | ||
}} | -->}}<!-- | ||
{{#if:{{{footnote7|}}} |then: | -->{{#if:{{{footnote7|}}} |<!--then: | ||
<tr class="mergedbottomrow" style="font-size:80%;"> | --><tr class="mergedbottomrow" style="font-size:80%;"> | ||
<td align="right">{{lower|0.3em|<sup>7</sup>}}</td> | <td align="right">{{lower|0.3em|<sup>7</sup>}}</td> | ||
<td colspan="2" style="padding-left:0em;">{{{footnote7}}}</td> | <td colspan="2" style="padding-left:0em;">{{{footnote7}}}</td> | ||
</tr> | </tr><!-- | ||
}} | -->}}<!-- | ||
</table> | |||
--></table></includeonly><!-- | |||
-------------------------------------End of template-------------------------------------- | -------------------------------------End of template-------------------------------------- | ||
<noinclude> | --><noinclude><!-- | ||
Revision as of 08:09, 6 July 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. |