Difference between revisions of "Template:Infobox fish"
Jump to navigation
Jump to search
Margotbean (talk | contribs) |
Margotbean (talk | contribs) |
||
Line 46: | Line 46: | ||
| colspan="2" id="infoboxheader" | {{{name|{{PAGENAME}}}}} | | colspan="2" id="infoboxheader" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
− | | colspan="2" style="padding-bottom:5px | + | |colspan="2" style="padding-bottom: 5px;"|[[File:{{{eng|}}}.png|center]] |
|- | |- | ||
| colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;" | {{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} | | colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;" | {{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} | ||
Line 99: | Line 99: | ||
{{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_fishingxp}}: | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_fishingxp}}: | ||
{{!}} id="infoboxdetail" {{!}}<!-- | {{!}} id="infoboxdetail" {{!}}<!-- | ||
− | --> {{#arraydefine:$legendary|{{ParseInputValues|code=legend|{{{eng| | + | --> {{#arraydefine:$legendary|{{ParseInputValues|code=legend|{{{eng|}}}}}}}<!-- |
--> {{#arraydefine:$quality_values|{{ParseInputQuality|quality={{{quality|}}}|iridium={{{iridium|}}}}}}}<!-- | --> {{#arraydefine:$quality_values|{{ParseInputQuality|quality={{{quality|}}}|iridium={{{iridium|}}}}}}}<!-- | ||
--> {{#arrayprint:$quality_values||@qual@<!-- | --> {{#arrayprint:$quality_values||@qual@<!-- | ||
Line 129: | Line 129: | ||
--> |{{Infosection price | --> |{{Infosection price | ||
|prof = Base, Fisher, Angler | |prof = Base, Fisher, Angler | ||
− | |item = {{{eng| | + | |item = {{{eng|}}} |
− | |||
|price = {{{price|}}} | |price = {{{price|}}} | ||
|iridium = {{{iridium|}}} | |iridium = {{{iridium|}}} | ||
Line 143: | Line 142: | ||
|artisan = true | |artisan = true | ||
|itemcell1 = Roe | |itemcell1 = Roe | ||
− | |itemcell2 = {{#ifeq:{{{eng| | + | |itemcell2 = {{#ifeq:{{{eng|}}}|Sturgeon|Caviar|Aged Roe}} |
− | |itemcell3 = {{#ifeq:{{{eng| | + | |itemcell3 = {{#ifeq:{{{eng|}}}|Sturgeon|Caviar|Aged Roe}} |
|imageRoe = {{{roe}}} Roe | |imageRoe = {{{roe}}} Roe | ||
|imageAged Roe = {{{roe}}} Aged Roe | |imageAged Roe = {{{roe}}} Aged Roe |
Revision as of 16:36, 22 June 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 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.). |
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) Can also set to "normal,silver" or "0,1" for crab pot fish that come in normal & silver 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) |