Difference between revisions of "Template:Incentive Contact"

From Open Energy Information

m (Text replacement - "{{blank}}" to "")
 
(4 intermediate revisions by one other user not shown)
Line 56: Line 56:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude>
 
</noinclude>
<includeonly>{{#if:{{{Incentive/ContDept|}}}|{{#!:[[Category:Incentive with Contacts]]'''Incentive Contact'''
+
<includeonly>{{#if:{{{Incentive/ContName|}}}|{{#vardefine:displayit|yes}}|}}{{#if:{{{Incentive/ContDept|}}}|{{#vardefine:displayit|yes}}|}} {{#if:{{{Incentive/ContDiv|}}}|{{#vardefine:displayit|yes}}|}} {{#if:{{{Incentive/ContEmail|}}}|{{#vardefine:displayit|yes}}|}} {{#if:{{{Incentive/ContWebsite|}}}|{{#vardefine:displayit|yes}}|}} {{#if:{{{Incentive/ContPhone|}}}|{{#vardefine:displayit|yes}}|}}
 +
{{#ifeq: {{#var:displayit}}|yes|{{#!:[[Category:Incentive with Contacts]]{{#ifcategory:EZFeed Policies|'''Policy Contact'''|'''Incentive Contact'''|}}
 
{| class="wikitable"
 
{| class="wikitable"
 
{{#if:{{{Incentive/ContName|}}}|{{#!:
 
{{#if:{{{Incentive/ContName|}}}|{{#!:
Line 62: Line 63:
 
   ! align="right" | [[Property:Incentive/ContName|Contact Name]]
 
   ! align="right" | [[Property:Incentive/ContName|Contact Name]]
 
   | [[Incentive/ContName::{{{Incentive/ContName|}}}]]
 
   | [[Incentive/ContName::{{{Incentive/ContName|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/ContDept|}}}|{{#!:
 
{{#if:{{{Incentive/ContDept|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/ContDept|Department]]
 
   ! align="right" | [[Property:Incentive/ContDept|Department]]
 
   | [[Incentive/ContDept::{{{Incentive/ContDept|}}}]]
 
   | [[Incentive/ContDept::{{{Incentive/ContDept|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/ContDiv|}}}|{{#!:
 
{{#if:{{{Incentive/ContDiv|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/ContDiv|Division]]
 
   ! align="right" | [[Property:Incentive/ContDiv|Division]]
 
   | [[Incentive/ContDiv::{{{Incentive/ContDiv|}}}]]
 
   | [[Incentive/ContDiv::{{{Incentive/ContDiv|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/ContAddr|}}}|{{#!:
 
{{#if:{{{Incentive/ContAddr|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/ContAddr|Address]]
 
   ! align="right" | [[Property:Incentive/ContAddr|Address]]
 
   | [[Incentive/ContAddr::{{{Incentive/ContAddr|}}}]]
 
   | [[Incentive/ContAddr::{{{Incentive/ContAddr|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/ContAddr2|}}}|{{#!:
 
{{#if:{{{Incentive/ContAddr2|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/ContAddr2|Address 2]]
 
   ! align="right" | [[Property:Incentive/ContAddr2|Address 2]]
 
   | [[Incentive/ContAddr2::{{{Incentive/ContAddr2|}}}]]
 
   | [[Incentive/ContAddr2::{{{Incentive/ContAddr2|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/ContPlace|}}}|{{#!:
 
{{#if:{{{Incentive/ContPlace|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/ContPlace|Place]]
 
   ! align="right" | [[Property:Incentive/ContPlace|Place]]
 
   | [[Incentive/ContPlace::{{{Incentive/ContPlace|}}}]]
 
   | [[Incentive/ContPlace::{{{Incentive/ContPlace|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/ContZip|}}}|{{#!:
 
{{#if:{{{Incentive/ContZip|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/ContZip|Zip/Postal Code]]
 
   ! align="right" | [[Property:Incentive/ContZip|Zip/Postal Code]]
 
   | [[Incentive/ContZip::{{{Incentive/ContZip|}}}]]
 
   | [[Incentive/ContZip::{{{Incentive/ContZip|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/ContPhone|}}}|{{#!:
 
{{#if:{{{Incentive/ContPhone|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/ContPhone|Phone]]
 
   ! align="right" | [[Property:Incentive/ContPhone|Phone]]
 
   | [[Incentive/ContPhone::{{{Incentive/ContPhone|}}}]]
 
   | [[Incentive/ContPhone::{{{Incentive/ContPhone|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/ContPhone2|}}}|{{#!:
 
{{#if:{{{Incentive/ContPhone2|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/ContPhone2|Phone 2]]
 
   ! align="right" | [[Property:Incentive/ContPhone2|Phone 2]]
 
   | [[Incentive/ContPhone2::{{{Incentive/ContPhone2|}}}]]
 
   | [[Incentive/ContPhone2::{{{Incentive/ContPhone2|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/ContFax|}}}|{{#!:
 
{{#if:{{{Incentive/ContFax|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/ContFax|Fax]]
 
   ! align="right" | [[Property:Incentive/ContFax|Fax]]
 
   | [[Incentive/ContFax::{{{Incentive/ContFax|}}}]]
 
   | [[Incentive/ContFax::{{{Incentive/ContFax|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/ContEmail|}}}|{{#!:
 
{{#if:{{{Incentive/ContEmail|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/ContEmail|Email]]
 
   ! align="right" | [[Property:Incentive/ContEmail|Email]]
 
   | [[Incentive/ContEmail::{{{Incentive/ContEmail|}}}]]
 
   | [[Incentive/ContEmail::{{{Incentive/ContEmail|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/ContWebsite|}}}|{{#!:
 
{{#if:{{{Incentive/ContWebsite|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/ContWebsite|Website]]
 
   ! align="right" | [[Property:Incentive/ContWebsite|Website]]
 
   | [[Incentive/ContWebsite::{{{Incentive/ContWebsite|}}}]]
 
   | [[Incentive/ContWebsite::{{{Incentive/ContWebsite|}}}]]
}}|{{blank}}}}
+
}}|}}
|} }}|{{blank}}}}
+
|} }}|}}  {{#if:{{{Incentive/Cont2Name|}}}|{{#vardefine:displayit2|yes}}|}}{{#if:{{{Incentive/Cont2Dept|}}}|{{#vardefine:displayit2|yes}}|}} {{#if:{{{Incentive/Cont2Div|}}}|{{#vardefine:displayit2|yes}}|}} {{#if:{{{Incentive/Cont2Email|}}}|{{#vardefine:displayit2|yes}}|}} {{#if:{{{Incentive/Cont2Website|}}}|{{#vardefine:displayit2|yes}}|}} {{#if:{{{Incentive/Cont2Phone|}}}|{{#vardefine:displayit2|yes}}|}}
{{#if:{{{Incentive/Cont2Name|}}}|{{#!:
+
{{#ifeq:{{#var:displayit2}}|yes|{{#!:
 
{| class="wikitable"
 
{| class="wikitable"
 
{{#if:{{{Incentive/Cont2Name|}}}|{{#!:
 
{{#if:{{{Incentive/Cont2Name|}}}|{{#!:
Line 125: Line 126:
 
   ! align="right" | [[Property:Incentive/Cont2Name|Contact Name]]
 
   ! align="right" | [[Property:Incentive/Cont2Name|Contact Name]]
 
   | [[Incentive/Cont2Name::{{{Incentive/Cont2Name|}}}]]
 
   | [[Incentive/Cont2Name::{{{Incentive/Cont2Name|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont2Dept|}}}|{{#!:
 
{{#if:{{{Incentive/Cont2Dept|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont2Dept|Department]]
 
   ! align="right" | [[Property:Incentive/Cont2Dept|Department]]
 
   | [[Incentive/Cont2Dept::{{{Incentive/Cont2Dept|}}}]]
 
   | [[Incentive/Cont2Dept::{{{Incentive/Cont2Dept|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont2Div|}}}|{{#!:
 
{{#if:{{{Incentive/Cont2Div|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont2Div|Division]]
 
   ! align="right" | [[Property:Incentive/Cont2Div|Division]]
 
   | [[Incentive/Cont2Div::{{{Incentive/Cont2Div|}}}]]
 
   | [[Incentive/Cont2Div::{{{Incentive/Cont2Div|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont2Addr|}}}|{{#!:
 
{{#if:{{{Incentive/Cont2Addr|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont2Addr|Address]]
 
   ! align="right" | [[Property:Incentive/Cont2Addr|Address]]
 
   | [[Incentive/Cont2Addr::{{{Incentive/Cont2Addr|}}}]]
 
   | [[Incentive/Cont2Addr::{{{Incentive/Cont2Addr|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont2Addr2|}}}|{{#!:
 
{{#if:{{{Incentive/Cont2Addr2|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont2Addr2|Address 2]]
 
   ! align="right" | [[Property:Incentive/Cont2Addr2|Address 2]]
 
   | [[Incentive/Cont2Addr2::{{{Incentive/Cont2Addr2|}}}]]
 
   | [[Incentive/Cont2Addr2::{{{Incentive/Cont2Addr2|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont2Place|}}}|{{#!:
 
{{#if:{{{Incentive/Cont2Place|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont2Place|Place]]
 
   ! align="right" | [[Property:Incentive/Cont2Place|Place]]
 
   | [[Incentive/Cont2Place::{{{Incentive/Cont2Place|}}}]]
 
   | [[Incentive/Cont2Place::{{{Incentive/Cont2Place|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont2Zip|}}}|{{#!:
 
{{#if:{{{Incentive/Cont2Zip|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont2Zip|Zip/Postal Code]]
 
   ! align="right" | [[Property:Incentive/Cont2Zip|Zip/Postal Code]]
 
   | [[Incentive/Cont2Zip::{{{Incentive/Cont2Zip|}}}]]
 
   | [[Incentive/Cont2Zip::{{{Incentive/Cont2Zip|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont2Phone|}}}|{{#!:
 
{{#if:{{{Incentive/Cont2Phone|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont2Phone|Phone]]
 
   ! align="right" | [[Property:Incentive/Cont2Phone|Phone]]
 
   | [[Incentive/Cont2Phone::{{{Incentive/Cont2Phone|}}}]]
 
   | [[Incentive/Cont2Phone::{{{Incentive/Cont2Phone|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont2Phone2|}}}|{{#!:
 
{{#if:{{{Incentive/Cont2Phone2|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont2Phone2|Phone 2]]
 
   ! align="right" | [[Property:Incentive/Cont2Phone2|Phone 2]]
 
   | [[Incentive/Cont2Phone2::{{{Incentive/Cont2Phone2|}}}]]
 
   | [[Incentive/Cont2Phone2::{{{Incentive/Cont2Phone2|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont2Fax|}}}|{{#!:
 
{{#if:{{{Incentive/Cont2Fax|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont2Fax|Fax ]]
 
   ! align="right" | [[Property:Incentive/Cont2Fax|Fax ]]
 
   | [[Incentive/Cont2Fax::{{{Incentive/Cont2Fax|}}}]]
 
   | [[Incentive/Cont2Fax::{{{Incentive/Cont2Fax|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont2Email|}}}|{{#!:
 
{{#if:{{{Incentive/Cont2Email|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont2Email|Email]]
 
   ! align="right" | [[Property:Incentive/Cont2Email|Email]]
 
   | [[Incentive/Cont2Email::{{{Incentive/Cont2Email|}}}]]
 
   | [[Incentive/Cont2Email::{{{Incentive/Cont2Email|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont2Website|}}}|{{#!:
 
{{#if:{{{Incentive/Cont2Website|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont2Website|Website]]
 
   ! align="right" | [[Property:Incentive/Cont2Website|Website]]
 
   | [[Incentive/Cont2Website::{{{Incentive/Cont2Website|}}}]]
 
   | [[Incentive/Cont2Website::{{{Incentive/Cont2Website|}}}]]
}}|{{blank}}}}
+
}}|}}
|} }}|{{blank}}}}
+
|} }}|}} {{#if:{{{Incentive/Cont3Name|}}}|{{#vardefine:displayit3|yes}}|}}{{#if:{{{Incentive/Cont3Dept|}}}|{{#vardefine:displayit3|yes}}|}} {{#if:{{{Incentive/Cont3Div|}}}|{{#vardefine:displayit3|yes}}|}} {{#if:{{{Incentive/Cont3Email|}}}|{{#vardefine:displayit3|yes}}|}} {{#if:{{{Incentive/Cont3Website|}}}|{{#vardefine:displayit3|yes}}|}} {{#if:{{{Incentive/Cont3Phone|}}}|{{#vardefine:displayit3|yes}}|}}
{{#if:{{{Incentive/Cont3Name|}}}|{{#!:
+
{{#ifeq:{{#var:displayit3}}|yes|{{#!:
 
{| class="wikitable"
 
{| class="wikitable"
 
{{#if:{{{Incentive/Cont3Name|}}}|{{#!:
 
{{#if:{{{Incentive/Cont3Name|}}}|{{#!:
Line 188: Line 189:
 
   ! align="right" | [[Property:Incentive/Cont3Name|Contact Name]]
 
   ! align="right" | [[Property:Incentive/Cont3Name|Contact Name]]
 
   | [[Incentive/Cont3Name::{{{Incentive/Cont3Name|}}}]]
 
   | [[Incentive/Cont3Name::{{{Incentive/Cont3Name|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont3Dept|}}}|{{#!:
 
{{#if:{{{Incentive/Cont3Dept|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont3Dept|Department]]
 
   ! align="right" | [[Property:Incentive/Cont3Dept|Department]]
 
   | [[Incentive/Cont3Dept::{{{Incentive/Cont3Dept|}}}]]
 
   | [[Incentive/Cont3Dept::{{{Incentive/Cont3Dept|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont3Div|}}}|{{#!:
 
{{#if:{{{Incentive/Cont3Div|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont3Div|Division]]
 
   ! align="right" | [[Property:Incentive/Cont3Div|Division]]
 
   | [[Incentive/Cont3Div::{{{Incentive/Cont3Div|}}}]]
 
   | [[Incentive/Cont3Div::{{{Incentive/Cont3Div|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont3Addr|}}}|{{#!:
 
{{#if:{{{Incentive/Cont3Addr|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont3Addr|Address]]
 
   ! align="right" | [[Property:Incentive/Cont3Addr|Address]]
 
   | [[Incentive/Cont3Addr::{{{Incentive/Cont3Addr|}}}]]
 
   | [[Incentive/Cont3Addr::{{{Incentive/Cont3Addr|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont3Addr2|}}}|{{#!:
 
{{#if:{{{Incentive/Cont3Addr2|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont3Addr2|Address 2]]
 
   ! align="right" | [[Property:Incentive/Cont3Addr2|Address 2]]
 
   | [[Incentive/Cont3Addr2::{{{Incentive/Cont3Addr2|}}}]]
 
   | [[Incentive/Cont3Addr2::{{{Incentive/Cont3Addr2|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont3Place|}}}|{{#!:
 
{{#if:{{{Incentive/Cont3Place|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont3Place|Place]]
 
   ! align="right" | [[Property:Incentive/Cont3Place|Place]]
 
   | [[Incentive/Cont3Place::{{{Incentive/Cont3Place|}}}]]
 
   | [[Incentive/Cont3Place::{{{Incentive/Cont3Place|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont3Zip|}}}|{{#!:
 
{{#if:{{{Incentive/Cont3Zip|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont3Zip|Zip/Postal Code]]
 
   ! align="right" | [[Property:Incentive/Cont3Zip|Zip/Postal Code]]
 
   | [[Incentive/Cont3Zip::{{{Incentive/Cont3Zip|}}}]]
 
   | [[Incentive/Cont3Zip::{{{Incentive/Cont3Zip|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont3Phone|}}}|{{#!:
 
{{#if:{{{Incentive/Cont3Phone|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont3Phone|Phone]]
 
   ! align="right" | [[Property:Incentive/Cont3Phone|Phone]]
 
   | [[Incentive/Cont3Phone::{{{Incentive/Cont3Phone|}}}]]
 
   | [[Incentive/Cont3Phone::{{{Incentive/Cont3Phone|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont3Phone2|}}}|{{#!:
 
{{#if:{{{Incentive/Cont3Phone2|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont3Phone2|Phone 2]]
 
   ! align="right" | [[Property:Incentive/Cont3Phone2|Phone 2]]
 
   | [[Incentive/Cont3Phone2::{{{Incentive/Cont3Phone2|}}}]]
 
   | [[Incentive/Cont3Phone2::{{{Incentive/Cont3Phone2|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont3Fax|}}}|{{#!:
 
{{#if:{{{Incentive/Cont3Fax|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont3Fax|Fax ]]
 
   ! align="right" | [[Property:Incentive/Cont3Fax|Fax ]]
 
   | [[Incentive/Cont3Fax::{{{Incentive/Cont3Fax|}}}]]
 
   | [[Incentive/Cont3Fax::{{{Incentive/Cont3Fax|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont3Email|}}}|{{#!:
 
{{#if:{{{Incentive/Cont3Email|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont3Email|Email]]
 
   ! align="right" | [[Property:Incentive/Cont3Email|Email]]
 
   | [[Incentive/Cont3Email::{{{Incentive/Cont3Email|}}}]]
 
   | [[Incentive/Cont3Email::{{{Incentive/Cont3Email|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont3Website|}}}|{{#!:
 
{{#if:{{{Incentive/Cont3Website|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont3Website|Website]]
 
   ! align="right" | [[Property:Incentive/Cont3Website|Website]]
 
   | [[Incentive/Cont3Website::{{{Incentive/Cont3Website|}}}]]
 
   | [[Incentive/Cont3Website::{{{Incentive/Cont3Website|}}}]]
}}|{{blank}}}}
+
}}|}}
|} }}|{{blank}}}}
+
|} }}|}} {{#if:{{{Incentive/Cont4Name|}}}|{{#vardefine:displayit4|yes}}|}}{{#if:{{{Incentive/Cont4Dept|}}}|{{#vardefine:displayit4|yes}}|}} {{#if:{{{Incentive/Cont4Div|}}}|{{#vardefine:displayit4|yes}}|}} {{#if:{{{Incentive/Cont4Email|}}}|{{#vardefine:displayit4|yes}}|}} {{#if:{{{Incentive/Cont4Website|}}}|{{#vardefine:displayit4|yes}}|}} {{#if:{{{Incentive/Cont4Phone|}}}|{{#vardefine:displayit4|yes}}|}}
{{#if:{{{Incentive/Cont4Name|}}}|{{#!:
+
{{#ifeq:{{#var:displayit4}}|yes|{{#!:
 
{| class="wikitable"
 
{| class="wikitable"
 
{{#if:{{{Incentive/Cont4Name|}}}|{{#!:
 
{{#if:{{{Incentive/Cont4Name|}}}|{{#!:
Line 251: Line 252:
 
   ! align="right" | [[Property:Incentive/Cont4Name|Contact Name]]
 
   ! align="right" | [[Property:Incentive/Cont4Name|Contact Name]]
 
   | [[Incentive/Cont4Name::{{{Incentive/Cont4Name|}}}]]
 
   | [[Incentive/Cont4Name::{{{Incentive/Cont4Name|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont4Dept|}}}|{{#!:
 
{{#if:{{{Incentive/Cont4Dept|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont4Dept|Department]]
 
   ! align="right" | [[Property:Incentive/Cont4Dept|Department]]
 
   | [[Incentive/Cont4Dept::{{{Incentive/Cont4Dept|}}}]]
 
   | [[Incentive/Cont4Dept::{{{Incentive/Cont4Dept|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont4Div|}}}|{{#!:
 
{{#if:{{{Incentive/Cont4Div|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont4Div|Division]]
 
   ! align="right" | [[Property:Incentive/Cont4Div|Division]]
 
   | [[Incentive/Cont4Div::{{{Incentive/Cont4Div|}}}]]
 
   | [[Incentive/Cont4Div::{{{Incentive/Cont4Div|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont4Addr|}}}|{{#!:
 
{{#if:{{{Incentive/Cont4Addr|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont4Addr|Address]]
 
   ! align="right" | [[Property:Incentive/Cont4Addr|Address]]
 
   | [[Incentive/Cont4Addr::{{{Incentive/Cont4Addr|}}}]]
 
   | [[Incentive/Cont4Addr::{{{Incentive/Cont4Addr|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont4Addr2|}}}|{{#!:
 
{{#if:{{{Incentive/Cont4Addr2|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont4Addr2|Address 2]]
 
   ! align="right" | [[Property:Incentive/Cont4Addr2|Address 2]]
 
   | [[Incentive/Cont4Addr2::{{{Incentive/Cont4Addr2|}}}]]
 
   | [[Incentive/Cont4Addr2::{{{Incentive/Cont4Addr2|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont4Place|}}}|{{#!:
 
{{#if:{{{Incentive/Cont4Place|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont4Place|Place]]
 
   ! align="right" | [[Property:Incentive/Cont4Place|Place]]
 
   | [[Incentive/Cont4Place::{{{Incentive/Cont4Place|}}}]]
 
   | [[Incentive/Cont4Place::{{{Incentive/Cont4Place|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont4Zip|}}}|{{#!:
 
{{#if:{{{Incentive/Cont4Zip|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont4Zip|Zip/Postal Code]]
 
   ! align="right" | [[Property:Incentive/Cont4Zip|Zip/Postal Code]]
 
   | [[Incentive/Cont4Zip::{{{Incentive/Cont4Zip|}}}]]
 
   | [[Incentive/Cont4Zip::{{{Incentive/Cont4Zip|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont4Phone|}}}|{{#!:
 
{{#if:{{{Incentive/Cont4Phone|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont4Phone|Phone]]
 
   ! align="right" | [[Property:Incentive/Cont4Phone|Phone]]
 
   | [[Incentive/Cont4Phone::{{{Incentive/Cont4Phone|}}}]]
 
   | [[Incentive/Cont4Phone::{{{Incentive/Cont4Phone|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont4Phone2|}}}|{{#!:
 
{{#if:{{{Incentive/Cont4Phone2|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont4Phone2|Phone 2]]
 
   ! align="right" | [[Property:Incentive/Cont4Phone2|Phone 2]]
 
   | [[Incentive/Cont4Phone2::{{{Incentive/Cont4Phone2|}}}]]
 
   | [[Incentive/Cont4Phone2::{{{Incentive/Cont4Phone2|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont4Fax|}}}|{{#!:
 
{{#if:{{{Incentive/Cont4Fax|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont4Fax|Fax ]]
 
   ! align="right" | [[Property:Incentive/Cont4Fax|Fax ]]
 
   | [[Incentive/Cont4Fax::{{{Incentive/Cont4Fax|}}}]]
 
   | [[Incentive/Cont4Fax::{{{Incentive/Cont4Fax|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont4Email|}}}|{{#!:
 
{{#if:{{{Incentive/Cont4Email|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont4Email|Email]]
 
   ! align="right" | [[Property:Incentive/Cont4Email|Email]]
 
   | [[Incentive/Cont4Email::{{{Incentive/Cont4Email|}}}]]
 
   | [[Incentive/Cont4Email::{{{Incentive/Cont4Email|}}}]]
}}|{{blank}}}}
+
}}|}}
 
{{#if:{{{Incentive/Cont4Website|}}}|{{#!:
 
{{#if:{{{Incentive/Cont4Website|}}}|{{#!:
 
   |- valign="top"
 
   |- valign="top"
 
   ! align="right" | [[Property:Incentive/Cont4Website|Website]]
 
   ! align="right" | [[Property:Incentive/Cont4Website|Website]]
 
   | [[Incentive/Cont4Website::{{{Incentive/Cont4Website|}}}]]
 
   | [[Incentive/Cont4Website::{{{Incentive/Cont4Website|}}}]]
}}|{{blank}}}}
+
}}|}}
|} }}|{{blank}}}}</includeonly>
+
|} }}|}}</includeonly>

Latest revision as of 15:27, 12 April 2017

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

{{Incentive Contact
|Incentive/ContName=
|Incentive/ContDept=
|Incentive/ContDiv=
|Incentive/ContAddr=
|Incentive/ContAddr2=
|Incentive/ContPlace=
|Incentive/ContZip=
|Incentive/ContPhone=
|Incentive/ContPhone2=
|Incentive/ContFax=
|Incentive/ContEmail=
|Incentive/ContWebsite=
|Incentive/Cont2Name=
|Incentive/Cont2Dept=
|Incentive/Cont2Div=
|Incentive/Cont2Addr=
|Incentive/Cont2Addr2=
|Incentive/Cont2Place=
|Incentive/Cont2Zip=
|Incentive/Cont2Phone=
|Incentive/Cont2Phone2=
|Incentive/Cont2Fax=
|Incentive/Cont2Email=
|Incentive/Cont2Website=
|Incentive/Cont3Name=
|Incentive/Cont3Dept=
|Incentive/Cont3Div=
|Incentive/Cont3Addr=
|Incentive/Cont3Addr2=
|Incentive/Cont3Place=
|Incentive/Cont3Zip=
|Incentive/Cont3Phone=
|Incentive/Cont3Phone2=
|Incentive/Cont3Fax=
|Incentive/Cont3Email=
|Incentive/Cont3Website=
|Incentive/Cont4Name=
|Incentive/Cont4Dept=
|Incentive/Cont4Div=
|Incentive/Cont4Addr=
|Incentive/Cont4Addr2=
|Incentive/Cont4Place=
|Incentive/Cont4Zip=
|Incentive/Cont4Phone=
|Incentive/Cont4Phone2=
|Incentive/Cont4Fax=
|Incentive/Cont4Email=
|Incentive/Cont4Website=
}}

Edit the page to see the template text.