Difference between revisions of "Template:Test Search"
From AquaPedia Case Study Database
(7 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
{{Test Search | {{Test Search | ||
|NSPD= | |NSPD= | ||
− | | | + | |Country= |
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | Matching | + | Matching <nowiki>[[Country::</nowiki>{{{Country|}}}]]: |
− | {{#ask: [[Country::{{{ | + | {{#ask: [[Country::{{{Country|}}}]] |
| ?Category | | ?Category | ||
| ?Country | | ?Country | ||
| ?NSPD | | ?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 | ||
| ?Country | | ?Country | ||
+ | }} | ||
+ | |||
+ | Matching Both: | ||
+ | {{#ask: [[Country::{{{Country|}}}]] {{#arraymap:{{{NSPD|}}}|,|x|[[NSPD::x]]}} | ||
+ | | ?Category | ||
| ?NSPD | | ?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.