Difference between revisions of "Template:Infobox country"

From NSWiki
Jump to: navigation, search
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 973: Line 973:
 
   WA Status
 
   WA Status
 
============================================================
 
============================================================
  -->{{#if:{{{wa_status|}}}
+
  -->{{#ifexpr:{{{wa_status|}}}="Member"-->
 
     | <tr>
 
     | <tr>
 
         <td colspan="3" style="text-align:center;line-height:11pt;"><!--
 
         <td colspan="3" style="text-align:center;line-height:11pt;"><!--

Revision as of 19:44, 20 January 2014

Expression error: Unexpected = operator.
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