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

From Stardew Valley Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
!Parameter!!Notes
 
!Parameter!!Notes
 
|-
 
|-
|eng||English fish name
+
|eng||English fish name ('''Required''' in all languages. Used to populate image and prices.)
 
|-
 
|-
|description||In-game item description (optional -- populated by [[:Template:Description]] if omitted)
+
|description||In-game item description (optional -- populated by [[:Template:Description]] if omitted). It is preferable to omit this parameter and update Template:Description instead.
 
|-
 
|-
 
|location||Area(s) where the Fish can be caught
 
|location||Area(s) where the Fish can be caught
Line 21: Line 21:
 
|weather||What weather the fish can be found in (''e.g.,'' Rain)
 
|weather||What weather the fish can be found in (''e.g.,'' Rain)
 
|-
 
|-
|difficulty||Difficulty level of the fish.  Auto-populates Fishing XP section if present.
+
|difficulty||Difficulty level of the fish.  Auto-populates the "Fishing XP" section if present.
 
|-
 
|-
 
|behavior||Behavior type of the fish (described in [[Fish#Behavior]])
 
|behavior||Behavior type of the fish (described in [[Fish#Behavior]])
Line 27: Line 27:
 
|fl||Required fishing level (optional)
 
|fl||Required fishing level (optional)
 
|-
 
|-
|size||Size range of the fish in INCHES (converts to other languages automatically)
+
|size||Base size range of the fish in INCHES (converts to other languages automatically). Can be found in the data file <samp>Fish.xnb</samp>
 
|-
 
|-
|xp||XP (and type of XP).  Only for non-fishing-pole fish.
+
|xp||XP (and type of XP).  Only for fish without the difficulty parameter set.
 
|-
 
|-
 
|price||Base price of the fish, no star
 
|price||Base price of the fish, no star
Line 35: Line 35:
 
|edibility||Base edibility of the fish, no star
 
|edibility||Base edibility of the fish, no star
 
|-
 
|-
|quality||Set to normal or false for fish that come only in normal quality (Optional)
+
|quality||Set to "normal" or "false" for fish that come only in normal quality (Optional)
 
|-
 
|-
|roe||The color of the Roe (matching the filenames in [[:Category:Roe images]]) to add a section showing roe, aged roe, and prices
+
|roe||The color of the Roe (matching the filenames in [[:Category:Roe images]]) to add a section showing Roe, Aged Roe, and prices
 
|-
 
|-
|professions||Set to false to suppress Fisher & Angler prices (Optional)
+
|professions||Set to false to suppress [[Skills#Fishing|Fisher]] & [[Skills#Fishing|Angler]] prices (Optional)
 
|-
 
|-
 
|}
 
|}
 
<includeonly>[[Category:Infobox templates]]{{Addlanglinks}}</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Infobox templates]]{{Addlanglinks}}</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 04:22, 26 October 2022

Description

This template is used to display an infobox for fish (and fish-like item) pages. Do not use this on your user page. It is reserved for content pages.

Parameters

Parameter Notes
eng English fish name (Required in all languages. Used to populate image and prices.)
description In-game item description (optional -- populated by Template:Description if omitted). It is preferable to omit this parameter and update Template:Description instead.
location Area(s) where the Fish can be caught
source How to obtain the fish, other than fishing pole
time What time range the fish can be caught in
season What season(s) the fish can caught in (e.g., Summer)
weather What weather the fish can be found in (e.g., Rain)
difficulty Difficulty level of the fish. Auto-populates the "Fishing XP" section if present.
behavior Behavior type of the fish (described in Fish#Behavior)
fl Required fishing level (optional)
size Base size range of the fish in INCHES (converts to other languages automatically). Can be found in the data file Fish.xnb
xp XP (and type of XP). Only for fish without the difficulty parameter set.
price Base price of the fish, no star
edibility Base edibility of the fish, no star
quality Set to "normal" or "false" for fish that come only in normal quality (Optional)
roe The color of the Roe (matching the filenames in Category:Roe images) to add a section showing Roe, Aged Roe, and prices
professions Set to false to suppress Fisher & Angler prices (Optional)