Difference between revisions of "Template:Case Study"

From AquaPedia Case Study Database
Jump to: navigation, search
m (Reverted edits by Administrator (talk) to last revision by Amanda)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Case Study
 
{{Case Study
 +
|Case Study Summary=
 +
|GH Background=
 +
|Case Description=
 +
|Analysis and Synthesis=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
[[Category:Case Study]]
+
<!--  =Case Study Summary= -->
 +
{{#arraymap:{{{Case Study Summary|}}}|,|x|=[[Case Study Summary::x]]= {{:x}}|\n\n}}
  
 +
<!-- =Geographic and Historical Background= -->
 +
{{#arraymap:{{{GH Background|}}}|,|x|=[[GH Background::x]]= {{:x}}|\n\n}}
  
<div class="AddSection">{{#forminput:form=Case Study Summary|button text=Add Case Study Summary|query string=Case Study Summary[Case Study]={{PAGENAME}}|autocomplete on category=Case Study Summary|remote autocomplete}}</div>= Summaries =
+
<!--=Case Description= -->
{{#ask: [[Category:Case Study Summary]] [[Case Study::{{PAGENAME}}]]
+
{{#arraymap:{{{Case Description|}}}|,|x|=[[Case Description::x]]= {{:x}}|\n\n}}
| ?Category
+
| format=template
+
| template=Transclude Results
+
| link=none
+
| default=There are no summaries associated with this study. 
+
}}
+
  
<div class="AddSection">{{#forminput:form=GH Background|button text=Add Geographical and Historical Background|query string=GH Background[Case Study]={{PAGENAME}}|autocomplete on category=Geographical and Historical Background|remote autocomplete}}</div>= Geographic and Historical Background =
+
<!-- =Analysis and Synthesis= -->
{{#ask: [[Category:Geographical and Historical Background]] [[Case Study::{{PAGENAME}}]]
+
{{#arraymap:{{{Analysis and Synthesis|}}}|,|x|=[[Analysis and Synthesis::x]]= {{:x}}|\n\n}}
| ?Category
+
| format=template
+
| template=Transclude Results
+
| link=none
+
| default=There are no Backgrounds associated with this study. 
+
}}
+
 
+
<div class="AddSection">{{#forminput:form=Case Description|button text=Add Case Description|query string=Case Description[Case Study]={{PAGENAME}}|autocomplete on category=Case Description|remote autocomplete}}</div>= Case Description =
+
{{#ask: [[Category:Case Description]] [[Case Study::{{PAGENAME}}]]
+
| ?Category
+
| format=template
+
| template=Transclude Results
+
| link=none
+
| default=There are no descriptions associated with this study. 
+
}}
+
 
+
<div class="AddSection">{{#forminput:form=Analysis and Synthesis|button text=Add Analysis/Synthesis section|query string=Analysis and Synthesis[Case Study]={{PAGENAME}}|autocomplete on category=Analysis and Synthesis|remote autocomplete}}</div>= Analysis and Synthesis =
+
{{#ask: [[Category:Analysis and Synthesis]] [[Case Study::{{PAGENAME}}]]
+
| ?Category
+
| format=template
+
| template=Transclude Results
+
| link=none
+
| default=There are no analysis/synthesis sections associated with this study. 
+
}}
+
  
 
=References=
 
=References=
 
<references />
 
<references />
 +
 +
[[Category:Case Study]]
  
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
</includeonly>
 
</includeonly>

Revision as of 15:16, 9 May 2012

This is the "Case Study" template. It should be called in the following format:

{{Case Study
|Case Study Summary=
|GH Background=
|Case Description=
|Analysis and Synthesis=
}}

Edit the page to see the template text.