Difference between revisions of "Template:Infobox country"

From NSWiki
Jump to: navigation, search
 
(24 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
     | <tr class="adr">
 
     | <tr class="adr">
 
         <th colspan="3" align="center" class="mergedtoprow"
 
         <th colspan="3" align="center" class="mergedtoprow"
             style="padding:0.25em 0.33em 0.33em;line-height:1.2em;font-size:1.25em;"><!--
+
             style="padding:0.25emw 0.33em 0.33em;line-height:1.2em;font-size:1.25em;"><!--
 
           -->{{#if:{{{conventional_long_name|}}}
 
           -->{{#if:{{{conventional_long_name|}}}
 
               |<span class=" fn org country-name">{{{conventional_long_name|}}}</span><!--
 
               |<span class=" fn org country-name">{{{conventional_long_name|}}}</span><!--
Line 104: Line 104:
 
     | <tr>
 
     | <tr>
 
         <td colspan="3" style="text-align:center;line-height:1.2em;"><!--
 
         <td colspan="3" style="text-align:center;line-height:1.2em;"><!--
           -->'''Motto:&nbsp;'''{{{motto|{{{national_motto|}}}}}}</td>
+
           -->'''[[Motto]]:&nbsp;'''{{{motto|{{{national_motto|}}}}}}</td>
 
       </tr><!--
 
       </tr><!--
 
  -->}}<!--
 
  -->}}<!--
 
============================================================
 
============================================================
   Anthem/s
+
   Anthem
 
============================================================
 
============================================================
  -->{{#if:{{{national_anthem|}}}{{{anthem|}}}{{{royal_anthem|}}}
+
  -->{{#if:{{{national_anthem|}}}{{{motto|}}}
 
     | <tr>
 
     | <tr>
         <td class="anthem" colspan="3" style="text-align:center;line-height:1.2em;"><!--
+
         <td colspan="3" style="text-align:center;line-height:1.2em;"><!--
           -->{{#if:{{{national_anthem|}}}{{{anthem|}}}
+
           -->'''[[Anthem]]:&nbsp;'''{{{motto|{{{national_anthem|}}}}}}</td>
              |'''Anthem:&nbsp;'''{{{national_anthem|{{{anthem|}}}}}}
+
      </tr><!--
              }}<!--
+
-->}}<!--
          -->{{#if:{{{royal_anthem|}}}
+
============================================================
              | {{#if:{{{national_anthem|}}}{{{anthem|}}} |<br/>}}<!--
+
  WA Membership
              -->'''{{wp|Royal anthem|Royal Anthem}}:&nbsp;'''{{{royal_anthem}}}<!--
+
============================================================
           -->}}<!--
+
-->{{#if:{{{wa_member|}}}
      --></td>
+
    | <tr>
 +
        <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!--
 +
          -->[[File:Wa_member.png|center<!--
 +
                -->|100px<!--
 +
                -->|alt="World Assembly Member"<!--
 +
          -->]]<!--
 +
        </td>
 +
      </tr><!--
 +
-->}}<!--
 +
============================================================
 +
  WA Delegate
 +
============================================================
 +
-->{{#if:{{{wa_delegate|}}}
 +
    | <tr>
 +
        <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!--
 +
          -->[[File:Wa_delegate.png|center<!--
 +
                -->|100px<!--
 +
                -->|alt="World Assembly Delegate"<!--
 +
          -->]]<!--
 +
        </td>
 +
      </tr><!--
 +
-->}}<!--
 +
============================================================
 +
  Influence
 +
============================================================
 +
-->{{#if:{{{influence|}}}
 +
    | <tr class="mergedtoprow">
 +
        <td colspan="2"><!--
 +
           --><b>[[Influence]]</b>
 +
        </td>
 +
        <td><!--
 +
          --><div>{{{influence|}}}<span title="Soft Power Disbursement Rating"> ({{{spdr|}}})</span></div>
 +
        </td>
 
       </tr><!--
 
       </tr><!--
 
  -->}}<!--
 
  -->}}<!--
Line 141: Line 173:
 
         <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!--
 
         <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!--
 
           -->[[File:{{{image_map}}}|center<!--
 
           -->[[File:{{{image_map}}}|center<!--
                 -->|{{{map_width|250px}}}<!--
+
                 -->|{{{map_width|220px}}}<!--
 
                 -->|alt={{{alt_map|{{{map_caption|}}}}}}<!--
 
                 -->|alt={{{alt_map|{{{map_caption|}}}}}}<!--
 
                 -->|{{{alt_map|{{{map_caption|Location of {{{common_name|{{{linking_name|{{PAGENAME}} }}}}}}}}}}}}<!--
 
                 -->|{{{alt_map|{{{map_caption|Location of {{{common_name|{{{linking_name|{{PAGENAME}} }}}}}}}}}}}}<!--
Line 153: Line 185:
 
         <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!--
 
         <td colspan="3" style="padding:0.6em 0 0.3em;text-align:center;"><!--
 
           -->[[File:{{{image_map2}}}|center<!--
 
           -->[[File:{{{image_map2}}}|center<!--
                 -->|{{{map2_width|280px}}}<!--
+
                 -->|{{{map2_width|220px}}}<!--
 
                 -->|alt={{{alt_map2|{{{map_caption2|}}}}}}<!--
 
                 -->|alt={{{alt_map2|{{{map_caption2|}}}}}}<!--
 
                 -->|{{{alt_map2|{{{map_caption2|Location of {{{common_name|{{{linking_name|{{PAGENAME}} }}}}}}}}}}}}<!--
 
                 -->|{{{alt_map2|{{{map_caption2|Location of {{{common_name|{{{linking_name|{{PAGENAME}} }}}}}}}}}}}}<!--
Line 160: Line 192:
 
         </td>
 
         </td>
 
       </tr><!--
 
       </tr><!--
 +
-->}}<!--
 +
============================================================
 +
  Region
 +
============================================================
 +
-->{{#if:{{{region|}}}
 +
    | <tr>
 +
        <th colspan="2">[[Region]]</th>
 +
        <td>{{#ifexist:{{{region}}} people
 +
            | [[{{{region}}} people|{{{region}}}]]
 +
            | [[Region/{{{region}}}|{{{region}}}]]<!--
 +
        -->}}<!--
 +
    --></td>
 +
      </tr><!--
 
  -->}}<!--
 
  -->}}<!--
 
============================================================
 
============================================================
Line 453: Line 498:
 
       ---------Establishment----------
 
       ---------Establishment----------
 
         -->| {{#if:{{{established|}}}
 
         -->| {{#if:{{{established|}}}
               | <th colspan="2">Establishment</th>
+
               | <th colspan="2">[[Establishment]]</th>
 
                 <td>{{{established}}}</td><!--
 
                 <td>{{{established}}}</td><!--
 
           -->| <th colspan="3">Establishment</th><!--
 
           -->| <th colspan="3">Establishment</th><!--
Line 726: Line 771:
 
         <td style="padding-left:0;">Total</td>
 
         <td style="padding-left:0;">Total</td>
 
         <td>{{{GDP_PPP}}}<!--
 
         <td>{{{GDP_PPP}}}<!--
             -->{{#if:{{{GDP_PPP_rank|}}} |&#32;({{wp|List of countries by GDP (PPP)|{{{GDP_PPP_rank}}}}})}}</td>
+
             -->{{#if:{{{GDP_PPP_rank|}}} |&#32;({{wp|List of countries by GDP (PPP)|{{{GDP_PPP_rank}}}}})}}<!--
 +
-->{{#if:{{{GDP_PPP_local|}}} |<br />({{{GDP_PPP_local}}})}}</td>
 
       </tr><!--
 
       </tr><!--
 
     -------(PPP per capita)-------
 
     -------(PPP per capita)-------
Line 734: Line 780:
 
             <td style="padding-left:0;">Per capita</td>
 
             <td style="padding-left:0;">Per capita</td>
 
             <td>{{{GDP_PPP_per_capita}}}<!--
 
             <td>{{{GDP_PPP_per_capita}}}<!--
                 -->{{#if:{{{GDP_PPP_per_capita_rank|}}} |&#32;({{wp|List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}}})}}</td>
+
                 -->{{#if:{{{GDP_PPP_per_capita_rank|}}} |&#32;({{wp|List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}}})}}<!--
 +
-->{{#if:{{{GDP_PPP_per_capita_local|}}} |<br />({{{GDP_PPP_per_capita_local}}})}}</td>
 
           </tr><!--
 
           </tr><!--
 
     -->}}<!--
 
     -->}}<!--
Line 748: Line 795:
 
         <td style="padding-left:0;">Total</td>
 
         <td style="padding-left:0;">Total</td>
 
         <td>{{{GDP_nominal}}}<!--
 
         <td>{{{GDP_nominal}}}<!--
             -->{{#if:{{{GDP_nominal_rank|}}} |&#32;({{wp|List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}}})}}</td>
+
             -->{{#if:{{{GDP_nominal_rank|}}} |&#32;({{wp|List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}}})}}<!--
 +
-->{{#if:{{{GDP_nominal_local|}}} |<br />({{{GDP_nominal_local}}})}}</td>
 
       </tr><!--
 
       </tr><!--
 
     -------(Nominal per capita)-------
 
     -------(Nominal per capita)-------
Line 756: Line 804:
 
             <td style="padding-left:0;">Per capita</td>
 
             <td style="padding-left:0;">Per capita</td>
 
             <td>{{{GDP_nominal_per_capita}}}<!--
 
             <td>{{{GDP_nominal_per_capita}}}<!--
                 -->{{#if:{{{GDP_nominal_per_capita_rank|}}} |&#32;({{wp|List of countries by GDP (nominal) per capita|{{{GDP_nominal_per_capita_rank}}}}})}}</td>
+
                 -->{{#if:{{{GDP_nominal_per_capita_rank|}}} |&#32;({{wp|List of countries by GDP (nominal) per capita|{{{GDP_nominal_per_capita_rank}}}}})}}<!--
 +
-->{{#if:{{{GDP_nominal_per_capita_local|}}} |<br />({{{GDP_nominal_per_capita_local}}})}}</td>
 
           </tr><!--
 
           </tr><!--
 
     -->}}<!--
 
     -->}}<!--
Line 968: Line 1,017:
 
         <td colspan="3" style="text-align:center;line-height:11pt;"><!--
 
         <td colspan="3" style="text-align:center;line-height:11pt;"><!--
 
           -->'''Website'''<br/>{{{official_website}}}</td>
 
           -->'''Website'''<br/>{{{official_website}}}</td>
      </tr><!--
 
-->}}<!--
 
============================================================
 
  WA Status
 
============================================================
 
-->{{#if:{{{wa_status|}}}
 
    | <tr>
 
        <td colspan="3" style="text-align:center;line-height:11pt;"><!--
 
          -->'''WA Status'''<br/><img src="http://antiquity.nationstates.net/images/wa_member.gif" alt="WA Member"> </td>
 
 
       </tr><!--
 
       </tr><!--
 
  -->}}<!--
 
  -->}}<!--

Latest revision as of 19:53, 4 March 2014

Documentation icon Template documentation[view] [edit] [history] [purge]

This Infobox template is used to generate an infobox for the righthand side of two specific types of article: on a country or territory, or on a geopolitical organisation. The syntax (format) of parameters and examples are detailed in the collapsed show/hide sections immediately below.

Syntax

Examples