Difference between revisions of "Template talk:USState"

From Conservapedia
Jump to navigation Jump to search
(substing)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{USState
 +
|name=Example
 +
|nick=nickname
 +
|capital=Capital2
 +
|language=English
 +
|governor=Quimby (who's actually a mayor)
 +
|gparty=Green
 +
|senator1=Average Joe
 +
|s1party=Republican
 +
|senator2=Average Schmoe
 +
|s2party=Democrat
 +
|population=1
 +
|date=2008
 +
}}
  
−
{|class="infobox bordered" style="font-size:85%; float:right;margin-left:5px; width:23em; text-align:left; border:2px solid black;" align="right" cellpadding="5" cellspacing="0" width="250" border=1
+
== Postal Code? ==
−
|+<big>Example</big>
+
 
 +
Anyone who knows how fancy adding a Postal code field? Seems sensible [[User:ChrisSmith|ChrisSmith]] 18:25, 23 August 2008 (EDT)
 +
{{clear}}
 +
==Senators Direct Phone Numbers==
 +
I propose adding the senators direct phone numbers on Capitol Hill. This way you don't have to go through the Capitol switchboard.
 +
 
 +
Here's the modified template:
 +
 
 +
{|class="infobox bordered" style="font-size:85%; float:right;margin-left:5px; width:23em; text-align:left; border:2px solid rgb(154,0,3);" align="right" cellpadding="5" cellspacing="0" width="240" border=0
 +
|+<big><span style="color:rgb(6,47,109)">'''{{{name}}}'''</span></big>
 
|-
 
|-
 
!Capital
 
!Capital
−
|Capital<!--
+
{{!}}{{{capital}}}{{#if: {{{nick|}}}|<br/>
−
 
+
{{!-}}
−
Nickname
 
−
 
 
−
-->{{#if: {{{nick|}}}|
 
−
{{!}}-
 
 
!Nickname
 
!Nickname
−
{{!}}valign="center"{{!}}{{{nick}}}}}<!--
+
{{!}}{{{nick}}}}}{{#if: {{{language|}}}|<br/>
−
 
 
−
Official Language
 
−
 
 
−
-->{{#if: English|
 
 
{{!-}}
 
{{!-}}
−
!Official Language
+
!Official [[Language]]
−
{{!}}valign="center"{{!}}English}}
+
{{!}}{{{language}}}}}
 
|-
 
|-
−
!Governor
+
![[Governor]]
−
|valign="center"|[[Quimby (who's actually a mayor)]]{{#ifeq: Democrat|Republican|, [[Republican|R]]}}{{#ifeq: Democrat|Democrat|, [[Democrat|D]]}}
+
|[[{{{governor}}}]]{{#switch:{{{gparty|}}}|Republican=, [[Republican|R]]|Democrat=, [[Democrat|D]]|Independent=, [[Independent|I]]|, [[{{{gparty}}}]]}}
 
|-
 
|-
−
!U.S. Senators
+
![[United States Senate|Senators]]
−
|valign="center"|[[Average Joe]]{{#ifeq: Republican|Republican|, [[Republican|R]]}}{{#ifeq: Republican|Democrat|, [[Democrat|D]]}}; [[Average Schmoe]]{{#ifeq: Democrat|Republican|, [[Republican|R]]}} {{#ifeq: Democrat|Democrat|, [[Democrat|D]]}}<!--
+
|[[{{{senator1}}}]]{{#switch:{{{s1party|}}}|Republican=, [[Republican|R]]|Democrat=, [[Democrat|D]]|Independent=, [[Independent|I]]|,|, [[{{{s1party}}}]]}}, [[{{{s1phone}}}]]}},[[{{{senator2}}}]]{{#switch:{{{s2party|}}}|Republican=, [[Republican|R]]|Democrat=, [[Democrat|D]]|Independent=, [[Independent|I]]|,|, [[{{{s2party}}}]]}}, [[{{{s2phone}}}]]}}{{#if: {{{population|}}}|<br/>
 +
{{!-}}
 +
!Population
 +
{{!}}{{{population}}}}}{{#if: {{{date|}}}|<br/>
 +
{{!-}}
 +
!Admission to Union
 +
{{!}}{{{date}}}}}
 +
|-
 +
|[[Image:{{{flag}}}|100px|border|Flag of {{{name}}}]]
 +
|<small>'''Motto''': {{{motto}}}</small>
 +
|}<noinclude>
 +
 
  
−
Population
+
*Necessary and needed, IMO, Dean!  Good work! --[[User:TK|'''₮K''']]<sub><small><small>/Admin</small></small></sub><sup>[[User_Talk:TK|/Talk]]</sup> 19:39, 7 February 2009 (EST)
  
−
-->{{#if: 1|
+
==Example==
−
{{!}}-
+
===Shell===
−
!Population
+
<pre>
−
{{!}}1}}
+
<nowiki>
−
|-
+
{{USState
−
!Admission to Union
+
|name=
−
|2008
+
|flag=
−
|}
+
|motto=
 +
|nick=
 +
|capital=
 +
|language=
 +
|governor=
 +
|gparty=
 +
|senator1=
 +
|s1party=
 +
|s1phone=
 +
|senator2=
 +
|s2party=
 +
|s2phone=
 +
|population=
 +
|date=
 +
}}
 +
</nowiki>
 +
</pre>
 +
</noinclude>
 +
--[[User:DeanS|DeanS<sup>talk</sup>]] 09:39, 7 February 2009 (EST)

Latest revision as of 00:39, February 8, 2009

Example
Capital Capital2
Nickname nickname
Official Language English
Governor Quimby (who's actually a mayor), Green
Senator Average Joe, R
{{{s1phone}}}
[{{{s1email}}}]
Senator Average Schmoe, D
{{{s2phone}}}
[{{{s2email }}}]
Population 1
Ratification of Constitution/or statehood 2008
[[File:{{{flag}}}|100px|border|Flag of Example]] Motto: {{{motto}}}

Postal Code?

Anyone who knows how fancy adding a Postal code field? Seems sensible ChrisSmith 18:25, 23 August 2008 (EDT)

Senators Direct Phone Numbers

I propose adding the senators direct phone numbers on Capitol Hill. This way you don't have to go through the Capitol switchboard.

Here's the modified template:

{{{name}}}
Capital {{{capital}}}
Governor [[{{{governor}}}]], [[{{{gparty}}}]]
Senators [[{{{senator1}}}]], [[{{{s1party}}}]], [[{{{s1phone}}}]]}},[[{{{senator2}}}]], [[{{{s2party}}}]], [[{{{s2phone}}}]]}}
[[Image:{{{flag}}}|100px|border|Flag of {{{name}}}]] Motto: {{{motto}}}


  • Necessary and needed, IMO, Dean! Good work! --₮K/Admin/Talk 19:39, 7 February 2009 (EST)

Example

Shell


{{USState
|name=
|flag=
|motto=
|nick=
|capital=
|language=
|governor=
|gparty=
|senator1=
|s1party=
|s1phone=
|senator2=
|s2party=
|s2phone=
|population=
|date=
}}

--DeanStalk 09:39, 7 February 2009 (EST)