Difference between revisions of "Template:Incentive Contact"

From Open Energy Information

(Auto push by CreateTemplate program)
 
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Incentive Contact
 
{{Incentive Contact
|department=
+
|IncentiveContactName=
|division=
+
|IncentiveContactDepartment=
|address1=
+
|IncentiveContactDivision=
|address2=
+
|IncentiveContactAddress1=
|Place=
+
|IncentiveContactAddress2=
|zip=
+
|IncentiveContactPlace=
|phone=
+
|IncentiveContactZip=
|phone2=
+
|IncentiveContactPhone=
|fax=
+
|IncentiveContactWebsite=
|e-mail=
 
|e-mail2=
 
|fax=
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 21: Line 18:
 
</noinclude>
 
</noinclude>
 
<includeonly>'''Incentive Contact'''
 
<includeonly>'''Incentive Contact'''
{| class="wikitable" border="1" style="margin-left:20px;"
+
{| class="wikitable"
{{#if:{{{department|}}}|{{#!:
+
{{#if:{{{IncentiveContactName|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
   ! align="right" | [[Property:department|Department]]
+
   ! align="right" | [[Property:IncentiveContactName|Contact Name]]
   | [[department::{{{department|}}}]]
+
   | [[IncentiveContactName::{{{IncentiveContactName|}}}]]
 
}}|{{blank}}}}
 
}}|{{blank}}}}
{{#if:{{{division|}}}|{{#!:
+
{{#if:{{{IncentiveContactDepartment|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
   ! align="right" | [[Property:division|Division]]
+
   ! align="right" | [[Property:IncentiveContactDepartment|Department]]
   | [[division::{{{division|}}}]]
+
   | [[IncentiveContactDepartment::{{{IncentiveContactDepartment|}}}]]
 
}}|{{blank}}}}
 
}}|{{blank}}}}
{{#if:{{{address1|}}}|{{#!:
+
{{#if:{{{IncentiveContactDivision|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
   ! align="right" | [[Property:address1|Address 1]]
+
   ! align="right" | [[Property:IncentiveContactDivision|Division]]
   | [[address1::{{{address1|}}}]]
+
   | [[IncentiveContactDivision::{{{IncentiveContactDivision|}}}]]
 
}}|{{blank}}}}
 
}}|{{blank}}}}
{{#if:{{{address2|}}}|{{#!:
+
{{#if:{{{IncentiveContactAddress1|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
   ! align="right" | [[Property:address2|Address 2]]
+
   ! align="right" | [[Property:IncentiveContactAddress1|Address]]
   | [[address2::{{{address2|}}}]]
+
   | [[IncentiveContactAddress1::{{{IncentiveContactAddress1|}}}]]
 
}}|{{blank}}}}
 
}}|{{blank}}}}
{{#if:{{{Place|}}}|{{#!:
+
{{#if:{{{IncentiveContactAddress2|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
   ! align="right" | [[Property:Place|City, State]]
+
   ! align="right" | [[Property:IncentiveContactAddress2|Address 2]]
   | [[Place::{{{Place|}}}]]
+
   | [[IncentiveContactAddress2::{{{IncentiveContactAddress2|}}}]]
 
}}|{{blank}}}}
 
}}|{{blank}}}}
{{#if:{{{zip|}}}|{{#!:
+
{{#if:{{{IncentiveContactPlace|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
   ! align="right" | [[Property:zip|Zip]]
+
   ! align="right" | [[Property:IncentiveContactPlace|City, State]]
   | [[zip::{{{zip|}}}]]
+
   | [[IncentiveContactPlace::{{{IncentiveContactPlace|}}}]]
 
}}|{{blank}}}}
 
}}|{{blank}}}}
{{#if:{{{phone|}}}|{{#!:
+
{{#if:{{{IncentiveContactZip|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
   ! align="right" | [[Property:phone|Phone]]
+
   ! align="right" | [[Property:IncentiveContactZip|Zip]]
   | [[phone::{{{phone|}}}]]
+
   | [[IncentiveContactZip::{{{IncentiveContactZip|}}}]]
 
}}|{{blank}}}}
 
}}|{{blank}}}}
{{#if:{{{phone2|}}}|{{#!:
+
{{#if:{{{IncentiveContactPhone|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
   ! align="right" | [[Property:phone2|Phone 2]]
+
   ! align="right" | [[Property:IncentiveContactPhone|Phone]]
   | [[phone2::{{{phone2|}}}]]
+
   | [[IncentiveContactPhone::{{{IncentiveContactPhone|}}}]]
 
}}|{{blank}}}}
 
}}|{{blank}}}}
{{#if:{{{fax|}}}|{{#!:
+
{{#if:{{{IncentiveContactWebsite|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
   ! align="right" | [[Property:fax|Fax]]
+
   ! align="right" | [[Property:IncentiveContactWebsite|Website]]
   | [[fax::{{{fax|}}}]]
+
   | [[IncentiveContactWebsite::{{{IncentiveContactWebsite|}}}]]
}}|{{blank}}}}
 
{{#if:{{{e-mail|}}}|{{#!:
 
  |- valign="top"
 
  ! align="right" | [[Property:e-mail|E-Mail]]
 
  | [[e-mail::{{{e-mail|}}}]]
 
}}|{{blank}}}}
 
{{#if:{{{e-mail2|}}}|{{#!:
 
  |- valign="top"
 
  ! align="right" | [[Property:e-mail2|E-Mail 2]]
 
  | [[e-mail2::{{{e-mail2|}}}]]
 
}}|{{blank}}}}
 
{{#if:{{{fax|}}}|{{#!:
 
  |- valign="top"
 
  ! align="right" | [[Property:fax|Fax]]
 
  | [[fax::{{{fax|}}}]]
 
 
}}|{{blank}}}}
 
}}|{{blank}}}}
 
|}
 
|}
 
[[Category:Incentive Contacts]]</includeonly>
 
[[Category:Incentive Contacts]]</includeonly>

Revision as of 02:32, 16 September 2009

This is the Incentive Contact template. It should be called in the following format:

{{Incentive Contact
|IncentiveContactName=
|IncentiveContactDepartment=
|IncentiveContactDivision=
|IncentiveContactAddress1=
|IncentiveContactAddress2=
|IncentiveContactPlace=
|IncentiveContactZip=
|IncentiveContactPhone=
|IncentiveContactWebsite=
}}

Edit the page to see the template text.