Difference between revisions of "Template:Incentive Authority"

From Open Energy Information

(Combined authcode and authlink to show in one field instead of separately if link is available)
Line 41: Line 41:
 
[[Category:Incentive with Authorities]]
 
[[Category:Incentive with Authorities]]
 
{| class="wikitable"
 
{| class="wikitable"
{{#if:{{{Incentive/AuthCode|}}}|{{#!:
+
{{#if:{{{Incentive/AuthCode|}}} | {{#if:{{{Incentive/AuthLink|}}}|{{#!:
  |- valign="top"
+
|-
  ! align="right" | [[Property:Incentive/AuthCode|Authority 1]]
+
! | Authority 1:
  | [[Incentive/AuthCode::{{{Incentive/AuthCode|}}}]]
+
| {{#set:Incentive/AuthLink={{{Incentive/AuthLink}}} }} {{#set:Incentive/AuthCode={{{Incentive/AuthCode}}} }} [{{{Incentive/AuthLink}}} {{{Incentive/AuthCode}}}]
}}|{{blank}}}}
+
}}|{{#!:
{{#if:{{{Incentive/AuthLink|}}}|{{#!:
+
|-
  |- valign="top"
+
! | Authority 1
  ! align="right" | [[Property:Incentive/AuthLink|Authority Link]]
+
| [[Incentive/AuthCode::{{{Incentive/AuthCode}}}]]}}
  | [[Incentive/AuthLink::{{{Incentive/AuthLink|}}}]]
 
 
}}|{{blank}}}}
 
}}|{{blank}}}}
 
{{#if:{{{Incentive/AuthDtEff|}}}|{{#!:
 
{{#if:{{{Incentive/AuthDtEff|}}}|{{#!:
Line 69: Line 68:
 
{{#if:{{{Incentive/Auth2Code|}}}|{{#!:
 
{{#if:{{{Incentive/Auth2Code|}}}|{{#!:
 
{| class="wikitable"
 
{| class="wikitable"
{{#if:{{{Incentive/Auth2Code|}}}|{{#!:
+
{{#if:{{{Incentive/Auth2Code|}}} | {{#if:{{{Incentive/Auth2Link|}}}|{{#!:
  |- valign="top"
+
|-
  ! align="right" | [[Property:Incentive/Auth2Code|Authority 2]]
+
! | Authority 2:
  | [[Incentive/Auth2Code::{{{Incentive/Auth2Code|}}}]]
+
| {{#set:Incentive/Auth2Link={{{Incentive/Auth2Link}}} }} {{#set:Incentive/Auth2Code={{{Incentive/Auth2Code}}} }} [{{{Incentive/Auth2Link}}} {{{Incentive/Auth2Code}}}]
}}|{{blank}}}}
+
}}|{{#!:
{{#if:{{{Incentive/Auth2Link|}}}|{{#!:
+
|-
  |- valign="top"
+
! | Authority 2
  ! align="right" | [[Property:Incentive/Auth2Link|Authority Link]]
+
| [[Incentive/Auth2Code::{{{Incentive/Auth2Code}}}]]}}
  | [[Incentive/Auth2Link::{{{Incentive/Auth2Link|}}}]]
 
 
}}|{{blank}}}}
 
}}|{{blank}}}}
 
{{#if:{{{Incentive/Auth2DtEff|}}}|{{#!:
 
{{#if:{{{Incentive/Auth2DtEff|}}}|{{#!:
Line 97: Line 95:
 
{{#if:{{{Incentive/Auth3Code|}}}|{{#!:
 
{{#if:{{{Incentive/Auth3Code|}}}|{{#!:
 
{| class="wikitable"
 
{| class="wikitable"
{{#if:{{{Incentive/Auth3Code|}}}|{{#!:
+
{{#if:{{{Incentive/Auth3Code|}}} | {{#if:{{{Incentive/Auth3Link|}}}|{{#!:
  |- valign="top"
+
|-
  ! align="right" | [[Property:Incentive/Auth3Code|Authority 3]]
+
! | Authority 3:
  | [[Incentive/Auth3Code::{{{Incentive/Auth3Code|}}}]]
+
| {{#set:Incentive/Auth3Link={{{Incentive/Auth3Link}}} }} {{#set:Incentive/Auth3Code={{{Incentive/Auth3Code}}} }} [{{{Incentive/Auth3Link}}} {{{Incentive/Auth3Code}}}]
}}|{{blank}}}}
+
}}|{{#!:
{{#if:{{{Incentive/Auth3Link|}}}|{{#!:
+
|-
  |- valign="top"
+
! | Authority 3
  ! align="right" | [[Property:Incentive/Auth3Link|Authority Link]]
+
| [[Incentive/Auth3Code::{{{Incentive/Auth3Code}}}]]}}
  | [[Incentive/Auth3Link::{{{Incentive/Auth3Link|}}}]]
 
 
}}|{{blank}}}}
 
}}|{{blank}}}}
 
{{#if:{{{Incentive/Auth3DtEff|}}}|{{#!:
 
{{#if:{{{Incentive/Auth3DtEff|}}}|{{#!:
Line 125: Line 122:
 
{{#if:{{{Incentive/Auth4Code|}}}|{{#!:
 
{{#if:{{{Incentive/Auth4Code|}}}|{{#!:
 
{| class="wikitable"
 
{| class="wikitable"
{{#if:{{{Incentive/Auth4Code|}}}|{{#!:
+
{{#if:{{{Incentive/Auth4Code|}}} | {{#if:{{{Incentive/Auth4Link|}}}|{{#!:
  |- valign="top"
+
|-
  ! align="right" | [[Property:Incentive/Auth4Code|Authority 4]]
+
! | Authority 4:
  | [[Incentive/Auth4Code::{{{Incentive/Auth4Code|}}}]]
+
| {{#set:Incentive/Auth4Link={{{Incentive/Auth4Link}}} }} {{#set:Incentive/Auth4Code={{{Incentive/Auth4Code}}} }} [{{{Incentive/Auth4Link}}} {{{Incentive/Auth4Code}}}]
}}|{{blank}}}}
+
}}|{{#!:
{{#if:{{{Incentive/Auth4Link|}}}|{{#!:
+
|-
  |- valign="top"
+
! | Authority 4
  ! align="right" | [[Property:Incentive/Auth4Link|Authority Link]]
+
| [[Incentive/Auth4Code::{{{Incentive/Auth4Code}}}]]}}
  | [[Incentive/Auth4Link::{{{Incentive/Auth4Link|}}}]]
 
 
}}|{{blank}}}}
 
}}|{{blank}}}}
 
{{#if:{{{Incentive/Auth4DtEff|}}}|{{#!:
 
{{#if:{{{Incentive/Auth4DtEff|}}}|{{#!:
Line 153: Line 149:
 
{{#if:{{{Incentive/Auth5Code|}}}|{{#!:
 
{{#if:{{{Incentive/Auth5Code|}}}|{{#!:
 
{| class="wikitable"
 
{| class="wikitable"
{{#if:{{{Incentive/Auth5Code|}}}|{{#!:
+
{{#if:{{{Incentive/Auth5Code|}}} | {{#if:{{{Incentive/Auth5Link|}}}|{{#!:
  |- valign="top"
+
|-
  ! align="right" | [[Property:Incentive/Auth5Code|Authority 5]]
+
! | Authority 5:
  | [[Incentive/Auth5Code::{{{Incentive/Auth5Code|}}}]]
+
| {{#set:Incentive/Auth5Link={{{Incentive/Auth5Link}}} }} {{#set:Incentive/Auth5Code={{{Incentive/Auth5Code}}} }} [{{{Incentive/Auth5Link}}} {{{Incentive/Auth5Code}}}]
}}|{{blank}}}}
+
}}|{{#!:
{{#if:{{{Incentive/Auth5Link|}}}|{{#!:
+
|-
  |- valign="top"
+
! | Authority 5
  ! align="right" | [[Property:Incentive/Auth5Link|Authority Link]]
+
| [[Incentive/Auth5Code::{{{Incentive/Auth5Code}}}]]}}
  | [[Incentive/Auth5Link::{{{Incentive/Auth5Link|}}}]]
 
 
}}|{{blank}}}}
 
}}|{{blank}}}}
 
{{#if:{{{Incentive/Auth5DtEff|}}}|{{#!:
 
{{#if:{{{Incentive/Auth5DtEff|}}}|{{#!:
Line 181: Line 176:
 
{{#if:{{{Incentive/Auth6Code|}}}|{{#!:
 
{{#if:{{{Incentive/Auth6Code|}}}|{{#!:
 
{| class="wikitable"
 
{| class="wikitable"
{{#if:{{{Incentive/Auth6Code|}}}|{{#!:
+
{{#if:{{{Incentive/Auth6Code|}}} | {{#if:{{{Incentive/Auth6Link|}}}|{{#!:
  |- valign="top"
+
|-
  ! align="right" | [[Property:Incentive/Auth6Code|Authority 6]]
+
! | Authority 6:
  | [[Incentive/Auth6Code::{{{Incentive/Auth6Code|}}}]]
+
| {{#set:Incentive/Auth6Link={{{Incentive/Auth6Link}}} }} {{#set:Incentive/Auth6Code={{{Incentive/Auth6Code}}} }} [{{{Incentive/Auth6Link}}} {{{Incentive/Auth6Code}}}]
}}|{{blank}}}}
+
}}|{{#!:
{{#if:{{{Incentive/Auth6Link|}}}|{{#!:
+
|-
  |- valign="top"
+
! | Authority 6
  ! align="right" | [[Property:Incentive/Auth6Link|Authority Link]]
+
| [[Incentive/Auth6Code::{{{Incentive/Auth6Code}}}]]}}
  | [[Incentive/Auth6Link::{{{Incentive/Auth6Link|}}}]]
 
 
}}|{{blank}}}}
 
}}|{{blank}}}}
 
{{#if:{{{Incentive/Auth6DtEff|}}}|{{#!:
 
{{#if:{{{Incentive/Auth6DtEff|}}}|{{#!:

Revision as of 00:16, 1 January 2011

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

{{Incentive Authority
|Incentive/AuthCode=
|Incentive/AuthLink=
|Incentive/AuthDtEff=
|Incentive/AuthDtEnact=
|Incentive/AuthExpireDt=
|Incentive/Auth2Code=
|Incentive/Auth2Link=
|Incentive/Auth2DtEff=
|Incentive/Auth2DtEnact=
|Incentive/Auth2ExpireDt=
|Incentive/Auth3Code=
|Incentive/Auth3Link=
|Incentive/Auth3DtEff=
|Incentive/Auth3DtEnact=
|Incentive/Auth3ExpireDt=
|Incentive/Auth4Code=
|Incentive/Auth4Link=
|Incentive/Auth4DtEff=
|Incentive/Auth4DtEnact=
|Incentive/Auth4ExpireDt=
|Incentive/Auth5Code=
|Incentive/Auth5Link=
|Incentive/Auth5DtEff=
|Incentive/Auth5DtEnact=
|Incentive/Auth5ExpireDt=
|Incentive/Auth6Code=
|Incentive/Auth6Link=
|Incentive/Auth6DtEff=
|Incentive/Auth6DtEnact=
|Incentive/Auth6ExpireDt=
}}

Edit the page to see the template text.