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
No edit summary
Line 4: Line 4:
     |NAME=Name
     |NAME=Name
     |CAT=Category
     |CAT=Category
    |MUTATION=If giant/golden/etc.
    |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)
    |RESTORE=Base energy restored
    |SPRING=Grows in Spring (Yes/No)
    |SUMMER=Grows in Summer (Yes/No)
    |AUTUMN=Grows in Autumn (Yes/No)
    |WINTER=Grows in Winter (Yes/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
     |REGROWTIME=Regrow time (in days)
     |REGROWTIME=Regrow time (in days)
     |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:
    _table=SOSPioneersCrops
    |Image=File
    |Name=String
    |Category=String
    |Mutation=Boolean
    |Description=String
    |Cost=Integer
    |Ship=Integer
    |Yield=Integer
    |GrowTime=Integer
    |Harvests=Integer
    |RegrowTime=Integer
    |Spring=Boolean
    |Summer=Boolean
    |Autumn=Boolean
    |Winter=Boolean
    |ObtainNotes=Wikitext string
}}
</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 {{#switch: {{{CAT|}}} | Vegetable/Fruit | Tree Crop = Crop | {{{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|}}}
<td>{{#expr: {{{SHIP|}}} * 1.25 round 0}}<small>G</small></td>
    |Mutation={{{MUTATION|}}}
<td>{{#expr: {{{SHIP|}}} * 1.5 round 0}}<small>G</small></td>
    |Description={{{DESC|}}}
<td>{{#expr: {{{SHIP|}}} * 1.2 round 0}}<small>G</small></td>
    |Cost={{{COST|}}}
<td>{{#expr: ({{{SHIP|}}} * 1.2 round 0) * 1.25 round 0}}<small>G</small></td>
    |Ship={{{SHIP|}}}
<td>{{#expr: ({{{SHIP|}}} * 1.2 round 0) * 1.5 round 0}}<small>G</small></td>
    |Yield={{{YIELD|}}}
<td>{{{EXP}}}</td>
    |GrowTime={{{GROWTIME|}}}
<td>{{#expr: {{{EXP|}}} * 1.5 round 0}}</td>
    |Harvests={{{HARVESTS|}}}
<td>{{{RESTORE}}}</td>
    |RegrowTime={{{REGROWTIME|}}}
<td>{{#expr: {{{RESTORE|}}} * 1.25 round 0}}</td>
    |Spring={{{SPRING|}}}
<td>{{#expr: {{{RESTORE|}}} * 1.5 round 0}}</td>
    |Summer={{{SUMMER|}}}
<td style="background-color:#{{#if: {{{SPRING|}}} | BAFFC9">Spring | FFB3BA">—}}</td>
    |Autumn={{{AUTUMN|}}}
<td style="background-color:#{{#if: {{{SUMMER|}}} | BAFFC9">Summer | FFB3BA">—}}</td>
    |Winter={{{WINTER|}}}
<td style="background-color:#{{#if: {{{AUTUMN|}}} | BAFFC9">Autumn | FFB3BA">—}}</td>
    |ObtainNotes={{{OBTAIN|}}}
<td style="background-color:#{{#if: {{{WINTER|}}} | BAFFC9">Winter | FFB3BA">—}}</td>
}} |- class="filter-element" data-season="{{#if: {{{SPRING|}}} | spring}},{{#if: {{{SUMMER|}}} | summer}}, {{#if: {{{AUTUMN|}}} | autumn}}, {{#if: {{{WINTER|}}} | winter}}"
<td>{{{YIELD}}}</td>
| style="height:75px" | [[File:SOS Pioneers Items {{#switch: {{{CAT|}}} | Vegetable/Fruit | Tree Crop = Crop | {{{CAT|}}}}} {{{NAME}}}.png|50px]]
<td>{{{GROWTIME}}} days</td>
| style="text-align:left" | '''{{{NAME}}}'''
<td>{{{HARVESTS}}}</td>
| data-sort-value={{#if: {{{COST|}}} | {{{COST|}}} {{!}} {{{COST|}}}<small>G</small> | 0 {{!}} — }}
<td>{{#if: {{{REGROWTIME|}}} | {{{REGROWTIME|}}} days | —}}</td>
| data-sort-value={{{SHIP}}} | {{{SHIP}}}<small>G</small>
</tr><tr id="mw-customcollapsible-{{anchorencode:{{{NAME|}}}}}" class="expand-child mw-collapsible mw-collapsed nomobile" style="background-color:#EEEEEE">
| data-sort-value={{#if: {{{COST|}}} | {{#expr: {{{COST|}}} * 0.8 round 0}} {{!}} {{#expr: {{{COST|}}} * 0.8 round 0}}<small>G</small> | 0 {{!}} — }}
<td colspan="13" style="padding:10px">
| data-sort-value={{#expr: {{{SHIP|}}} * 1.2 round 0}} | {{#expr: {{{SHIP|}}} * 1.2 round 0}}<small>G</small>
<center>{{{GROWTHSTAGES}}}</center>
| style="background-color:#{{#if: {{{SPRING|}}} | BAFFC9" {{!}} Spring | FFB3BA" {{!}} —}}
</td>
| style="background-color:#{{#if: {{{SUMMER|}}} | BAFFC9" {{!}} Summer | FFB3BA" {{!}} —}}
<td style="padding:10px; text-align:left; vertical-align:top" colspan="4"><center>'''Description'''</center><hr>{{{DESC}}}</td>
| style="background-color:#{{#if: {{{AUTUMN|}}} | BAFFC9" {{!}} Autumn | FFB3BA" {{!}} —}}
<td style="padding:10px; text-align:left; vertical-align:top" colspan="4"><center>'''How to Obtain'''</center><hr>
| style="background-color:#{{#if: {{{WINTER|}}} | BAFFC9" {{!}} Winter | FFB3BA" {{!}} —}}
{{{OBTAIN}}}
| {{{YIELD}}}
</tr>
| data-sort-value={{{GROWTIME}}} | {{{GROWTIME}}} days
| {{#if: {{{HARVESTS|}}} | {{{HARVESTS|}}} | 1}}
| data-sort-value={{#if: {{{REGROWTIME|}}} | {{{REGROWTIME|}}} {{!}} {{{REGROWTIME|}}} days | 0 {{!}} —}}
| style="text-align:left" | <small>{{{DESC}}}</small>
| style="text-align:left" | <small>{{{OBTAIN}}}</small>
|-
</includeonly>
</includeonly>

Revision as of 10:52, 27 April 2021

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

Edit the page to see the template text.