Difference between revisions of "Template:Test Search"

From AquaPedia Case Study Database
Jump to: navigation, search
(Created page with "<noinclude> This is the "Test Search" template. It should be called in the following format: <pre> {{Test Search |NSPD= |Title= }} </pre> Edit the page to see the template tex...")
 
 
(9 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
{{Test Search
 
{{Test Search
 
|NSPD=
 
|NSPD=
|Title=
+
|Country=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
+
</noinclude><includeonly>
! NSPD
+
Matching <nowiki>[[Country::</nowiki>{{{Country|}}}]]:
| {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]}}
+
{{#ask: [[Country::{{{Country|}}}]] 
|-
+
| ?Category
! Title
+
| ?Country
| {{{Title|}}}
+
| ?NSPD
|}
+
}}
 +
 
 +
Matching NSPD:
 +
{{#ask: {{if: {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]}} | * | {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]}}}}
 +
| ?Category
 +
| ?NSPD
 +
| ?Country
 +
}}
 +
 
 +
Matching Both:
 +
{{#ask: [[Country::{{{Country|}}}]] {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]}}  
 +
| ?Category
 +
| ?NSPD
 +
| ?Country
 +
}}
 +
 
 
</includeonly>
 
</includeonly>

Latest revision as of 13: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.