Line 1: |
Line 1: |
− | This template is used to provide a template that displays an infobox for fishpages | + | ==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.''' |
| | | |
− | ==Usage== | + | ==Parameters== |
− | This template can be used by entering the following onto a relevant page. '''Do not use this on your user page. It is reserved for content pages.'''
| + | {|class="wikitable sortable" |
− | | + | |- |
− | <pre>{{Infobox fish
| + | !Parameter!!Notes |
− | |name = | + | |- |
− | |eng = | + | |eng||English fish name ('''Required''' in all languages. Used to populate image and prices.) |
− | |description =
| + | |- |
− | |location = | + | |description||In-game item description (optional -- populated by [[:Template:Description]] if omitted). It is preferable to omit this parameter and update Template:Description instead. |
− | |source = | + | |- |
− | |time = | + | |location||Area(s) where the fish can be caught |
− | |season = | + | |- |
− | |weather =
| + | |source||How to obtain the fish, other than fishing pole |
− | |difficulty =
| + | |- |
− | |behavior =
| + | |time||What time range the fish can be caught in |
− | |fl =
| + | |- |
− | |size =
| + | |season||What season(s) the fish can caught in (''e.g.,'' Summer) |
− | |xp =
| + | |- |
− | |price =
| + | |weather||What weather the fish can be found in (''e.g.,'' Rain) |
− | |edibility =
| + | |- |
− | |quality =
| + | |difficulty||Difficulty level of the fish. Auto-populates the "Fishing XP" section if present. |
− | |iridium =
| + | |- |
− | |custom_price=
| + | |behavior||Behavior type of the fish (described in [[Fish#Behavior]]) |
− | |roe =
| + | |- |
− | }}</pre>
| + | |fl||Required fishing level (optional) |
− | | + | |- |
− | ===Parameters===
| + | |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><br />'''Note:''' Size range must be entered using the hyphen key on a standard English keyboard. This will be replaced with the appropriate character in the template (en dash, wave dash, etc.). |
− | <nowiki>{{</nowiki>[[Template:Infobox fish|Infobox fish]]
| + | |- |
− | |name = Fish name (optional - set to <nowiki>{{PAGENAME}}</nowiki> if omitted)
| + | |xp||XP (and type of XP). Only for fish without the difficulty parameter set. |
− | |eng = English fish name
| + | |- |
− | |description = In-game item description (optional -- populated by [[Template:Description]] if omitted)
| + | |price||Base price of the fish, no star |
− | |location = Where the Fish is found
| + | |- |
− | |source = How to obtain the fish, other than fishing pole
| + | |edibility||Base edibility of the fish, no star |
− | |time = What time range the fish is found in
| + | |- |
− | |season = What season(s) the fish can be found (''e.g.,'' Summer / Winter)
| + | |quality||Set to "normal" or "false" for fish that come only in normal quality (Optional)<br />Can also set to "normal,silver" or "0,1" for crab pot fish that come in normal & silver quality (Optional) |
− | |weather = What weather the fish can be found (''e.g.,'' Rainy)
| + | |- |
− | |difficulty = Difficulty level of the fish. Auto-populates Fishing XP section, too, for fishing-pole fish
| + | |roe||The color of the Roe (matching the filenames in [[:Category:Roe images]]) to add a section showing Roe, Aged Roe, and prices |
− | |behavior = Behavior type of the fish (described on [[Fish]] page)
| + | |- |
− | |fl = Required fishing level
| + | |professions||Set to false to suppress [[Skills#Fishing|Fisher]] & [[Skills#Fishing|Angler]] prices (Optional) |
− | |size = Size range of the fish in INCHES (even on non-english wikis; autoconverts to cm as necessary)
| + | |- |
− | |xp = XP points (and type of XP). Only for non-fishing-pole fish
| + | |} |
− | |price = Base price of the fish, no star
| |
− | |edibility = Base edibility of the fish, no star
| |
− | |quality = Qualities (normal,silver,gold,iridium) of fish to show in health/price displays (Optional)
| |
− | |iridium = Set this to 'true' to add iridium sell prices, health, and energy
| |
− | |custom_price= Set with a template call to [[Template:Infosection price|Infosection price]] to overwrite standard price section.
| |
− | See [[Salmonberry]] for an example.
| |
− | |roe = Set this to the color of the Roe (matching the filenames in [[:Category:Roe images]]) to add
| |
− | a section showing roe, aged roe, and prices
| |
− | |hideprice = Qualities (normal,silver,gold) to hide from sell price section (DEPRECATED) - use quality
| |
− | |healq = Energy/Health qualities to show (normal,silver,gold) (DEPRECATED) - use quality
| |
− | Use this parameter to suppress qualities that are not specified
| |
− | <nowiki>}}</nowiki>
| |
| <includeonly>[[Category:Infobox templates]]{{Addlanglinks}}</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | | <includeonly>[[Category:Infobox templates]]{{Addlanglinks}}</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |