Difference between revisions of "Template:ARR Infobox Fishing"

(49 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
<noinclude><pre>
 
<noinclude><pre>
 
{{ARR Infobox Fishing
 
{{ARR Infobox Fishing
|Item          = {{subst:PAGENAME}} <!-- Name of the fish -->
+
|Item          = {{subst:PAGENAME}}
|FishingLoc    = <!-- The location of the Fishing Hole being added.-->
+
|FishingLoc    = <!-- The location of the Fishing Hole being added -->
|HoleBait      = <!-- Bait used to catch this fish at this location -->
+
|HoleBait      = <!-- Bait used to catch the fish at this location -->
|HoleConditions = <!-- Conditions, if any, required to catch this fish at this location -->
+
|HoleConditions = <!-- Conditions required to catch the fish at this location ie: Time of day -->
|Normal Weather = <!-- Comma separated list of weather required to catch. 3 or fewer -->
+
|Normal Weather = <!-- List of different weather that Fish can be caught in, comma delineated -->
|Weather Chain  = <!-- Comma delineated list of weather chain. ie: "Rain, Clear" for Clear weather after a Rainstorm -->
+
|Weather Chain  = <!-- List in order of chain, ie: "Rain, Clear" for Clear skies AFTER Rain -->
|Mooch          = <!-- If fish is caught via Mooch, name of fish required to be 'bait' here -->
+
|Snagging      = <!-- If fish requires Snagging, add "Yes" -->
|Mooch Chain    = <!-- Comma separated list. ie: "Merlthor Goby, Wahoo" if Merlthoy Goby is caught first, mooched to catch Wahoo, and then Wahoo is mooched to catch final fish -->
+
|Fish Eyes      = <!-- If fish is affected by Fish Eyes, add "Yes" -->
 +
|Mooch          = <!-- If fish is caught via Mooching, list the fish is used as Mooch bait -->
 +
|Mooch Chain    = <!-- If fish is caught by multiple Mooches, list fish in order -->
 +
|Intuition      = <!-- Fish that must be caught to trigger "Fisher's Intuition," New for 2.4 -->
 +
|Intuition Count= <!-- If >1, number of times trigger fish must be caught -->
 +
|Folklore      = <!-- Which regional folklore is needed to catch this fish, ie. Abalathian -->
 +
|Tug      = <!-- Strength of tug, ie. 1, 2 or 3 -->
 +
}}
  
}}
+
</pre></noinclude><includeonly><div class="itembox">
</pre></noinclude><includeonly><div class="itembox" style="width:90%;-moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;">
 
 
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" style="padding:0em 0em 0em 0em; color:white;"
 
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" style="padding:0em 0em 0em 0em; color:white;"
 
{{!}}-
 
{{!}}-
{{!}}colspan="3" style="font-size:14px; font-weight: bold;"{{!}}{{SetGeoVars|{{{FishingLoc|unknown}}}}}[[Fishing Log: {{#var:loc}}]]
+
{{!}}rowspan="15" width="10%"{{!}}
{{!}}colspan="1" style="font-size:10px; font-weight: bold;"{{!}}Hole Level: {{#dpl:
+
{{Superimpose2
| dplcache={{#var:loc}}holelevel
+
| border =
| title=Fishing Log: {{#var:loc}}
+
| collapse =
| includepage ={ARR Infobox Fishing Log}:Level
+
| base = {{{Item|Lamp Marimo}}}_Icon.png
| namespace    =
+
| base_width = 64px
| tablerow = %%
+
| base_style = float: left
| suppresserrors=true
+
| base_alt =
 +
| base_caption = {{{Item}}}
 +
| base_link =
 +
 
 +
| float =
 +
| float_width =
 +
| float_alt =
 +
| float_caption =
 +
| link =
 +
| x = 0
 +
| y = 0
 +
| t =
 +
 
 +
| float26 = {{#if:{{{Tug|}}}|Fishing Tug {{{Tug|1}}}.png}}
 +
| float26_width = {{#ifeq:{{{Tug|}}}|1|15px|25px}}
 +
| float26_alt =
 +
| float26_caption =
 +
| link26 =
 +
| t26 =
 +
| x26 = {{#ifeq:{{{Tug|}}}|1|55|48}}
 +
| y26 = 45
 
}}
 
}}
 
{{!}}-
 
{{!}}-
{{!}}colspan="3" style="font-size:12px; font-weight: bold;" {{!}}{{#if:{{#var:world}}|[[{{#var:zone}}]] - [[{{#var:region}}]]|[[{{{FishingLoc|}}}]]}} ({{#dpl:| dplcache={{#var:loc}}holecoordinates| title=Fishing Log: {{#var:loc}}| includepage ={ARR Infobox Fishing Log}:Coordinates| namespace    = | tablerow = %%| suppresserrors=true}})
+
{{!}}style="font-size:14px; font-weight: bold;"{{!}}[[{{{Item}}}]] (Level {{#dpl:|dplcache=fishlevel_{{{Item}}}_1a|allowcachedresults=true|title={{{Item}}}/Fishlog|includepage={Fishlog}:RecommendedLevel|format=|tablerow=%%|suppresserrors=true}})
{{!}}colspan="1" style="font-size:10px; font-weight: bold;" {{!}}{{#dpl:
+
{{!}}-
| dplcache={{#var:loc}}holetype
+
{{!}}style="font-size:12px; font-weight: bold;" {{!}}{{#if:{{{Folklore|}}}|[[File:Tome of Ichthyological Folklore - {{{Folklore}}} Icon.png|20px|link=Tome of Ichthyological Folklore - {{{Folklore}}}|Gathering Book Required]] [[Tome of Ichthyological Folklore - {{{Folklore}}}]]}}
| title=Fishing Log: {{#var:loc}}
+
{{!}}-
| includepage ={ARR Infobox Fishing Log}:Type
+
{{!}}Bait: {{#if:{{{HoleBait}}}|{{#arraydefine:holebaits|{{{HoleBait|}}}}}{{#arrayprint:holebaits|,&nbsp;|@@@@|[[File:@@@@ Icon.png|20px|link=@@@@]][[@@@@]]}}}}
| namespace    =  
+
{{!}}-
| tablerow = %%
+
{{#if:{{{HoleConditions|}}}|
| suppresserrors=true
+
{{!}}-
}}
+
{{!}}Conditions: {{{HoleConditions}}}
 +
{{!}}-
 +
}}{{#if:{{{Fish Eyes|}}}|
 +
{{!}}-
 +
{{!}} [[File:Fish Eyes Icon.png|20px|link=Fish Eyes]] [[Fish Eyes]] negates time requirements [[Category:{{{Item}}} affected by Fish Eyes]]
 +
{{!}}-
 +
}}{{#if:{{{Weather Chain|}}}{{{Weather1|}}}{{{Weather2|}}}|
 +
{{!}}-
 +
{{!}}[[Weather|Weather Chain]]: {{#arraydefine:weatherchain|{{{Weather Chain|}}}}}{{#arrayprint:weatherchain|{{Arrow}}|@@@@|[[File:@@@@ icon.png{{!}}20px{{!}}@@@@{{!}}link=:Category:Weather]](@@@@)[[Category:Fish caught during chain weather]][[Category:Fish caught during @@@@ weather]]}}{{#if:{{{Weather1|}}}|{{#arraydefine:weatherchainprior|{{{Weather1|}}}}}{{#arrayprint:weatherchainprior|&nbsp;or&nbsp;|@@@@|[[File:@@@@ icon.png{{!}}20px{{!}}@@@@{{!}}link=:Category:Weather]](@@@@)}}&nbsp;{{Arrow}}&nbsp;{{#arraydefine:weatherchainactive|{{{Weather2|}}}}}{{#arrayprint:weatherchainactive|&nbsp;or&nbsp;|@@@@|[[File:@@@@ icon.png{{!}}20px{{!}}@@@@{{!}}link=:Category:Weather]](@@@@)[[Category:Fish caught during chain weather]][[Category:Fish caught during @@@@ weather]]}}}}
 +
{{!}}-
 +
}}{{#if:{{{Normal Weather|}}}|
 +
{{!}}-
 +
{{!}}[[Weather]]: {{#arraydefine:normalweather|{{{Normal Weather|}}}}}{{#arrayprint:normalweather|&nbsp;or&nbsp;|@@@@|[[File:@@@@ icon.png{{!}}20px{{!}}@@@@{{!}}link=:Category:Weather]](@@@@)[[Category:Fish caught during @@@@ weather]]}}
 +
{{!}}-
 +
}}{{#if:{{{Snagging|}}}|
 +
{{!}}-
 +
{{!}} [[File:Snagging Icon.png|20px|link=Snagging]] [[Snagging]] required [[Category:{{{Item}}} caught via Snagging]]
 +
{{!}}-
 +
}}{{#if:{{{Mooch|}}}|
 
{{!}}-
 
{{!}}-
{{!}}colspan="4"{{!}}<div style="padding: 0px; width:95%; background-color:#EBECF0; border:1px solid #969696;" ></div>
+
{{!}}[[Mooch]]ed from: {{#arraydefine:mooch|{{{Mooch|}}}}}{{#arrayprint:mooch|&nbsp;or&nbsp;|@@@@|{{Superimpose  | base = @@@@ Icon.png  | base_width = 20px  | float = HQOverlay.png  | float_width = 20px  | float_link = @@@@|  float_caption = HQ @@@@ | x = 0 | y = 0}} [[@@@@]]}}[[Category:Fish caught via Mooch]]
{{!}}}
 
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" style="padding:0em 0em 0em 0em; color:white;"
 
 
{{!}}-
 
{{!}}-
{{!}}colspan="4" width="35%" {{!}}Bait: {{#if:{{{HoleBait}}}|{{#arraydefine:holebaits|{{{HoleBait|}}}}}{{#arrayprint:holebaits|,&nbsp;|@@@@|[[@@@@]]}}|}}
+
}}{{#if:{{{Mooch Chain|}}}|
{{#if:{{{Mooch|}}}|
 
 
{{!}}-
 
{{!}}-
{{!}}colspan="4" width="65%" {{!}}[[Mooch]]ed from: {{#arraydefine:mooch|{{{Mooch|}}}}}{{#arrayprint:mooch|&nbsp;or&nbsp;|@@@@|[[File:@@@@ Icon.png{{!}}40px{{!}}link=@@@@]] {{HQ}}[[Category:Fish caught via Mooch]]}}
+
{{!}}[[Mooch]] chain: {{#arraydefine:chainmooch|{{{Mooch Chain|}}}}}{{#arrayprint:chainmooch|{{Arrow}}|@@@@|{{Superimpose  | base = @@@@ Icon.png | base_width = 20px  | float = HQOverlay.png  | float_width = 20px  | float_link = @@@@|  float_caption = HQ @@@@ | x = 0  | y = 0}} [[@@@@]]}}[[Category:Fish caught via Chained Mooch]]
}}
 
{{#if:{{{Mooch Chain|}}}|
 
 
{{!}}-
 
{{!}}-
{{!}}colspan="4" width="65%" {{!}}[[Mooch]] chain: {{#arraydefine:chainmooch|{{{Mooch Chain|}}}}}{{#arrayprint:chainmooch|{{Arrow}}|@@@@|[[File:@@@@ Icon.png{{!}}40px{{!}}link=@@@@]] {{HQ}}[[Category:Fish caught via Chained Mooch]]|}}
+
}}{{#if:{{{Intuition|}}}{{{Intuition1|}}}{{{Intuition2|}}}{{{Intuition3|}}}|&nbsp;
}}
 
 
 
{{#if:{{{HoleConditions}}}|
 
 
{{!}}-
 
{{!}}-
{{!}}colspan="4" width="65%" {{!}}Conditions: {{{HoleConditions}}}
+
{{!}}[[Fisher's Intuition]] triggered by: {{#if:{{{Intuition|}}}|[[{{{Intuition}}}]]{{#if:{{{Intuition Count|}}}|&nbsp;(x{{{Intuition Count|}}})}}}}{{#if:{{{Intuition1|}}}|[[{{{Intuition1}}}]]{{#if:{{{Intuition Count1|}}}|&nbsp;(x{{{Intuition Count1|}}})}}}}{{#if:{{{Intuition2|}}}|, [[{{{Intuition2}}}]]{{#if:{{{Intuition Count2|}}}|&nbsp;(x{{{Intuition Count2|}}})}}}}{{#if:{{{Intuition3|}}}|, [[{{{Intuition3}}}]]{{#if:{{{Intuition Count3|}}}|&nbsp;(x{{{Intuition Count3|}}})}}}}
}}
 
{{#if:{{{Normal Weather|}}}|
 
 
{{!}}-
 
{{!}}-
{{!}}colspan="4" width="65%" {{!}}[[Weather]]: {{#arraydefine:normalweather|{{{Normal Weather|}}}}}{{#arrayprint:normalweather|&nbsp;or&nbsp;|@@@@|[[File:@@@@ icon.png{{!}}20px{{!}}@@@@{{!}}link=Weather]](@@@@)[[Category:Fish caught during @@@@ weather]]}}|}}
+
}}{{#if:{{{Folklore|}}}|
{{#if:{{{Weather Chain|}}}|
+
{{!}}-
 +
{{!}}[[Tome of Ichthyological Folklore - {{#switch:{{{Folklore|}}}|Abalathian=Abalathia's Spine|Coerthan=Coerthas|Dravanian=Dravania|{{{Folklore|}}}}}|Unlocked via {{{Folklore|}}} Folklore Book]][[Category:Requires Tome of Ichthyological Folklore - {{#switch:{{{Folklore|}}}|Abalathian=Abalathia's Spine|Coerthan=Coerthas|Dravanian=Dravania|{{{Folklore|}}}}} Gathering Book]]
 
{{!}}-
 
{{!}}-
{{!}}colspan="4" width="65%" {{!}}[[Weather|Weather Chain]]: {{#arraydefine:weatherchain|{{{Weather Chain|}}}}}{{#arrayprint:weatherchain|{{Arrow}}|@@@@|[[File:@@@@ icon.png{{!}}20px{{!}}@@@@{{!}}link=Weather]](@@@@)[[Category:Fish caught during chain weather]]}}|}}
+
}}
 
{{!}}-
 
{{!}}-
{{!}}}
+
{{!}}colspan="3" align="right"{{!}}{{SetGeoVars|{{{FishingLoc|unknown}}}}}[[File:Editbutton.png|14px|right|Edit|link={{fullurl:Fishing Log: {{#var:loc}}|action=edit}}]]
</div>
+
{{!}}}</div>[[Category:Fishing Log: {{#var:loc}}]][[Category:{{{Item}}} gathered via Fishing]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Fishing Log: {{#var:loc}}]][[Category:{{{Item}}} gathered via Fishing]]
 
</includeonly>
 

Revision as of 19:32, 8 June 2021

{{ARR Infobox Fishing
|Item           = {{subst:PAGENAME}}
|FishingLoc     = <!-- The location of the Fishing Hole being added -->
|HoleBait       = <!-- Bait used to catch the fish at this location -->
|HoleConditions = <!-- Conditions required to catch the fish at this location ie: Time of day -->
|Normal Weather = <!-- List of different weather that Fish can be caught in, comma delineated -->
|Weather Chain  = <!-- List in order of chain, ie: "Rain, Clear" for Clear skies AFTER Rain -->
|Snagging       = <!-- If fish requires Snagging, add "Yes" -->
|Fish Eyes      = <!-- If fish is affected by Fish Eyes, add "Yes" -->
|Mooch          = <!-- If fish is caught via Mooching, list the fish is used as Mooch bait -->
|Mooch Chain    = <!-- If fish is caught by multiple Mooches, list fish in order -->
|Intuition      = <!-- Fish that must be caught to trigger "Fisher's Intuition," New for 2.4 -->
|Intuition Count= <!-- If >1, number of times trigger fish must be caught -->
|Folklore       = <!-- Which regional folklore is needed to catch this fish, ie. Abalathian -->
|Tug       = <!-- Strength of tug, ie. 1, 2 or 3 -->
}}