Difference between revisions of "Template:Infobox mineral/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
This template is used to provide a simple infobox for [[minerals]] (''i.e.'', Foraged Minerals, Gems, Geode Minerals, and Geodes).
+
This template is used to provide a simple infobox for [[minerals]] (''i.e.,'' Foraged Minerals, Gems, Geode Minerals, and Geodes). '''Do not use this on your user page. It is reserved for content pages.'''
  
 
==Parameters==
 
==Parameters==
<pre>{{Infobox mineral
+
{|class="wikitable sortable"
|name       = Mineral name
+
|-
|image       = The image name, including file extension (.png, .gif, etc.)
+
!Parameter
|description = Mineral description (automatically populated by Template:Description if omitted)
+
!Notes
|sellprice   = Base sell price of mineral, in unformatted numbers (no commas, decimal points, etc.)
+
|-
|profession = Display the 30% Gemologist profession price increase?  (Any value in this field will trigger the profession section to display)
+
|name || Mineral name
}}</pre>
+
|-
 +
|image ||The image name, including file extension (.png, .gif, etc.)
 +
|-
 +
|description ||Mineral description (automatically populated by [[Template:Description]] if omitted)
 +
|-
 +
|sellprice ||Base sell price of mineral, in unformatted numbers (no commas, decimal points, etc.)
 +
|-
 +
|profession ||Display the 30% Gemologist profession price increase?  (Any value in this field will trigger the profession section to display)
 +
|-
 +
|correctedprice ||The in-game sell price of the mineral with the [[Skills#Mining|Gemologist]] profession (which can be off by one from the expected price of <samp>sellprice × 1.3</samp>). Use raw unformatted numbers.
 +
|-
 +
|}
  
 
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>{{Addlanglinks}}</includeonly>
 
<includeonly>{{Addlanglinks}}</includeonly>

Latest revision as of 17:45, 9 July 2023

Description

This template is used to provide a simple infobox for minerals (i.e., Foraged Minerals, Gems, Geode Minerals, and Geodes). Do not use this on your user page. It is reserved for content pages.

Parameters

Parameter Notes
name Mineral name
image The image name, including file extension (.png, .gif, etc.)
description Mineral description (automatically populated by Template:Description if omitted)
sellprice Base sell price of mineral, in unformatted numbers (no commas, decimal points, etc.)
profession Display the 30% Gemologist profession price increase? (Any value in this field will trigger the profession section to display)
correctedprice The in-game sell price of the mineral with the Gemologist profession (which can be off by one from the expected price of sellprice × 1.3). Use raw unformatted numbers.