Difference between revisions of "Template:USState"

From Conservapedia
Jump to navigation Jump to search
(that's a start)
Line 9: Line 9:
 
-->{{#if: {{{nick|}}}|
 
-->{{#if: {{{nick|}}}|
  
−
{{!-}}
+
{{!}}-
 
!Nickname
 
!Nickname
 
{{!}}{{{nick}}}}}<!--
 
{{!}}{{{nick}}}}}<!--
Line 17: Line 17:
 
-->{{#if: {{{language|}}}|
 
-->{{#if: {{{language|}}}|
  
−
{{!-}}
+
{{!}}-
 
!Official Language
 
!Official Language
 
{{!}}{{{language}}}}}
 
{{!}}{{{language}}}}}
 
|-
 
|-
 
!Governor
 
!Governor
−
|[[{{{governor}}}]]{{#ifeq: {{{gparty|}}}|Republican|, [[Republican|R]]}}{{#ifeq: {{{gparty}}}|Democrat|, [[Democrat|D]]}}
+
|[[{{{governor}}}]]{{#switch:{{{gparty|}}}|Republican=[[Republican|R]]|Democrat=[[Democrat|D]]}}
 
|-
 
|-
 
!U.S. Senators
 
!U.S. Senators
−
|[[{{{senator1}}}]]{{#ifeq: {{{s1party}}}|Republican|, [[Republican|R]]}}{{#ifeq: {{{s1party}}}|Democrat|, [[Democrat|D]]}}; [[{{{senator2}}}]]{{#ifeq: {{{s2party}}}|Republican|, [[Republican|R]]}} {{#ifeq: {{{s2party}}}|Democrat|, [[Democrat|D]]}}<!--
+
|[[{{{senator1}}}]]{{#switch:{{{s1party|}}}|Republican=[[Republican|R]]|Democrat=[[Democrat|D]]}}; [[{{{senator2}}}]]{{#switch:{{{s2party|}}}|Republican=[[Republican|R]]|Democrat=[[Democrat|D]]}}<!--
  
 
Population
 
Population
  
 
-->{{#if: {{{population|}}}|
 
-->{{#if: {{{population|}}}|
−
 
+
{{!-}}
−
{{!}}-
 
 
!Population
 
!Population
−
{{!}}{{{population}}}}}
+
{{!}}{{{population}}}|}}
−
|-
+
{{!-}}
 +
{{#if: {{{date|}}}|
 +
{{!}}
 
!Admission to Union
 
!Admission to Union
−
|{{{date}}}
+
{{!}}{{{date}}}|}}
 +
{{!-}}
 
|}
 
|}

Revision as of 21:46, February 9, 2008

{{{name}}}
Capital {{{capital}}}
Governor [[{{{governor}}}]]
U.S. Senators [[{{{senator1}}}]]; [[{{{senator2}}}]]