Difference between revisions of "Template:Infobox country"

From CWS Planet
Jump to navigation Jump to search
m (interwiki links fix)
(Changing references to coats of arms to "emblem")
 
(4 intermediate revisions by 2 users not shown)
Line 20: Line 20:
           -->}}<!--
           -->}}<!--
           -->{{#ifeq:{{{micronation|}}}|yes
           -->{{#ifeq:{{{micronation|}}}|yes
               |<span class=" fn org">[[Wikipedia:Micronation]]</span><!--
               |<span class=" fn org">[[Wikipedia:Micronation|Micronation]]</span><!--
           -->|}}<!--
           -->|}}<!--
       --></th>
       --></th>
Line 26: Line 26:
  -->}}<!--
  -->}}<!--
============================================================
============================================================
   Flag / Coat-of-arms (or other symbol)
   Flag / Emblem
============================================================
============================================================
  -->{{#if:{{{image_flag|}}}
  -->{{#if:{{{image_flag|}}}
     |<!----------------------------------------------------
     |<!----------------------------------------------------
         Flag provided, so display it and coat-of-arms (or
         Flag provided, so display it and emblem if provided:
                    other symbol) if provided:
         ----------------------------------------------------
         ----------------------------------------------------
     --><tr class="mergedtoprow">
     --><tr class="mergedtoprow">
           <td class="maptable" colspan="3" style="text-align:center;padding:0.5em 0;"><!--
           <td class="maptable" colspan="3" style="text-align:center;padding:0.5em 0;"><!--
             ------------------------------------------------
             ------------------------------------------------
               Subtable to format coat-of-arms (or symbol)
               Subtable to format emblem
               display. style="text-align:center;"s and "width:auto;"s
               display. style="text-align:center;"s and "width:auto;"s
               are for sake of Internet Explorer.
               are for sake of Internet Explorer.
Line 52: Line 51:
                 {{#if:{{{image_coat|}}}{{{image_symbol|}}}
                 {{#if:{{{image_coat|}}}{{{image_symbol|}}}
                 | <td style="text-align:center;width:auto;vertical-align:middle;"><!--
                 | <td style="text-align:center;width:auto;vertical-align:middle;"><!--
                     -->[[File:{{{image_coat|{{{image_symbol|}}}}}} |{{{symbol_width|85px}}} |alt={{{alt_coat|{{{alt_symbol|}}}}}} |{{{symbol_type|Coat of arms}}} of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}}}}}}}}}}}]]<!--
                     -->[[File:{{{image_coat|{{{image_symbol|}}}}}} |{{{symbol_width|85px}}} |alt={{{alt_coat|{{{alt_symbol|}}}}}} |{{{symbol_type|Emblem}}} of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}}}}}}}}}}}]]<!--
                 --></td>
                 --></td>
                 }}
                 }}
Line 60: Line 59:
               <td style="text-align:center;font-size:85%;">{{#ifexist:Flag of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[Flag of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{flag_caption|Flag}}}]] |Flag }}</td>
               <td style="text-align:center;font-size:85%;">{{#ifexist:Flag of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[Flag of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{flag_caption|Flag}}}]] |Flag }}</td>
               {{#if:{{{image_coat|}}}{{{image_symbol|}}}
               {{#if:{{{image_coat|}}}{{{image_symbol|}}}
               | <td style="text-align:center;font-size:85%;">{{#ifexist:{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{symbol_type|Coat of arms}}}]] |{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} }}</td>
               | <td style="text-align:center;font-size:85%;">{{#ifexist:{{{symbol_type_article|{{{symbol_type|Emblem}}}}}} of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[{{{symbol_type_article|{{{symbol_type|Emblem}}}}}} of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{symbol_type|Emblem}}}]] |{{{symbol_type_article|{{{symbol_type|Emblem}}}}}} }}</td>
               }}
               }}
               </tr><!--
               </tr><!--
Line 68: Line 67:
         </tr><!--
         </tr><!--
  -->|<!-----------------------------------------------------
  -->|<!-----------------------------------------------------
       Flag not provided, so display coat-of-arms or other
       Flag not provided, so display emblem (if provided):
                    symbol (if provided):
       ------------------------------------------------------
       ------------------------------------------------------
   -->{{#if:{{{image_coat|}}}{{{image_symbol|}}}
   -->{{#if:{{{image_coat|}}}{{{image_symbol|}}}
Line 75: Line 73:
           <td class="maptable" colspan="3" style="text-align:center;padding:0.5em 0;"><!--
           <td class="maptable" colspan="3" style="text-align:center;padding:0.5em 0;"><!--
             ----------------------------------------------
             ----------------------------------------------
               Subtable to format coat-of-arms (or symbol)
               Subtable to format emblem display.
               display. style="text-align:center;"s and "width:auto;"s
               style="text-align:center;"s and "width:auto;"s
               are for sake of Internet Explorer.
               are for sake of Internet Explorer.
             ----------------------------------------------
             ----------------------------------------------
Line 83: Line 81:
             --><tr>
             --><tr>
                 <td style="text-align:center;width:auto;vertical-align:middle;"><!--
                 <td style="text-align:center;width:auto;vertical-align:middle;"><!--
                     -->[[File:{{{image_coat|{{{image_symbol|}}}}}} |{{{symbol_width|100px}}} |alt={{{alt_coat|{{{alt_symbol|}}}}}} |{{{symbol_type|Coat of arms}}} of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}}}}}}}}}}}]]</td>
                     -->[[File:{{{image_coat|{{{image_symbol|}}}}}} |{{{symbol_width|100px}}} |alt={{{alt_coat|{{{alt_symbol|}}}}}} |{{{symbol_type|Emblem}}} of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}}}}}}}}}}}]]</td>
               </tr><!--
               </tr><!--
               ----------Caption----------
               ----------Caption----------
             --><tr>
             --><tr>
                 <td style="text-align:center;font-size:85%;"><!--
                 <td style="text-align:center;font-size:85%;"><!--
                   -->{{#ifexist:{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{symbol_type|Coat of arms}}}]]|{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} }}<!--
                   -->{{#ifexist:{{{symbol_type_article|{{{symbol_type|Emblem}}}}}} of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} |[[{{{symbol_type_article|{{{symbol_type|Emblem}}}}}} of {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}} | {{{symbol_type|Emblem}}}]]|{{{symbol_type_article|{{{symbol_type|Emblem}}}}}} }}<!--
               --></td>
               --></td>
               </tr><!--
               </tr><!--
Line 118: Line 116:
           -->{{#if:{{{royal_anthem|}}}
           -->{{#if:{{{royal_anthem|}}}
               | {{#if:{{{national_anthem|}}}{{{anthem|}}} |<br/>}}<!--
               | {{#if:{{{national_anthem|}}}{{{anthem|}}} |<br/>}}<!--
               -->'''[[Wikipedia:Royal anthem]]:&nbsp;'''{{{royal_anthem}}}<!--
               -->'''[[Wikipedia:Royal anthem|Royal anthem]]:&nbsp;'''{{{royal_anthem}}}<!--
           -->}}<!--
           -->}}<!--
       --></td>
       --></td>
Line 212: Line 210:
               ---------Add capital's lat/longitude
               ---------Add capital's lat/longitude
                                     (if provided):---------
                                     (if provided):---------
             -->{{#if:{{{latd|}}}
             -->{{#if:{{{coordinates|}}}
                 |<br/><span style="white-space:nowrap;font-size:85%;"><!--
                 |<br/><span style="white-space:nowrap;font-size:85%;"><!--
                         -->{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}<!--
                         -->{{{coordinates}}}<!--
                              -->|{{{longd}}}|{{{longm}}}|{{{longEW}}}<!--
                              -->|type:city<!--
                        -->}}<!--
                     --></span><!--
                     --></span><!--
             -->}}<!--
             -->}}<!--

Latest revision as of 17:45, 15 November 2021