Thanks for using our site!

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

Template:SOSPioneersRecipeForm: Difference between revisions

From ranchstory
Jump to navigationJump to search
imported>Kiwibasket
mNo edit summary
imported>Kiwibasket
mNo edit summary
 
(54 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "SOSPioneersItemForm" template.
This is the "SOSPioneersRecipeForm" template for [[Form:SOSPioneersRecipeForm]].
 
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{SOSPioneersItemForm
{{SOSPioneersRecipeForm
|NAME=
|NAME=Name
|JPNAME=
|CAT=Category
|CAT=
|UNLOCK=Bistro, Cafe, Lovett
|BUYPRICESIMPLE=
|LVL=Level
|BUYPRICENORMAL=
|FLAVOR=Flavor
|SELLPRICESIMPLE=
|TEMP=Temperature
|SELLPRICENORMAL=
|COLOR=Color
|LVL=
|INGREDIENT1=Ingredient 1
|FLAVOR=
|INGREDIENT1TYPE=Ingredient 1's Type
|TEMP=
|INGREDIENT2=Ingredient 2
|COLOR=
|INGREDIENT2TYPE=Ingredient 2's Type
|INGREDIENT1=
|INGREDIENT3=Ingredient 3
|INGREDIENT2=
|INGREDIENT3TYPE=Ingredient 3's Type
|INGREDIENT3=
|INGREDIENT4=Ingredient 4
|INGREDIENT4=
|INGREDIENT4TYPE=Ingredient 4's Type
|TOPPING=
|TOPPING=Topping
|TOPPINGTYPE=Topping's Type
}}
}}
</pre>
</pre>
Line 25: Line 27:
{{#cargo_declare:
{{#cargo_declare:
_table=SOSPioneersRecipes
_table=SOSPioneersRecipes
|Image=File
|Name=String
|Name=String
|Category=String
|Category=String
Line 38: Line 41:
|Topping=String
|Topping=String
}}
}}
{{#ifeq:{{{CAT}}}|Salad|{{#cargo_store:
</noinclude><includeonly>{{#cargo_store:
_table=SOSPioneersRecipes
_table=SOSPioneersRecipes
|Image=SOS Pioneers Items {{{CAT}}} {{{NAME}}}.png
|Name={{{NAME|}}}
|Name={{{NAME|}}}
|Category={{{CAT|}}}
|Category={{{CAT|}}}
Line 52: Line 56:
|AllIngredients={{{INGREDIENT1|}}},{{{INGREDIENT2|}}},{{{INGREDIENT3|}}},{{{INGREDIENT4|}}}
|AllIngredients={{{INGREDIENT1|}}},{{{INGREDIENT2|}}},{{{INGREDIENT3|}}},{{{INGREDIENT4|}}}
|Topping={{{TOPPING|}}}
|Topping={{{TOPPING|}}}
}} }}
}} |-
</noinclude><includeonly>
|-
| [[File: SOS Pioneers Items {{{CAT}}} {{{NAME}}}.png|50px]]
| [[File: SOS Pioneers Items {{{CAT}}} {{{NAME}}}.png|50px]]
| {{{NAME}}} <hr> {{{JPNAME|}}}
| '''{{{NAME}}}''' {{#switch:{{{UNLOCK}}} | Bistro=<ref name="bistro" /> | Cafe=<ref name="café" /> | Lovett=<ref name="gourmet" /> }}
| {{{LVL}}}
| {{{LVL}}}
| {{{FLAVOR}}}
| {{{FLAVOR}}}
| {{{TEMP}}}
| {{{TEMP}}}
| {{{COLOR}}}
| {{#arraymap:{{{COLOR}}}|, |x|<span style="background-color:x; {{#switch:x|White=|Orange=|Tan=|Yellow=|Peach=background-color:tan|color:white;}}">x</span> }}
| {{{INGREDIENT1}}}
| style="width:10%" |  [[File:SOS Pioneers Items {{{INGREDIENT1TYPE}}} {{{INGREDIENT1}}}.png|50px]]<br>{{{INGREDIENT1}}}
| {{{INGREDIENT2|}}}
| style="width:10%" |  {{#if:{{{INGREDIENT2|}}}|[[File:SOS Pioneers Items {{{INGREDIENT2TYPE}}} {{{INGREDIENT2}}}.png|50px]]<br>{{{INGREDIENT2|}}} | - }}
| {{{INGREDIENT3|}}}
| style="width:10%" |  {{#if:{{{INGREDIENT3|}}}|[[File:SOS Pioneers Items {{{INGREDIENT3TYPE}}} {{{INGREDIENT3}}}.png|50px]]<br>{{{INGREDIENT3|}}} | - }}
| {{{INGREDIENT4|}}}
| style="width:10%" |  {{#if:{{{INGREDIENT4|}}}|[[File:SOS Pioneers Items {{{INGREDIENT4TYPE}}} {{{INGREDIENT4}}}.png|50px]]<br>{{{INGREDIENT4|}}} | - }}
| {{{TOPPING|}}}
| style="width:10%" |  [[File:SOS Pioneers Items {{{TOPPINGTYPE}}} {{{TOPPING}}}.png|50px]]<br>{{{TOPPING|}}}
</includeonly>
</includeonly>

Latest revision as of 14:37, 6 June 2021

This is the "SOSPioneersRecipeForm" template for Form:SOSPioneersRecipeForm.

It should be called in the following format:

{{SOSPioneersRecipeForm
|NAME=Name
|CAT=Category
|UNLOCK=Bistro, Cafe, Lovett
|LVL=Level
|FLAVOR=Flavor
|TEMP=Temperature
|COLOR=Color
|INGREDIENT1=Ingredient 1
|INGREDIENT1TYPE=Ingredient 1's Type
|INGREDIENT2=Ingredient 2
|INGREDIENT2TYPE=Ingredient 2's Type
|INGREDIENT3=Ingredient 3
|INGREDIENT3TYPE=Ingredient 3's Type
|INGREDIENT4=Ingredient 4
|INGREDIENT4TYPE=Ingredient 4's Type
|TOPPING=Topping
|TOPPINGTYPE=Topping's Type
}}

Edit the page to see the template text. {{#cargo_declare: _table=SOSPioneersRecipes |Image=File |Name=String |Category=String |Level=Interger |Flavor=List (,) of String |Temperature=List (,) of String |Color=List (,) of String |Ingredient1=String |Ingredient2=String |Ingredient3=String |Ingredient4=String |AllIngredients=List (,) of String |Topping=String }}