Difference between revisions of "Template:Linked Articles"

From AquaPedia Case Study Database
Jump to: navigation, search
(Created page with "<noinclude> This is the "Linked Articles" template. It is called by a main article template (e.g.: Water Feature) It should be called in the following format: <pre> {{Linked A...")
 
Line 13: Line 13:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
  
{{#if: {{{Water Features|}}} | ==Water Features==}}  
+
{{#if: {{{Water Features|}}} | ==Water Features== | }}  
{{#if: {{{Water Features|}}} | {{#arraymap:{{{Water Features}}}|;|x|[[Water Feature::x]]}} | ,&#32; }}  
+
{{#if: {{{Water Features|}}} | {{#arraymap:{{{Water Features}}}|;|x|[[Water Feature::x]]}} | \n }}  
  
 
{{#if: {{{Riparians|}}} |  ==Riparians==| }}  
 
{{#if: {{{Riparians|}}} |  ==Riparians==| }}  
{{#if: {{{Riparians|}}} |  {{#arraymap:{{{Riparians}}}|;|x|[[Riparian::x]]}} | ,&#32; }}  
+
{{#if: {{{Riparians|}}} |  {{#arraymap:{{{Riparians}}}|;|x|*[[Riparian::x]]}} | \n }}  
  
 
{{#if: {{{Water Projects|}}} | ==Projects and Initiatives==| }}  
 
{{#if: {{{Water Projects|}}} | ==Projects and Initiatives==| }}  
{{#if: {{{Water Projects|}}} | {{#arraymap:{{{Water Projects}}}|;|x|[[Water Project::x]]}} | ,&#32; }}  
+
{{#if: {{{Water Projects|}}} | {{#arraymap:{{{Water Projects}}}|;|x|*[[Water Project::x]]}} | \n}}  
  
 
{{#if: {{{Agreements|}}} |  ==Agreements or Treaties== |  }}  
 
{{#if: {{{Agreements|}}} |  ==Agreements or Treaties== |  }}  
{{#if: {{{Agreements|}}} |  {{#arraymap:{{{Agreements|}}}|;|x|[[Agreement::x]]}} | ,&#32; }}  
+
{{#if: {{{Agreements|}}} |  {{#arraymap:{{{Agreements|}}}|;|x|*[[Agreement::x]]}} | \n}}  
  
 
</includeonly>
 
</includeonly>

Revision as of 08:23, 28 January 2013

This is the "Linked Articles" template. It is called by a main article template (e.g.: Water Feature) It should be called in the following format:

{{Linked Articles
|Water Features=
|Water Projects=
|Agreements=
|Riparians=
}}

Edit the page to see the template text.