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)
(Undo revision 1544 by Administrator (talk))
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>
<!--  =Case Study Summary= -->
+
[[Category:Case Study]]
{{#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}}
 
  
<!--=Case Description= -->
+
<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 =
{{#arraymap:{{{Case Description|}}}|,|x|=[[Case Description::x]]= {{:x}}|\n\n}}
+
{{#ask: [[Category:Case Study Summary]] [[Case Study::{{PAGENAME}}]]
 +
| ?Category
 +
| format=template
 +
| template=Transclude Results
 +
| link=none
 +
| default=There are no summaries associated with this study. 
 +
}}
  
<!-- =Analysis and Synthesis= -->
+
<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 =
{{#arraymap:{{{Analysis and Synthesis|}}}|,|x|=[[Analysis and Synthesis::x]]= {{:x}}|\n\n}}
+
{{#ask: [[Category:Geographical and Historical Background]] [[Case Study::{{PAGENAME}}]]
 +
| ?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:18, 9 May 2012

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

{{Case Study
}}

Edit the page to see the template text.