Difference between revisions of "Template:ContractClause"

From Knowledge base
Jump to: navigation, search
 
Line 2: Line 2:
 
</noinclude>
 
</noinclude>
 
<includeonly>[[Category:ContractClause]]{{#set:Checked={{{Checked}}}}}<!--[[Category:{{{HasCategory|}}}]]-->{{DISPLAYTITLE:{{PAGENAME}} }}
 
<includeonly>[[Category:ContractClause]]{{#set:Checked={{{Checked}}}}}<!--[[Category:{{{HasCategory|}}}]]-->{{DISPLAYTITLE:{{PAGENAME}} }}
<table><div id="hidden">{{#vardefine:C|{{{TypePurposeContract|}}}}}{{#vardefine:Req}}***</div>
+
<table><div id="hidden">{{#vardefine:C|{{{TypePurposeContract|}}}}}{{#vardefine:Req}}{{#vardefine:App}}{{#vardefine:Opt}}***</div>
 
<tr><td colspan="2"><h3>Prescribed in [[Prescribedin::{{{Prescribedin|}}}]]</h3></td></tr>
 
<tr><td colspan="2"><h3>Prescribed in [[Prescribedin::{{{Prescribedin|}}}]]</h3></td></tr>
 
<tr><td width="300px">'''Effective Date''':</td><td>{{#if:{{{EffectiveDate|}}}|{{#time:j F Y|{{{EffectiveDate|}}}}}}}[[EffectiveDate::{{{EffectiveDate|}}}| ]]</td></tr>
 
<tr><td width="300px">'''Effective Date''':</td><td>{{#if:{{{EffectiveDate|}}}|{{#time:j F Y|{{{EffectiveDate|}}}}}}}[[EffectiveDate::{{{EffectiveDate|}}}| ]]</td></tr>
Line 11: Line 11:
 
<tr><td colspan="2">'''Principle Type And/Or Purpose of Contract''':</td></tr>
 
<tr><td colspan="2">'''Principle Type And/Or Purpose of Contract''':</td></tr>
 
<tr><td style="vertical-align:top;">'''Required''':</td><td style="vertical-align:top;">{{#arraymap:{{#var:C}}|;|z|{{#ifexpr:{{#rpos:z|-R}}>0|{{#vardefine:Req|&#59;&nbsp;}}{{#explode:z| -R}}|}}|;&#32;}}{{#var:Req}}{{#arraymap:{{{TypeofContractRequired|}}}|;|x|[[TypeofContractRequired::x]]|;&#32;}}</td></tr>
 
<tr><td style="vertical-align:top;">'''Required''':</td><td style="vertical-align:top;">{{#arraymap:{{#var:C}}|;|z|{{#ifexpr:{{#rpos:z|-R}}>0|{{#vardefine:Req|&#59;&nbsp;}}{{#explode:z| -R}}|}}|;&#32;}}{{#var:Req}}{{#arraymap:{{{TypeofContractRequired|}}}|;|x|[[TypeofContractRequired::x]]|;&#32;}}</td></tr>
<tr><td style="vertical-align:top;">'''Applicable''':</td><td style="vertical-align:top;">{{#arraymap:{{#var:C}}|;|z|{{#ifexpr:{{#rpos:z|-A}}>0|{{#explode:z| -A}}|}}|;&#32;}}{{#arraymap:{{{TypeofContractApplicable|}}}|;|x|[[TypeofContractApplicable::x]]|;&#32;}}</td></tr>
+
<tr><td style="vertical-align:top;">'''Applicable''':</td><td style="vertical-align:top;">{{#arraymap:{{#var:C}}|;|z|{{#ifexpr:{{#rpos:z|-A}}>0|{{#vardefine:App|&#59;&nbsp;}}{{#explode:z| -A}}|}}|;&#32;}}{{#var:App}}{{#arraymap:{{{TypeofContractApplicable|}}}|;|x|[[TypeofContractApplicable::x]]|;&#32;}}</td></tr>
<tr><td style="vertical-align:top;">'''Optional''':</td><td style="vertical-align:top;">{{#arraymap:{{#var:C}}|;|z|{{#ifexpr:{{#rpos:z|-O}}>0|{{#explode:z| -O}}|}}|;&#32;}}{{#arraymap:{{{TypeofContractOptional|}}}|;|x|[[TypeofContractOptional::x]]|;&#32;}}</td></tr>
+
<tr><td style="vertical-align:top;">'''Optional''':</td><td style="vertical-align:top;">{{#arraymap:{{#var:C}}|;|z|{{#ifexpr:{{#rpos:z|-O}}>0|{{#vardefine:Opt|&#59;&nbsp;}}{{#explode:z| -O}}|}}|;&#32;}}{{#var:Opt}}{{#arraymap:{{{TypeofContractOptional|}}}|;|x|[[TypeofContractOptional::x]]|;&#32;}}</td></tr>
 
<!--<tr><td valign="top">'''Contracts that Purpose or Contract Type is not Separately Identified''':<br>
 
<!--<tr><td valign="top">'''Contracts that Purpose or Contract Type is not Separately Identified''':<br>
 
</td><td>{{#arraymap:{{{TypePurposeContract|}}}|;|z|[[TypePurposeContract::z| ]]| }}{{#arraymap:{{{TypePurposeContract|}}}|;|z|<span style="white-space:nowrap;">z</span>}}</td></tr>-->
 
</td><td>{{#arraymap:{{{TypePurposeContract|}}}|;|z|[[TypePurposeContract::z| ]]| }}{{#arraymap:{{{TypePurposeContract|}}}|;|z|<span style="white-space:nowrap;">z</span>}}</td></tr>-->

Latest revision as of 06:26, 17 July 2014

This is the template for the Contract Clause Matrix. Edit the page to see the template text.