Difference between revisions of "Template:Agreement"

From AquaPedia Case Study Database
Jump to: navigation, search
 
(30 intermediate revisions by 2 users 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.
 
</noinclude><includeonly>[[Category:Agreement]]
 
</noinclude><includeonly>[[Category:Agreement]]
  
{{#ifeq: {{{Disputed|}}} | Yes | {{MediaWiki:Disputed}} | }}
+
{{{Case Review|}}}
{{#ifeq: {{{Mpov|}}} | Yes | {{MediaWiki:MPOV}} | }}
+
 
{{#ifeq: {{{Empty Section|}}} | Yes | {{MediaWiki:Empty Sections Box}} | }}
+
 
{{#ifeq: {{{Add References|}}} | Yes | {{MediaWiki:Add References}} | }}
+
<div class="section-fact-box">
{{#ifeq: {{{Expand Section|}}} | Yes | {{MediaWiki:Expand Section}} | }}
+
<center>'''About {{PAGENAME}}'''</center>
{{#ifeq: {{{Wikify|}}} | Yes | {{MediaWiki:Wikify}} | }}
+
 
{{#ifeq: {{{connect to www|}}} | Yes | {{MediaWiki:Connect to WWW}} | }}
+
{{#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> }}
{{#ifeq: {{{Clean Up Required|}}} | Yes | {{MediaWiki:Clean_up_Required}} | }}
+
 
 +
{{#if: {{{Agreement Type|}}} | Agreement Type: {{#arraymap:{{{Agreement Type|}}}|,|x| {{#set:Agreement Type=x}} x }} <br/>}}
 +
 
 +
{{#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>
 +
 
  
{{#if: {{{Date|}}}{{{Expiration Date|}}}{{{Agreement Type|}}} | | <div class="section-right-box">
 
{|
 
! Agreement Date:  || [[Date::{{{Date|}}}]]
 
|-
 
{{#if: {{{Expiration Date|}}} | ! Expiration Date: {{!}}{{!}} [[Expiration Date::{{{Expiration Date|}}}]]
 
{{!}}- }}
 
! Agreement Type:  || {{#arraymap:{{{Agreement Type|}}}|,|x|[[Agreement Type::x]]}}
 
|} </div> }}
 
 
{{{Description|}}}
 
{{{Description|}}}
  
 +
=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 }}
 +
 +
 +
 +
{{#if: {{{External Links|}}} | =External Links= |}}
 +
{{{External Links|}}}
 
<div class="notes"><references group="note" /></div>
 
<div class="notes"><references group="note" /></div>
  
 
<references />
 
<references />
  
=External Links=
+
<div id=smwfacts></div>
{{{External Links|}}}
+
__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.