Difference between revisions of "Template:Infobox Region"

From Hattrick
(added optional coat of arms parameter and made flag also optional)
Line 5: Line 5:
 
-->{| align="right" cellpadding="4" style="border: 1px #aaaaaa solid; width: 20em; font-size: 95%; margin: 0 0 1em 1em;"  
 
-->{| align="right" cellpadding="4" style="border: 1px #aaaaaa solid; width: 20em; font-size: 95%; margin: 0 0 1em 1em;"  
 
|+ style="margin-center: inherit; font-size: medium;" | '''{{{full_local_name}}}'''
 
|+ style="margin-center: inherit; font-size: medium;" | '''{{{full_local_name}}}'''
|-
+
{{#if:{{{image_flag|{{{image_coat|}}}}}}|{{!}}-
|- style="text-align: center;"
+
{{!}} align="center" colspan="2" {{!}}
| colspan="2" style="background:#ffffff;" | [[Image:{{{image_coat}}}|100px|Coat of {{{name_(english)}}}]]
+
{{{!}} style="width: 280px; background: none; text-align: center;"
 +
{{!}}- style="vertical-align: middle;"
 +
{{!}} style="border: 0;" align="center" {{!}} <span style="display:table-cell; border-collapse:collapse; border: solid 1px #BBBBBB;">[[Image:{{{image_flag}}}|125px|Flag of {{{name_(english)}}}]]</span>
 +
{{#if:{{{image_coat|}}}|{{!}} style="border: 0;" {{!}} [[Image:{{{image_coat}}}|110px|Coat of Arms of {{{name_(english)}}}]]|}}
 +
{{!}}}|}}
 
|-
 
|-
 
|- style="text-align: center;"
 
|- style="text-align: center;"

Revision as of 21:18, 8 May 2010

{{{full_local_name}}}
Link to Wikipedia
Continent: [[{{{continent}}}]]
Zone: [[{{{zone}}}]]
Country: [[{{{country}}}]]
Latitude: {{{latitude}}}
Longitude: {{{longitude}}}
Time zone: {{{htt_offset}}}
{{{footnotes}}}