Difference between revisions of "Template:Test Search"

From AquaPedia Case Study Database
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Matching 'Country::Country':
+
Matching <nowiki>[[Country::</nowiki>{{{Country|}}}]]:
 
{{#ask: [[Country::{{{Country|}}}]]   
 
{{#ask: [[Country::{{{Country|}}}]]   
 
  | ?Category
 
  | ?Category
 
  | ?Country
 
  | ?Country
 +
| ?NSPD
 
}}
 
}}
  
 
Matching NSPD:
 
Matching NSPD:
{{#ask: {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]}}  
+
{{#ask: {{if: {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]}} | * |  {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]}}}}
 
  | ?Category
 
  | ?Category
 
  | ?NSPD
 
  | ?NSPD
 +
| ?Country
 +
}}
 +
 +
Matching Both:
 +
{{#ask: [[Country::{{{Country|}}}]] {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]}}
 +
| ?Category
 +
| ?NSPD
 +
| ?Country
 
}}
 
}}
  
 
</includeonly>
 
</includeonly>

Latest revision as of 12:56, 9 May 2012

This is the "Test Search" template. It should be called in the following format:

{{Test Search
|NSPD=
|Country=
}}

Edit the page to see the template text.