Thanks for using our site!

If you're looking to become an editor, please read the Becoming an Editor section carefully.

Template:SOSPioneersRecipeQuery: Difference between revisions

From ranchstory
Jump to navigationJump to search
imported>Kiwibasket
mNo edit summary
imported>Kiwibasket
mNo edit summary
Line 2: Line 2:
{{#cargo_query:table=SOSPioneersRecipes
{{#cargo_query:table=SOSPioneersRecipes
|fields=Name,Category,Level,Flavor,Temperature,Color,Ingredient1,Ingredient2,Ingredient3,Ingredient4,Topping
|fields=Name,Category,Level,Flavor,Temperature,Color,Ingredient1,Ingredient2,Ingredient3,Ingredient4,Topping
|where=Name LIKE "%{{{NAME|}}}%" {{#if:{{{CAT|}}}|AND Category="{{{CAT|}}}"}} {{#if:{{{LVL|}}}|AND Level={{{LVL}}} }} {{#if:{{{FLAVOR|}}}|AND Flavor HOLDS "{{{FLAVOR}}}" }} {{#if:{{{TEMP|}}}|AND Temperature HOLDS "{{{TEMP}}}" }} {{#if:{{{COLOR|}}}|{{#arraymap:{{{COLOR|}}}|, |x| AND Color HOLDS "x"}} }}
|where=Name LIKE "%{{{NAME|}}}%" {{#if:{{{CAT|}}}|AND Category="{{{CAT|}}}"}} {{#if:{{{LVL|}}}|AND Level={{{LVL}}} }} {{#if:{{{FLAVOR|}}}|AND Flavor HOLDS "{{{FLAVOR}}}" }} {{#if:{{{TEMP|}}}|AND Temperature HOLDS "{{{TEMP}}}" }} {{#if:{{{COLOR|}}}|{{#arraymap:{{{COLOR|}}}|,|x| AND Color HOLDS "%x%"}} }}
|format=table
|format=table
}}
}}
</includeonly>
</includeonly>

Revision as of 23:36, 29 March 2021

This is a test of a query.