Difference between revisions of "Template:Linked Articles"

From AquaPedia Case Study Database
Jump to: navigation, search
Line 27: Line 27:
 
| style="border-top: 1px solid #eeeeee;margin-right:5px;width:40%;" |
 
| style="border-top: 1px solid #eeeeee;margin-right:5px;width:40%;" |
 
<!--Features -->
 
<!--Features -->
{{#ifeq: {{{Page Type|}}} | Water Feature | {{#ask: [[{{{The Pagename|}}}]]|?Within Basin=Located in basin- |format=list|headers=plain|mainlabel=-|link=all|offset=|limit=|default=&#32; |outro=<BR>}} }}{{#ifeq: {{{Page Type|}}} | Water Feature | {{#ask:[[Within Basin::{{{The Pagename|}}}]]|?=Feature in this basin- |format=list |headers=show|mainlabel=- link=all|offset=|limit=|default=&#32; |outro=<BR>}} }}{{#ifeq: {{{Page Type|}}} | Water Project | {{#ask: [[{{{The Pagename|}}}]]|?Project in Basin=Project is in basin- |format=list|headers=plain|mainlabel=-|link=all|offset=|limit=|default=&#32;|outro=<BR>}}  }}
+
{{#ifeq: {{{Page Type|}}} | Water Feature | {{#ask: [[{{{The Pagename|}}}]]|?Within Basin=Located in basin- |format=list|headers=plain|mainlabel=-|link=all|offset=|limit=|default=&#32; |outro=<BR>}} }}{{#ifeq: {{{Page Type|}}} | Water Feature | {{#ask:[[Within Basin::{{{The Pagename|}}}]]|?=Feature in this basin- |format=list |headers=show|mainlabel=- | link=all|offset=|limit=|default=&#32; |outro=<BR>}} }}{{#ifeq: {{{Page Type|}}} | Water Project | {{#ask: [[{{{The Pagename|}}}]]|?Project in Basin=Project is in basin- |format=list|headers=plain|mainlabel=-|link=all|offset=|limit=|default=&#32;|outro=<BR>}}  }}
 
{{#ifeq: {{{Page Type|}}} | Riparian | {{#ask:[[Water Resource in Riparian::+]][[Riparian::{{{The Pagename|}}}]] |?Riparian=Located in riparian-  |format=list|headers=hide|mainlabel=-|link=subject|columns=1|offset=|limit=|intro=|default=|outro=<BR>}} }}{{#ifeq: {{{Page Type|}}} | Agreement | {{#ask: [[{{{The Pagename|}}}]]|?Agreement Includes Resource=Includes Water Resource- |format=list|headers=plain|mainlabel=-|link=all|offset=|limit=|default=|outro=<BR>}} }}{{#ifeq: {{{Page Type|}}} | Water Project | {{#ask:[[{{{The Pagename|}}}]]|?Reservoir=Associated Reservoir- |format=list| headers=plain|mainlabel=-|link=all|offset=|limit=|default=&#32; |outro=<BR>}} }}
 
{{#ifeq: {{{Page Type|}}} | Riparian | {{#ask:[[Water Resource in Riparian::+]][[Riparian::{{{The Pagename|}}}]] |?Riparian=Located in riparian-  |format=list|headers=hide|mainlabel=-|link=subject|columns=1|offset=|limit=|intro=|default=|outro=<BR>}} }}{{#ifeq: {{{Page Type|}}} | Agreement | {{#ask: [[{{{The Pagename|}}}]]|?Agreement Includes Resource=Includes Water Resource- |format=list|headers=plain|mainlabel=-|link=all|offset=|limit=|default=|outro=<BR>}} }}{{#ifeq: {{{Page Type|}}} | Water Project | {{#ask:[[{{{The Pagename|}}}]]|?Reservoir=Associated Reservoir- |format=list| headers=plain|mainlabel=-|link=all|offset=|limit=|default=&#32; |outro=<BR>}} }}
 
{{#ifeq: {{{Page Type|}}} | Water Project | {{#ask:[[{{{The Pagename|}}}]]|?Project on River=Dam located on- |format=list|headers=plain|mainlabel=-|link=all|offset=|limit=|default=&#32; |outro=<BR>}} }}
 
{{#ifeq: {{{Page Type|}}} | Water Project | {{#ask:[[{{{The Pagename|}}}]]|?Project on River=Dam located on- |format=list|headers=plain|mainlabel=-|link=all|offset=|limit=|default=&#32; |outro=<BR>}} }}

Revision as of 11:44, 20 December 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=
|The Pagename= (name of referred page)
|Page Type=
}}

Edit the page to see the template text.