Template:Infobox country: Difference between revisions

From RabastorWiki
Jump to navigation Jump to search
(included nationalities section, added "of %NATION%" to ethnic groups link)
No edit summary
Line 919: Line 919:
     | <tr>
     | <tr>
         <th colspan="2" style="vertical-align:middle;">{{#ifeq:{{{micronation|}}}|yes|Purported currency|Currency}}</th>
         <th colspan="2" style="vertical-align:middle;">{{#ifeq:{{{micronation|}}}|yes|Purported currency|Currency}}</th>
           <td>{{{currency}}} {{#if:{{{currency_code|}}} |([[ISO 4217|{{{currency_code}}}]])}}</td>
           <td>{{{currency}}} {{#if:{{{currency_code|}}} |([[{{{currency}}}|{{{currency_code}}}]])}}</td>
       </tr><!--
       </tr><!--
  -->}}<!--
  -->}}<!--
Line 997: Line 997:
  -->}}<!--
  -->}}<!--
============================================================
============================================================
   ISO 3166 code
   NS Sport Trigramme
============================================================
============================================================
  -->{{#switch:{{{iso3166code|}}}
  -->{{#switch:{{{trigramme|}}}
     |omit = <!--(do nothing)-->
     |omit = <!--(do nothing)-->
     | = <!--if iso3166code is not supplied:
     | = <!--if trigramme is not supplied:
           -->{{#if:{{{common_name|}}}
           -->{{#if:{{{common_name|}}}
               | {{#ifexist:Template:ISO 3166 code {{{common_name|}}}
               | {{#ifexist:Template:Trigramme {{{common_name|}}}
                 | <tr class="mergedtoprow">
                 | <tr class="mergedtoprow">
                     <th colspan="2" style="white-space:nowrap;">[[ISO 3166|ISO 3166 code]]</th>
                     <th colspan="2" style="white-space:nowrap;">[[NS Sports Trigramme|Trigramme]]</th>
                     <td>[[ISO 3166-2:{{ISO 3166 code {{{common_name}}}}}|{{ISO 3166 code {{{common_name}}}}}]]</td>
                     <td>[[Trigramme:{{Trigramme {{{common_name}}}}}|{{Trigrammee {{{common_name}}}}}]]</td>
                   </tr>
                   </tr>
                 }}
                 }}
             }}
             }}
     |#default = <tr>
     |#default = <tr>
                   <th colspan="2" style="white-space:nowrap;">[[ISO 3166|ISO 3166 code]]</th>
                   <th colspan="2" style="white-space:nowrap;">[[NS Sports Trigramme|Trigramme]]</th>
                   <td>[[ISO 3166-2:{{uc:{{{iso3166code}}}}}|{{uc:{{{iso3166code}}}}}]]</td>
                   <td>[[Trigramme:{{uc:{{{trigramme}}}}}|{{uc:{{{trigramme}}}}}]]</td>
                 </tr>
                 </tr>
     }}<!--
     }}<!--
Line 1,020: Line 1,020:
  -->{{#if:{{{cctld|}}}
  -->{{#if:{{{cctld|}}}
     | <tr>
     | <tr>
         <th colspan="2">[[Country code top-level domain|Internet TLD]]</th>
         <th colspan="2">[[wikipedia:Country code top-level domain|Internet TLD]]</th>
         <td>{{{cctld}}}</td>
         <td>{{{cctld}}}</td>
       </tr><!--
       </tr><!--

Revision as of 03:58, 19 July 2015

Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory