|
Thanks for using our site! |
Template:SOSPioneersRecipeQuery: Difference between revisions
From ranchstory
Jump to navigationJump to search
imported>Kiwibasket mNo edit summary |
imported>Kiwibasket mNo edit summary |
||
| (277 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,Category,Level,Temperature, | |fields=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 {{{FLAVOR}}} }} | |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= | |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.