Template:Infobox fish: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<infobox> <title source="title"> <default>{{PAGENAME}}</default> </title> <image source="image"> <default>{{Exists|File:{{PAGENAME}}.png|{{PAGENAME}}.png}}</default> <caption source="description" /> </image> <group> <header>Information</header> <data source="type"> <label>Type</label> </data> <data source="size"> <label>Size</label> </data> <data source="rarity"> <label>Rarity</label> </data> <data s...") |
Salty Nori (talk | contribs) (initial updates. checking if i can merge this with infobox item instead) |
||
Line 20: | Line 20: | ||
<data source="difficulty"> | <data source="difficulty"> | ||
<label>Difficulty</label> | <label>Difficulty</label> | ||
<format><!-- | |||
-->{{#switch:{{{difficulty}}}<!-- | |||
-->|Very Easy|Easy|Medium|Hard|Very Hard = {{{difficulty}}}<!-- | |||
-->|#default = {{{difficulty}}}<!-- | |||
-->}}<!-- | |||
--></format> | |||
</data> | </data> | ||
<data source="pattern"> | <data source="pattern"> | ||
Line 26: | Line 32: | ||
<data source="location"> | <data source="location"> | ||
<label>Location</label> | <label>Location</label> | ||
<format>{{Array|{{{location|}}}|;|[[{item}]]|{newline}|sort=0}} | |||
</format> | |||
</data> | </data> | ||
<data source="season"> | <data source="season"> | ||
<label>[[Season]]</label> | |||
<format><!-- | |||
-->{{#ifeq:{{{season|}}}<!-- | |||
-->|Any|Any season<!-- | |||
-->|{{Array|{{{season|}}}|;|[[{item}]]|{newline}|sort=0}}<!-- | |||
-->}} | |||
</format> | |||
</data> | </data> | ||
<data source="weather"> | <data source="weather"> | ||
<label>Weather</label> | <label>Weather</label> | ||
<format><!-- | |||
-->{{#ifeq:{{{weather|}}}<!-- | |||
-->|Any|Any weather<!-- | |||
-->|{{Array|{{{weather|}}}|;|[[{item}]]|{newline}|sort=0}}<!-- | |||
-->}} | |||
</format> | |||
</data> | </data> | ||
<data source="time"> | <data source="time"> | ||
<label>Time of day</label> | <label>Time of day</label> | ||
<format><!-- | |||
-->{{#ifeq:{{{time|}}}<!-- | |||
-->|All day|All day<!-- | |||
-->|{{Array|{{{time|}}}|;|[[{item}]]|{newline}|sort=0}}<!-- | |||
-->}} | |||
</format> | |||
</data> | </data> | ||
</group> | </group> | ||
<group layout="horizontal"> | <group layout="horizontal"> | ||
<header>Sell prices</header> | |||
<data source="sell"> | |||
<label>Base</label> | |||
<format>{{#switch:{{lc:{{{sell|}}}}} | |||
|0 = ''Unsellable'' | |||
|#default= {{formatnum:{{{sell|}}}}} | |||
}}</format> | |||
</data> | |||
<data source="bronze"> | |||
<label>{{q|1}}</label> | |||
<default>{{#if:{{{diff_quality|}}}|{{Sell prices|B|{{{sell|}}}}}}}</default> | |||
</data> | |||
<data source="silver"> | |||
<label>{{q|2}}</label> | |||
<default>{{#if:{{{diff_quality|}}}|{{Sell prices|S|{{{sell|}}}}}}}</default> | |||
</data> | |||
<data source="gold"> | |||
<label>{{q|3}}</label> | |||
<default>{{#if:{{{diff_quality|}}}|{{Sell prices|G|{{{sell|}}}}}}}</default> | |||
</data> | |||
<data source="osmium"> | |||
<label>{{q|4}}</label> | |||
<default>{{#if:{{{diff_quality|}}}|{{Sell prices|O|{{{sell|}}}}}}}</default> | |||
</data> | |||
</group> | |||
</infobox> | </infobox> |