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
No edit summary
imported>Kiwibasket
No edit summary
Line 5: Line 5:
{{#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={{#if:{{{NAME|}}}|Name LIKE "%{{{NAME|}}}%"}} {{#if:{{{CAT|}}}|AND Category="{{{CAT}}}"}} {{#if:{{{LVL|}}}|AND Level={{{LVL}}} }} {{#if:{{{FLAVOR|}}}|AND Flavor HOLDS LIKE {{#arraymap:{{{FLAVOR}}}|, |x|"x"| AND Flavor HOLDS LIKE}} }} {{#if:{{{TEMP|}}}|AND Temperature HOLDS {{#arraymap:{{{TEMP}}}|, |x|"x"| AND Temperature HOLDS}} }} {{#if:{{{COLOR|}}}|AND Color = {{#arraymap:{{{COLOR}}}|, |x|"x"| AND Color = }} }}
|where={{#if:{{{NAME|}}}|Name LIKE "%{{{NAME|}}}%"}} {{#if:{{{CAT|}}}|AND Category="{{{CAT}}}"}} {{#if:{{{LVL|}}}|AND Level={{{LVL}}} }} {{#if:{{{FLAVOR|}}}|AND Flavor HOLDS LIKE {{#arraymap:{{{FLAVOR}}}|, |x|x| AND Flavor HOLDS LIKE}} }} {{#if:{{{TEMP|}}}|AND Temperature HOLDS {{#arraymap:{{{TEMP}}}|, |x|"x"| AND Temperature HOLDS}} }} {{#if:{{{COLOR|}}}|AND Color = {{#arraymap:{{{COLOR}}}|, |x|"x"| AND Color = }} }}
|format=template
|format=template
|template=SOSPioneersRecipeQueryRow
|template=SOSPioneersRecipeQueryRow

Revision as of 19:25, 4 April 2021

This is a test of a query.