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 6: Line 6:
|fields=Name=Image,Name,Category,Level,Flavor,Temperature,Color,Ingredient1,Ingredient2,Ingredient3,Ingredient4,Topping
|fields=Name=Image,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 {{#arraymap:{{{FLAVOR}}}|, |x|"x"| AND Flavor HOLDS}} }} {{#if:{{{TEMP|}}}|AND Temperature HOLDS {{#arraymap:{{{TEMP}}}|, |x|"x"| AND Temperature HOLDS}} }} {{#if:{{{COLOR|}}}|AND Color HOLDS {{#arraymap:{{{COLOR}}}|, |x|"x"| AND Color HOLDS }} }} {{#if:{{{INGREDIENTS|}}}|AND AllIngredients HOLDS LIKE {{#arraymap:{{{INGREDIENTS}}}|, |x|"%x%"| AND AllIngredients HOLDS LIKE}} }} {{#if:{{{TOP|}}}|AND Topping LIKE "%{{{TOP}}}%"}}
|where=Name LIKE "%{{{NAME|}}}%" {{#if:{{{CAT|}}}|AND Category="{{{CAT|}}}"}} {{#if:{{{LVL|}}}|AND Level={{{LVL}}} }} {{#if:{{{FLAVOR|}}}|AND Flavor HOLDS {{#arraymap:{{{FLAVOR}}}|, |x|"x"| AND Flavor HOLDS}} }} {{#if:{{{TEMP|}}}|AND Temperature HOLDS {{#arraymap:{{{TEMP}}}|, |x|"x"| AND Temperature HOLDS}} }} {{#if:{{{COLOR|}}}|AND Color HOLDS {{#arraymap:{{{COLOR}}}|, |x|"x"| AND Color HOLDS }} }} {{#if:{{{INGREDIENTS|}}}|AND AllIngredients HOLDS LIKE {{#arraymap:{{{INGREDIENTS}}}|, |x|"%x%"| AND AllIngredients HOLDS LIKE}} }} {{#if:{{{TOP|}}}|AND Topping LIKE "%{{{TOP}}}%"}}
|format=template
|format=dynamic table
|template=SOSPioneersRecipeQueryRow
|named args=yes
}}
}}
|}
|}
</includeonly>
</includeonly>

Revision as of 13:04, 30 March 2021

This is a test of a query.