Difference between revisions of "Template:Linked Articles"

From AquaPedia Case Study Database
Jump to: navigation, search
Line 19: Line 19:
 
! | {{#if: {{{Agreements|}}} | Agreements and Treaties }}  
 
! | {{#if: {{{Agreements|}}} | Agreements and Treaties }}  
 
|-
 
|-
| style="border-top: 1px solid #eeeeee;margin-right:5px;width:23%;"|
+
| {{#if: {{{Riparians|}}} | style="border-top: 1px solid #eeeeee;margin-right:5px;width:23%;" }}|
 
{{#if: {{{Riparians|}}} | {{#arraymap:{{{Riparians}}}|;|x|*[[Riparian::x]] | \n\n}}  | }}  
 
{{#if: {{{Riparians|}}} | {{#arraymap:{{{Riparians}}}|;|x|*[[Riparian::x]] | \n\n}}  | }}  
 
| style="border-top: 1px solid #eeeeee;border-left:1px solid #eeeeee;margin-left:5px;margin-right:5px;width:23%;"|
 
| style="border-top: 1px solid #eeeeee;border-left:1px solid #eeeeee;margin-left:5px;margin-right:5px;width:23%;"|
 
{{#if: {{{Water Features|}}} | {{#arraymap:{{{Water Features}}}|;|x|*[[Water Feature::x]] | \n\n}} | }}
 
{{#if: {{{Water Features|}}} | {{#arraymap:{{{Water Features}}}|;|x|*[[Water Feature::x]] | \n\n}} | }}
| style="border-top: 1px solid #eeeeee;border-left:1px solid #eeeeee;margin-left:5px;margin-right:5px;width:23%;"|
+
| {{#if: {{{Water Projects|}}} | style="border-top: 1px solid #eeeeee;border-left:1px solid #eeeeee;margin-left:5px;margin-right:5px;width:23%;" }}|
 
{{#if: {{{Water Projects|}}} | {{#arraymap:{{{Water Projects}}}|;|x|*[[Water Project::x]] | \n\n}}  | }}  
 
{{#if: {{{Water Projects|}}} | {{#arraymap:{{{Water Projects}}}|;|x|*[[Water Project::x]] | \n\n}}  | }}  
 
| style="border-top: 1px solid #eeeeee;border-left:1px solid #eeeeee;margin-left:5px;"|
 
| style="border-top: 1px solid #eeeeee;border-left:1px solid #eeeeee;margin-left:5px;"|

Revision as of 16:29, 1 February 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.