Changes

MyWikiBiz, Author Your Legacy — Tuesday April 30, 2024
Jump to navigationJump to search
Line 25: Line 25:     
How would I go about adding "by Category" to the ASK query on [[Directory:KJ Kitchens]]? Thanks---[[User:OmniMediaGroup|OmniMediaGroup]] 08:23, 19 January 2007 (PST)
 
How would I go about adding "by Category" to the ASK query on [[Directory:KJ Kitchens]]? Thanks---[[User:OmniMediaGroup|OmniMediaGroup]] 08:23, 19 January 2007 (PST)
 +
 +
:Just add a category filter at the start of the query. In this case, it would look something like this:
 +
<pre>
 +
<ASK Mainlabel="Article" Header="show" Link="all">
 +
[[Category:Soup Recipes]]
 +
[[Page Of::*|Section]]
 +
[[Page Of::<q>[[{{FULLPAGENAME}}]]</q>]]
 +
</ASK>
 +
</pre>
 +
 +
:Since your present recipes are all soups, the query won't change the current ASK results. However, once you add a non-soup recipe, you'll see that the query will only show recipes tagged with the ''soup recipe'' category. [[User:Snerfling|Snerfling]] 09:17, 19 January 2007 (PST)
2,646

edits

Navigation menu