Difference between revisions of "Template:Tool Grid query"

From COPTR
Jump to navigation Jump to search
Line 9: Line 9:
 
{{#arraymap:{{#ask: [[Category:Functions]] [[Stage::{{{stage|}}}]]|limit=500|link=none|sep=@}}|@|xqqx|<th>[[xqqx]]</th>|}}
 
{{#arraymap:{{#ask: [[Category:Functions]] [[Stage::{{{stage|}}}]]|limit=500|link=none|sep=@}}|@|xqqx|<th>[[xqqx]]</th>|}}
 
</tr>
 
</tr>
{{#arraymap: {{#ask: {{#if:{{{content|}}}| [[Category:Tools]] [[Function.Stage::{{{stage|}}}]] [[Content::{{{content|}}}]]|[[Category:Tools without Content Type]] }} }}|limit=500|sep=@|link=none}}|@|yqqy|
+
{{#if: {{{content|}}}|
 +
{{#arraymap: {{#ask: [[Category:Tools]] [[Function.Stage::{{{stage|}}}]] [[Content::{{{content|}}}]]|limit=500|sep=@|link=none}}|@|yqqy|
 +
<tr><td>[[yqqy]]</td>
 +
{{#arraymap:{{#ask: [[Category:Functions]] [[Stage::{{{stage|}}}]]|limit=500|link=none|sep=@}}|@|xqqx|
 +
<td style="vertical-align: middle; text-align: center;">{{#if: {{#ask: [[yqqy]] [[Function::xqqx]]}}|X}}</td>
 +
|}}
 +
</tr>
 +
|}}
 +
|
 +
{{#arraymap: {{#ask: [[Category:Tools without Content Type]] [[Function.Stage::{{{stage|}}}]]|limit=500|sep=@|link=none}}|@|yqqy|
 
<tr><td>[[yqqy]]</td>
 
<tr><td>[[yqqy]]</td>
 
{{#arraymap:{{#ask: [[Category:Functions]] [[Stage::{{{stage|}}}]]|limit=500|link=none|sep=@}}|@|xqqx|
 
{{#arraymap:{{#ask: [[Category:Functions]] [[Stage::{{{stage|}}}]]|limit=500|link=none|sep=@}}|@|xqqx|

Revision as of 18:59, 25 May 2021

This is the 'Tool Grid query' template. It should be called via the Form:Tool Grid query form.