Changes

Jump to navigation Jump to search
1,785 bytes added ,  03:04, 5 April 2023
archive template
Line 20: Line 20:  
   | data-sort-value="00"{{!}}&mdash; <!-- !ifexpr -->
 
   | data-sort-value="00"{{!}}&mdash; <!-- !ifexpr -->
 
   }} <!-- end ifexpr -->
 
   }} <!-- end ifexpr -->
}}<!-- arrayprint:qualities --></includeonly>
+
}}<!-- arrayprint:qualities --></includeonly><noinclude>
<noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
+
==Description==
 +
This template calculates point values awarded for items in the Stardew Valley Fair.  It creates a sortable table entry for a given item's ''base sell price'' (excluding profession bonuses) in the Stardew Valley Fair grange display.
 +
 
 +
The first argument is the item's image name, and the second argument is its ''base sell price''.  The image name will also be the link to the item unless an alternate name is specified.
 +
 
 +
The third argument is "y" if the item can have quality stars. It can be omitted or set to "n" to display dashes in the silver/gold/iridium columns.
 +
 
 +
For items with unusual qualities, an optional named parameter "qualities" can be specified.  This parameter should consist of a comma-separated list of qualities, including some non-numeric word as a placeholder for invalid qualities.  Example:  <code><nowiki>{{FairPoints|Mayonnaise|190|y|qualities=0,none,2,none}}</nowiki></code>
 +
 
 +
The point value for silver-, gold- and iridium-quality items is calculated assuming that judging is based on the quality sell price of the item instead of the base sell price, ''i.e.,'' silver-quality items are worth (1 + points(1.25 * base)) instead of just (1 + points(base)).
 +
 
 +
==Use==
 +
<pre>{{FairPoints}}</pre>
 +
 
 +
==Example==
 +
<pre>
 +
{| class="wikitable sortable"
 +
!Item
 +
!Price
 +
!Base
 +
!Silver
 +
!Gold
 +
!Iridium
 +
{{FairPoints|Radish|name=Gold Bar|60|y}}
 +
{{FairPoints|Pumpkin|320|y}}
 +
{{FairPoints|Egg|240|n}}
 +
{{FairPoints|Oil of Garlic|1000}}
 +
{{FairPoints|Mayonnaise|190|y|qualities=0,none,2,none}}
 +
|}</pre>
 +
 
 +
{| class="wikitable sortable"
 +
!Item
 +
!Price
 +
!Base
 +
!Silver
 +
!Gold
 +
!Iridium
 +
{{FairPoints|Radish|name=Gold Bar|60|y}}
 +
{{FairPoints|Pumpkin|320|y}}
 +
{{FairPoints|Egg|240|n}}
 +
{{FairPoints|Oil of Garlic|1000}}
 +
{{FairPoints|Mayonnaise|190|y|qualities=0,none,2,none}}
 +
|}
 +
[[Category:Archived templates]]</noinclude>
107,395

edits

Navigation menu