Jump to content

Template:Infobox fruit tree/doc: Difference between revisions

From Stardew Valley Wiki
imported>Katzeus
mNo edit summary
imported>Margotbean
No edit summary
Line 1: Line 1:
==Description==
==Description==
This template is used to provide a template that displays an infobox for fruit tree pages.
This template displays an infobox for fruit tree pages.


==Usage==
==Usage==
Line 6: Line 6:


<pre>{{Infobox fruit tree
<pre>{{Infobox fruit tree
|name      =
|image      =  
|image      =  
|sapling    =  
|sapling    =  
|produce    =  
|altsapling =
|produce    =
|altproduce =  
|growth    =  
|growth    =  
|season    =  
|season    =  
|price      =
}}</pre>
}}</pre>


===Parameters===
===Parameters===
<pre>{{Infobox fruit tree
<pre>{{Infobox fruit tree
|name      = Tree name (optional - name of page if omitted)
|image      =  
|image      =  
|sapling    = What sapling does it use?
|sapling    = Sapling that grows into the tree
|produce    = What does it produce?
|altsapling = Name of sapling in language other than English
|growth    = How long for it to grow?
|produce    = Name of fruit produced by mature tree
|altproduce = Name of produce in language other than English
|growth    = Growth time from planting to full maturity
|season    = What season does it produce fruit in?
|season    = What season does it produce fruit in?
|price      = Sell price if sapling is sold to Pierre
}}</pre>
}}</pre>
This template automatically calculates the purchase prices for Pierre's General Store and the Traveling Cart, based on the sell price entered in the template.  The sell price can be found in <tt>Content\ObjectInformation.xnb</tt>.


<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 18:57, 21 April 2018

Description

This template displays an infobox for fruit tree pages.

Usage

This template can be used by entering the following onto a relevant page.

{{Infobox fruit tree
|name       =
|image      = 
|sapling    = 
|altsapling =
|produce    =
|altproduce = 
|growth     = 
|season     = 
|price      =
}}

Parameters

{{Infobox fruit tree
|name       = Tree name (optional - name of page if omitted)
|image      = 
|sapling    = Sapling that grows into the tree
|altsapling = Name of sapling in language other than English
|produce    = Name of fruit produced by mature tree
|altproduce = Name of produce in language other than English
|growth     = Growth time from planting to full maturity
|season     = What season does it produce fruit in?
|price      = Sell price if sapling is sold to Pierre
}}

This template automatically calculates the purchase prices for Pierre's General Store and the Traveling Cart, based on the sell price entered in the template. The sell price can be found in Content\ObjectInformation.xnb.