title: IDX condition in a getresource tpl
body: <p>I use getresource like this:</p>
  
  <pre><code>[[!getResources? &amp;tpl=`coffrets_id` &amp;parents=`1115`]]
  </code></pre>
  
  <p>inside <code>coffrets_id</code> tpl I'd like to be able to do something like this:</p>
  
  <pre><code>[[+idx:is=`1`:then=`show only first getressrouce result`:else=``]]
  [[+idx:is=`2`:then=`show only second getressrouce result`:else=``]]
  [[+idx:is=`3`:then=`show only third getressrouce result`:else=``]]...
  </code></pre>
  
  <p>but I have no idea how to show only the result that matches the idx. Is there any solution? </p>