Thanks for using our site!

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

Template:SOSPioneersCrop: Difference between revisions

From ranchstory
Jump to navigationJump to search
imported>Alikatvail
No edit summary
imported>Alikatvail
add NOSTARRANK and INEDIBLE tags
 
(38 intermediate revisions by the same user not shown)
Line 4: Line 4:
     |NAME=Name
     |NAME=Name
     |CAT=Category
     |CAT=Category
     |MUTATION=If giant/golden/etc.
     |NOSTARRANK=Does not have star ratings (Yes/No) (default no)
    |DESC=Description
    |COST=Base seed cost (Normal Mode)
     |SHIP=Base shipping price (Normal Mode)
     |SHIP=Base shipping price (Normal Mode)
    |EXP=Skill experience (Normal Mode)
    |INEDIBLE=Cannot be eaten (Yes/No) (default no)
    |RESTORE=Base energy restored (default —)
    |SPRING=Grows in Spring (Yes/No) (default no)
    |SUMMER=Grows in Summer (Yes/No) (default no)
    |AUTUMN=Grows in Autumn (Yes/No) (default no)
    |WINTER=Grows in Winter (Yes/No) (default no)
     |YIELD=Yield per harvest
     |YIELD=Yield per harvest
     |GROWTIME=Grow time (in days)
     |GROWTIME=Grow time (in days)
     |HARVESTS=Total harvests
     |HARVESTS=Total # of harvests (default 1)
     |REGROWTIME=Regrow time (in days)
     |REGROWTIME=Regrow time (in days) (default —)
     |SPRING=Spring
     |DESC=Description
    |SUMMER=Summer
    |AUTUMN=Autumn
    |WINTER=Winter
     |OBTAIN=How to obtain
     |OBTAIN=How to obtain
    |GROWTHSTAGES=Stages of growth
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{
 
    #cargo_declare:
==Example==
    _table=SOSPioneersCrops
<table class="wikitable sortable" style="text-align:center" width=100%>
    |Image=File
<tr>
    |Name=String
<th colspan="2" rowspan="2">Crop</th>
     |Category=String
<th colspan="3">Price (Normal Mode)</th>
     |Mutation=Boolean
<th colspan="3">Price (Seedling Mode)</th>
     |Description=String
<th colspan="2">{{#tip-text: Skill Exp. | The amount of skill experience received when harvesting one crop.}}</th>
     |Cost=Integer
<th colspan="3">Energy Recovery</th>
     |Ship=Integer
<th colspan="4">Seasonality</th>
     |Yield=Integer
<th colspan="2">Growth</th>
     |GrowTime=Integer
<th colspan="2">Regrowth</th>
     |Harvests=Integer
</tr><tr>
     |RegrowTime=Integer
<th width=30px data-sort-type="number"><small>{{#tip-text: 0★ | The amount received when shipping one 0★ crop.}}</small></th>
     |Spring=Boolean
<th width=30px data-sort-type="number"><small>{{#tip-text: 5★ | The amount received when shipping one 5★ crop.}}</small></th>
     |Summer=Boolean
<th width=30px data-sort-type="number"><small>{{#tip-text: 10★ | The amount received when shipping one 10★ crop.}}</small></th>
     |Autumn=Boolean
<th width=30px data-sort-type="number"><small>{{#tip-text: 0★ | The amount received when shipping one 0★ crop.}}</small></th>
    |Winter=Boolean
<th width=30px data-sort-type="number"><small>{{#tip-text: 5★ | The amount received when shipping one 5★ crop.}}</small></th>
     |ObtainNotes=Wikitext string
<th width=30px data-sort-type="number"><small>{{#tip-text: 10★ | The amount received when shipping one 10★ crop.}}</small></th>
<th width=50px><small>Normal</small></th>
<th width=50px><small>Seedling</small></th>
<th width=30px data-sort-type="number"><small>{{#tip-text: 0★ | The amount of energy restored when eating one 0★ crop.}}</small></th>
<th width=30px data-sort-type="number"><small>{{#tip-text: 5★ | The amount of energy restored when eating one 5★ crop.}}</small></th>
<th width=30px data-sort-type="number"><small>{{#tip-text: 10★ | The amount of energy restored when eating one 10★ crop.}}</small></th>
<th width=50px><small>Spring</small></th>
<th width=50px><small>Summer</small></th>
<th width=50px><small>Autumn</small></th>
<th width=50px><small>Winter</small></th>
<th width=50px data-sort-type="number"><small>{{#tip-text: Yield | The number of crops received per harvest.}}</small></th>
<th width=50px data-sort-type="number"><small>{{#tip-text: Time | The number of days between planting and first harvest.}}</small></th>
<th width=50px data-sort-type="number"><small>{{#tip-text: Count | The number of times this crop can be harvested before replanting.}}</small></th>
<th width=50px data-sort-type="number"><small>{{#tip-text: Time | The number of days between first harvest and subsequent harvests.}}</small></th>
</tr>
{{SOSPioneersCrop
     |NAME=Potato
     |CAT=Vegetable/Fruit
     |SHIP=42
     |EXP=2
     |RESTORE=20
     |SPRING=Yes
     |SUMMER=Yes
     |WINTER=Yes
     |YIELD=4
     |GROWTIME=6
     |DESC=A round potato, filled with nutrients from the earth.
     |OBTAIN=
* Grow from Potato Seeds
* Buy from [[Norman's Groceries (Story of Seasons: Pioneers of Olive Town)|Norman's Groceries]] in Spring, Summer, or Winter
     |GROWTHSTAGES=
<table style="text-align:center">
<tr>
<td width=75px>'''Seed'''</td>
<td width=75px>'''Stage 1'''</td>
<td width=50px></td>
<td width=50px></td>
<td width=75px>'''Stage 2'''</td>
<td width=50px></td>
<td width=75px>'''Harvest'''</td>
</tr><tr>
<td>[[File:SOS Pioneers Items Seeds Potato Seeds.png|50px]]</td>
<td>x</td>
<td>—</td>
<td>—</td>
<td>x</td>
<td>—</td>
<td>[[File:SOS Pioneers Items Crop Potato.png|50px]]</td>
</tr><tr>
<td>Day 0</td>
<td>Day 1</td>
<td>2</td>
<td>3</td>
<td>Day 4</td>
<td>5</td>
<td>Day 6</td>
</tr>
</table>
}}
}}
</table>
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{{#cargo_store:
<tr>
    _table=SOSPioneersCrops
<td height=50px width=50px>[[File:SOS Pioneers Items {{#switch: {{{CAT|}}} | Vegetable/Fruit | Tree Crop = Crop | {{{CAT|}}}}} {{{NAME}}}.png|50px]]</td>
    |Image=SOS Pioneers Items {{{CAT}}} {{{NAME}}}.png
<td style="text-align:left" width=150px>'''{{{NAME}}}'''<br><span class="mw-customtoggle-{{anchorencode:{{{NAME|}}}}}"><nomobile><small>[more details]</small></nomobile></span></td>
    |Name={{{NAME|}}}
<td>{{{SHIP}}}<small>G</small></td>
    |Category={{{CAT|}}}
{{#if: {{{NOSTARRANK|}}} | <td>—</td> <td>—</td> |
    |Mutation={{{MUTATION|}}}
<td>{{#expr: {{{SHIP|}}} * 1.25 round 0}}<small>G</small></td>
    |Description={{{DESC|}}}
<td>{{#expr: {{{SHIP|}}} * 1.5 round 0}}<small>G</small></td>}}
    |Cost={{{COST|}}}
<td>{{#expr: {{{SHIP|}}} * 1.2 round 0}}<small>G</small></td>
    |Ship={{{SHIP|}}}
{{#if: {{{NOSTARRANK|}}} | <td>—</td> <td>—</td> |
    |Yield={{{YIELD|}}}
<td>{{#expr: ({{{SHIP|}}} * 1.2 round 0) * 1.25 round 0}}<small>G</small></td>
    |GrowTime={{{GROWTIME|}}}
<td>{{#expr: ({{{SHIP|}}} * 1.2 round 0) * 1.5 round 0}}<small>G</small></td>}}
    |Harvests={{{HARVESTS|}}}
<td>{{{EXP}}}</td>
    |RegrowTime={{{REGROWTIME|}}}
<td>{{#expr: {{{EXP|}}} * 1.5 round 0}}</td>
    |Spring={{{SPRING|}}}
{{#if: {{{INEDIBLE|}}} | <td>—</td> <td>—</td> <td>—</td> |
    |Summer={{{SUMMER|}}}
<td>{{{RESTORE}}}</td> {{#if: {{{NOSTARRANK|}}} | <td>—</td> <td>—</td> |
    |Autumn={{{AUTUMN|}}}
<td>{{#expr: {{{RESTORE|}}} * 1.25 round 0}}</td>
    |Winter={{{WINTER|}}}
<td>{{#expr: {{{RESTORE|}}} * 1.5 round 0}}</td>}}}}
    |ObtainNotes={{{OBTAIN|}}}
<td style="background-color:#{{#if: {{{SPRING|}}} | BAFFC9">Spring | FFB3BA">—}}</td>
}} |-
<td style="background-color:#{{#if: {{{SUMMER|}}} | BAFFC9">Summer | FFB3BA">—}}</td>
| style="height:75px" | [[File:SOS Pioneers Items {{{CAT}}} {{{NAME}}}.png|50px]]
<td style="background-color:#{{#if: {{{AUTUMN|}}} | BAFFC9">Autumn | FFB3BA">—}}</td>
| style="text-align:left" | '''{{{NAME}}}'''
<td style="background-color:#{{#if: {{{WINTER|}}} | BAFFC9">Winter | FFB3BA">—}}</td>
| data-sort-value={{{COST}}} | {{{COST}}}<small>G</small>
<td>{{{YIELD}}}</td>
| data-sort-value={{{SHIP}}} | {{{SHIP}}}<small>G</small>
<td>{{{GROWTIME}}} days</td>
| {{#expr: {{{COST|}}} * 0.8 round 0}}<small>G</small>
<td>{{#if: {{{HARVESTS|}}} | {{{HARVESTS|}}} | 1}}</td>
| {{#expr: {{{SHIP|}}} * 1.2 round 0}}<small>G</small>
<td>{{#if: {{{REGROWTIME|}}} | {{{REGROWTIME|}}} days | —}}</td>
| style="background-color:#{{#if: {{{SPRING|}}} | BAFFC9" {{!}} Spring | FFB3BA" {{!}} —}}
</tr><tr id="mw-customcollapsible-{{anchorencode:{{{NAME|}}}}}" class="expand-child mw-collapsible mw-collapsed nomobile" style="background-color:#EEEEEE">
| style="background-color:#{{#if: {{{SUMMER|}}} | BAFFC9" {{!}} Summer | FFB3BA" {{!}} —}}
<td colspan="13" style="padding:10px">
| style="background-color:#{{#if: {{{AUTUMN|}}} | BAFFC9" {{!}} Autumn | FFB3BA" {{!}} —}}
<center>{{{GROWTHSTAGES}}}</center>
| style="background-color:#{{#if: {{{WINTER|}}} | BAFFC9" {{!}} Winter | FFB3BA" {{!}} —}}
</td>
| {{{YIELD}}}
<td style="padding:10px; text-align:left; vertical-align:top" colspan="4"><center>'''Description'''</center><hr>{{{DESC}}}</td>
| data-sort-value={{{GROWTIME}}} | {{{GROWTIME}}} days
<td style="padding:10px; text-align:left; vertical-align:top" colspan="4"><center>'''How to Obtain'''</center><hr>
| {{#if: {{{HARVESTS}}} | {{{HARVESTS|}}} | 1}}
{{{OBTAIN}}}
| data-sort-value={{#if {{{REGROWTIME}}} | {{{REGROWTIME|}}} {{!}} {{{REGROWTIME|}}} days | 0 {{!}} —}}
</tr>
| style="text-align:left" | <small>{{{DESC}}}</small>
| style="text-align:left" | <small>{{{OBTAIN}}}</small>
</includeonly>
</includeonly>

Latest revision as of 09:10, 28 April 2021

{{SOSPioneersCrop
    |NAME=Name
    |CAT=Category
    |NOSTARRANK=Does not have star ratings (Yes/No) (default no)
    |SHIP=Base shipping price (Normal Mode)
    |EXP=Skill experience (Normal Mode)
    |INEDIBLE=Cannot be eaten (Yes/No) (default no)
    |RESTORE=Base energy restored (default —)
    |SPRING=Grows in Spring (Yes/No) (default no)
    |SUMMER=Grows in Summer (Yes/No) (default no)
    |AUTUMN=Grows in Autumn (Yes/No) (default no)
    |WINTER=Grows in Winter (Yes/No) (default no)
    |YIELD=Yield per harvest
    |GROWTIME=Grow time (in days)
    |HARVESTS=Total # of harvests (default 1)
    |REGROWTIME=Regrow time (in days) (default —)
    |DESC=Description
    |OBTAIN=How to obtain
    |GROWTHSTAGES=Stages of growth
}}

Edit the page to see the template text.

Example

Crop Price (Normal Mode) Price (Seedling Mode) Skill Exp. Energy Recovery Seasonality Growth Regrowth
0★ 5★ 10★ 0★ 5★ 10★ Normal Seedling 0★ 5★ 10★ Spring Summer Autumn Winter Yield Time Count Time
Potato
<nomobile>[more details]</nomobile>
42G 53G 63G 50G 63G 75G 2 3 20 25 30 Spring Summer — Winter 4 6 days 1 —
Seed Stage 1 Stage 2 Harvest
x — — x —
Day 0 Day 1 2 3 Day 4 5 Day 6
Description

A round potato, filled with nutrients from the earth.
How to Obtain