Difference between revisions of "Template:Agreement"

From AquaPedia Case Study Database
Jump to: navigation, search
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
This is the "Agreement" template.
 
This is the "Agreement" template.
It should be called in the following format:
+
It is associated with the "Agreement" Form.
 
<pre>
 
<pre>
{{Agreement
+
 
|Date=
+
|Expiration Date=
+
|Agreement Type=
+
|Description=
+
}}
+
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
Line 15: Line 10:
 
{{{Case Review|}}}
 
{{{Case Review|}}}
  
{{#if: {{{Date|}}}{{{Expiration Date|}}}{{{Agreement Type|}}} | <div class="section-right-box">}}
+
 
{|
+
<div class="section-fact-box">
{{#if: {{{Date|}}} | ! Date: {{!}}{{!}} [[Date::{{{Date}}}]]
+
<center>'''About {{PAGENAME}}'''</center>
{{!}}- }}
+
 
{{#if: {{{Expiration Date|}}} | ! Expiration Date: {{!}}{{!}} [[Expiration Date::{{{Expiration Date}}}]]  
+
{{#if: {{{Agreement Signed|}}} | Signed: [[Agreement Signed::{{{Agreement Signed|}}}]]<BR> }}{{#if: {{{Agreement Enacted|}}} | Enacted: [[Agreement Enacted::{{{Agreement Enacted|}}}]] <BR>}}{{#if: {{{Expiration Date|}}} | Expires: [[Expiration Date::{{{Expiration Date|}}}]]  <BR> }}
{{!}}- }}
+
 
! Agreement Type:   || {{#arraymap:{{{Agreement Type|}}}|,|x|[[Agreement Type::x]]}}
+
{{#if: {{{Agreement Type|}}} | Agreement Type: {{#arraymap:{{{Agreement Type|}}}|,|x| {{#set:Agreement Type=x}} x }} <br/>}}
|} {{#if: {{{Date|}}}{{{Expiration Date|}}}{{{Agreement Type|}}} | </div> }}
+
 
 +
{{#if: {{{Included Riparian|}}}{{{Included Resource|}}}{{{Water Projects Included in Agreement|}}} | '''Included in Agreement''' <BR> <div style="margin-left:10px;"> }}{{#if: {{{Included Riparian|}}} | Riparians - {{#arraymap:{{{Included Riparian}}}|;|x| [[Agreement Includes Riparian::x]] }} <BR>  }}{{#if: {{{Included Resource|}}} | Water Resources - {{#arraymap:{{{Included Resource}}}|;|x|[[Agreement Includes Resource::x]] }}<BR>  }}{{#if: {{{Water Projects Included in Agreement|}}} | Projects-{{#arraymap:{{{Water Projects Included in Agreement}}}|;|x|[[Agreement Includes Water Project::x]] }} <BR/>}}{{#if: {{{Included Riparian|}}}{{{Included Resource|}}}{{{Water Projects Included in Agreement|}}} | </div> <BR/>}}
 +
{{#if: {{{Related Initiatives|}}} | {{#arraymap:{{{Related Initiatives|}}} |;|x| {{#set: Related Initiatives or Commissions= x}} }} }}{{#if: {{{Projects Influenced by Agreement|}}} | {{#arraymap:{{{Projects Influenced by Agreement|}}}|;|x|{{#set: Water Projects Influenced by Agreement= x}} }} }}{{#if: {{{Previous Agreement|}}} | {{#arraymap:{{{Previous Agreement|}}}|;|x|{{#set: Previous Agreement= x}} }} }}
 +
''[[#smwfacts| All Facts about {{PAGENAME}} ]]''
 +
</div>
 +
 
 +
 
 
{{{Description|}}}
 
{{{Description|}}}
  
<div class="notes"><references group="note" /></div>
+
=Case Studies Related to this Agreement=  
 +
{{#ask: [[Category:Case Study]] [[Agreement::{{PAGENAME}}]] |format=ul}}
 +
 
 +
 
 +
=Articles linked to this Agreement=
 +
 
 +
{{Linked Articles|Water Features={{{Water Feature|}}}|Water Projects={{{Water Project|}}}|Agreements={{{Agreement|}}}|Riparians={{{Riparian|}}} |The Pagename={{PAGENAME}} |Page Type=Agreement }}
 +
 
  
<references />
 
  
 
{{#if: {{{External Links|}}} | =External Links= |}}
 
{{#if: {{{External Links|}}} | =External Links= |}}
 
{{{External Links|}}}
 
{{{External Links|}}}
 +
<div class="notes"><references group="note" /></div>
 +
 +
<references />
 +
 +
<div id=smwfacts></div>
 +
__SHOWFACTBOX__
  
{{#ask: [[Category:Case Study]] [[Agreement::{{PAGENAME}}]] |format=ul|intro=Linked to case studies: }}
 
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
</includeonly>
 
</includeonly>

Latest revision as of 15:00, 26 March 2013

This is the "Agreement" template. It is associated with the "Agreement" Form.


Edit the page to see the template text.