|
Thanks for using our site! |
Template:SOSPioneersRecipeQuery: Difference between revisions
From ranchstory
Jump to navigationJump to search
imported>Kiwibasket Created page with "<noinclude>This is a test of a query.</noinclude><includeonly> {{#cargo_query:table=SOSPioneersRecipes |fields=Name=Category,Level,Flavor,Temperature,Color,Ingredients,Topping..." |
imported>Kiwibasket mNo edit summary |
||
| (370 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>This is | <noinclude>This is a query for SOS Pioneers Recipes.<br> | ||
To edit the template row appearance, go to [[Template:SOSPioneersRecipeQueryRow]].</noinclude><includeonly> | |||
{| class="wikitable" style="text-align:center;" | |||
! || Name || Category || Level || Flavor || Temperature || Color || colspan="4" | Ingredients || Topping | |||
|- | |||
{{#cargo_query:table=SOSPioneersRecipes | {{#cargo_query:table=SOSPioneersRecipes | ||
|fields=Name | |fields=Image,Name,Category,Level,Flavor,Temperature,Color,Ingredient1,Ingredient2,Ingredient3,Ingredient4,Topping | ||
|where=Name LIKE "%{{{NAME|}}}%" AND Category | |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 | |||
|template=SOSPioneersRecipeQueryRow | |||
|named args=yes | |||
}} | }} | ||
|} | |||
</includeonly> | </includeonly> | ||
Latest revision as of 20:35, 8 June 2021
This is a query for SOS Pioneers Recipes.
To edit the template row appearance, go to Template:SOSPioneersRecipeQueryRow.