Template:Fishing: Difference between revisions

From HorizonXI Wiki
m (testing)
(improved code readability and preparation for refactoring)
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{1|}}}}}
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}}
| recommended|rec= <nowiki/> {{ht|Recommended|'''*'''}}
| recommended|rec={{Fishing/Recommended}}
| too big|big= <nowiki/> <sup>{{ht|Fish may be too big|'''&#9679;'''|blue}}</sup>
| too big|big= {{Fishing/Too Big}}
| too small|small= <nowiki/> <sup>{{ht|Fish may be too small|'''&#9679;'''|blue}}</sup>
| too small|small= {{Fishing/Too Small}}
| may snap line|snap= <nowiki/> <sup>{{ht|Line may snap|'''!!'''}}</sup>
| may snap line|snap= {{Fishing/May Snap}}
| may break|break= <nowiki/> <sup>{{ht|Rod may break|'''!!!'''|red}}</sup>
| may break|break= {{Fishing/May Break}}
| nc | no categories | =
| nc | no categories | =
{{#if:{{{guild comment|}}}|<nowiki/>
{{#if:{{{guild comment|}}}|<nowiki/>
Line 10: Line 10:
{{{guild comment}}}
{{{guild comment}}}
}}
}}
{{{!}}class="ffxi-table wide-table fishing-table"
{<!---->{{!}}class="horizon-table table-sm fishing-table"
{{!}}- class="ffxi-header"
{{!}}-
{{!}}colspan="3" style="padding:0.5ex"{{!}} '''Skill Cap:''' {{#switch:{{{skill cap|}}}|???|unknown| = ''Unknown''|#default = {{{skill cap}}}}}{{#if:{{{fish level|}}}|<nowiki/> ''(Fish Level {{{fish level}}})''}}<br>'''Size:''' {{#switch:{{lc:{{{size|}}}}}|item = Item ''(You feel something pulling at your line.)''|small = Small ''(Something caught the hook!)''|large = Large ''(Something caught the hook!!!)''|#default = ''Unknown''}}
{{!}} colspan="3" style="padding:0.5ex"{{!}} '''Skill Cap:''' {{#switch:{{{skill cap|}}}|???|unknown| = ''Unknown''|#default = {{{skill cap}}}}}{{#if:{{{fish level|}}}|<nowiki/> ''(Fish Level {{{fish level}}})''}}<br>'''Size:''' {{#switch:{{lc:{{{size|}}}}}|item = Item ''(You feel something pulling at your line.)''|small = Small ''(Something caught the hook!)''|large = Large ''(Something caught the hook!!!)''|#default = ''Unknown''}}
{{!}}-
{{!}}-
!width="30%"{{!}} Location
!width="30%"{{!}} Location
Line 24: Line 24:
{{!}}style="padding:1ex 0"{{!}}
{{!}}style="padding:1ex 0"{{!}}
{{{rods|}}}
{{{rods|}}}
{{!}}- class="ffxi-footer"
{{!}}- class="fishing-table-alt"
{{!}}colspan="3" style="padding:0.5ex"{{!}} {{Color|black|*}} ''Recommended fishing setup.''&emsp;<sup>{{Color|blue|&#9679;}}</sup> ''Fish may be too big.''&emsp;<sup>{{Color|blue|&#9679;}}</sup> ''Fish may be too small.''&emsp;<sup>{{Color|black|!!}}</sup> ''Line may snap.''&emsp;<sup>{{Color|red|!!!}}</sup> ''Rod may break.''
{{!}} colspan="3" style="padding:0.5ex"{{!}} {{Fishing/Recommended}}&nbsp;''Recommended fishing setup.''<!--
{{!}}}
-->&ensp;{{Fishing/Too Big}}&nbsp;''Fish may be too big.''<!--
-->&ensp;{{Fishing/Too Small}}&nbsp;''Fish may be too small.''<!--
-->&ensp;{{Fishing/May Snap}}&nbsp;''Line may snap.''<!--
-->&ensp;{{Fishing/May Break}}&nbsp;''Rod may break.''
{{!}}<!---->}
<!--
<!--


-->{{#switch:{{lc:{{{1|}}}}}|no categories|nc=|#default={{#ifeq:{{NAMESPACE}}||[[Category:Fishing]]{{#if:{{{skill cap|}}}||[[Category:Information Needed]]}}{{#switch:{{lc:{{{size|}}}}}|item|small|large=|#default=[[Category:Information Needed]]}}}}}}
-->{{#switch:{{lc:{{{1|}}}}}|no categories|nc=|#default={{#ifeq:{{NAMESPACE}}||[[Category:Fishing]]{{#if:{{{skill cap|}}}||[[Category:Information Needed]]}}{{#switch:{{lc:{{{size|}}}}}|item|small|large=|#default=[[Category:Information Needed]]}}}}}}
}}</includeonly><noinclude>
}}</onlyinclude></includeonly>
[[Category:Templates]]
[[Category:Templates]]
==Usage==
==Usage==
Line 57: Line 61:
*'''note:''' Accepts "recommended"/"rec", "too big"/"big", "too small"/"small", "may snap line"/"snap", or "may break"/"break".
*'''note:''' Accepts "recommended"/"rec", "too big"/"big", "too small"/"small", "may snap line"/"snap", or "may break"/"break".
===Examples===
===Examples===
{|border="1" width="100%"
<pre>
|- BGCOLOR="e3e3e3"
!width="30%"| Code
!width="70%"| Result
|-
| <pre style="overflow:scroll; width:80ch">
{{Fishing
{{Fishing
| skill cap = 20
| skill cap = 20
Line 82: Line 81:
}}
}}
</pre>
</pre>
|
 
{{Fishing|nc
{{Fishing|nc
| skill cap = 20
| skill cap = 20
Line 101: Line 100:
*[[Lu Shang's Fishing Rod]]
*[[Lu Shang's Fishing Rod]]
}}
}}
|-
 
| <pre style="overflow:scroll; width:80ch">
<pre>
{{Fishing
{{Fishing
| skill cap = 101+
| skill cap = 101+
Line 120: Line 119:
}}
}}
</pre>
</pre>
|
 
{{Fishing|nc
{{Fishing|nc
| skill cap = 101+
| skill cap = 101+
Line 137: Line 136:
*[[Composite Fishing Rod]] {{Fishing|May break}}
*[[Composite Fishing Rod]] {{Fishing|May break}}
}}
}}
|-
 
| <pre style="overflow:scroll; width:80ch">
<pre>
{{Fishing
{{Fishing
| skill cap = 0
| skill cap = 0
Line 155: Line 154:
*[[Hume Fishing Rod]] {{Fishing|May snap line}} {{Fishing|May break}}
*[[Hume Fishing Rod]] {{Fishing|May snap line}} {{Fishing|May break}}
</pre>
</pre>
|
 
{{Fishing|nc
{{Fishing|nc
| skill cap = 0
| skill cap = 0
Line 172: Line 171:
*[[Hume Fishing Rod]] {{Fishing|may snap line}} {{Fishing|may break}}
*[[Hume Fishing Rod]] {{Fishing|may snap line}} {{Fishing|may break}}
}}
}}
|-
 
| <pre style="overflow:scroll; width:80ch">
<pre>
{{Fishing
{{Fishing
| skill cap = 55
| skill cap = 55
Line 200: Line 199:
}}
}}
</pre>
</pre>
|
 
{{Fishing|nc
{{Fishing|nc
| skill cap = 55
| skill cap = 55
Line 226: Line 225:
:[[Sliced Sardine|Slices of Sardine]] should be good enough to get 'em to bite, but I'm not guaranteein' anything."
:[[Sliced Sardine|Slices of Sardine]] should be good enough to get 'em to bite, but I'm not guaranteein' anything."
}}
}}
|}
</noinclude>

Revision as of 20:34, 3 September 2024

Usage

{{Fishing
| skill cap = 
| fish level = 
| size = 
| location =
| bait =
| rods = 
| guild NPC = 
| guild comment = 
}}

Creates a table of fishing information for item pages.

  • skill cap: The skill cap of the fish.
  • fish level: The level of the fish.
  • size: The size of the fish. Accepts "item", "small", or "large".
  • location: The locations where the fish can be caught.
  • bait: The bait that can be used to catch the fish.
  • rods: The rods that can be used to catch the fish.
  • guild NPC, guild comment: The guild NPC and his/her comment about the fish.
{{Fishing|<note>}}

Displays the symbol for the note.

  • note: Accepts "recommended"/"rec", "too big"/"big", "too small"/"small", "may snap line"/"snap", or "may break"/"break".

Examples

{{Fishing
| skill cap = 20
| size = Small
| location =
*[[Yhoator Jungle]] ''(Bloodlet Spring)'' {{Fishing|Recommended}}
*[[Yhoator Jungle]] ''(Underground)''
*[[Yuhtunga Jungle]] ''(Pond, Underground)''
| bait =
*[[Insect Ball]] {{Fishing|Recommended}}
*[[Little Worm]]
*[[Rogue Rig]]
| rods =
*[[Carbon Fishing Rod]] {{Fishing|May break}}
*[[Ebisu Fishing Rod]]
*[[Halcyon Fishing Rod]] {{Fishing|Too small}}
*[[Hume Fishing Rod]] {{Fishing|May snap line}}{{Fishing|May break}}
*[[Lu Shang's Fishing Rod]]
}}


Skill Cap: 20
Size: Small (Something caught the hook!)
Location Bait Rods
* Recommended fishing setup. Fish may be too big. Fish may be too small.!! Line may snap.!!! Rod may break.
{{Fishing
| skill cap = 101+
| fish level = 120+
| size = Large
| location =
*[[Ferry]] ''(No pirates)''
*[[Manaclipper]] ''(Sunset Docks -> Purg.Isle)''
| bait =
*[[Meatball]] {{Fishing|Recommended}}
*[[Peeled Lobster]]
*[[Rogue Rig]]
| rods =
*[[Lu Shang's Fishing Rod]]
*[[Mithran Fishing Rod]] {{Fishing|May break}}
*[[Composite Fishing Rod]] {{Fishing|May break}}
}}


Skill Cap: 101+ (Fish Level 120+)
Size: Large (Something caught the hook!!!)
Location Bait Rods
* Recommended fishing setup. Fish may be too big. Fish may be too small.!! Line may snap.!!! Rod may break.
{{Fishing
| skill cap = 0
| size = Item
| location =
*[[Port Bastok]]
*[[Port Jeuno]] {{Fishing|recommended}}
*[[Port San d'Oria]]
*[[Port Windurst]]
| bait =
*[[Minnow]]
*[[Rogue Rig]] {{Fishing|recommended}}
| rods =
*[[Ebisu Fishing Rod]] {{Fishing|Recommended}}
*[[Lu Shang's Fishing Rod]] {{Fishing|May snap line}}
*[[Hume Fishing Rod]] {{Fishing|May snap line}} {{Fishing|May break}}


Skill Cap: 0
Size: Item (You feel something pulling at your line.)
Location Bait Rods
* Recommended fishing setup. Fish may be too big. Fish may be too small.!! Line may snap.!!! Rod may break.
{{Fishing
| skill cap = 55
| size = Small
| location =
*[[Batallia Downs]]
*[[Bibiki Bay - Purgonorgo Isle]]
*[[Buburimu Peninsula]] {{Fishing|Recommended}}
*[[Sea Serpent Grotto]] ''(Lake)''
*[[West Sarutabaruta]] ''(Sea)'' {{Fishing|Recommended}}
*[[Beaucedine Glacier]] ''(Seaside)''
| bait =
*[[Minnow]] {{Fishing|Recommended}}
*[[Rogue Rig]]
*[[Sliced Sardine]]
| rods =
*[[Ebisu Fishing Rod]]
*[[Lu Shang's Fishing Rod]]
*[[Mithran Fishing Rod]]
*[[Tarutaru Fishing Rod]] {{Fishing|May break}}
*[[Fastwater Fishing Rod]] {{Fishing|May break}}
| guild NPC = Degong
| guild comment =
:"The seas right off the coast of [[Mindartia]] is where you'll find whole schools of bluetail.
:[[Sliced Sardine|Slices of Sardine]] should be good enough to get 'em to bite, but I'm not guaranteein' anything."
}}

Degong
"The seas right off the coast of Mindartia is where you'll find whole schools of bluetail.
Slices of Sardine should be good enough to get 'em to bite, but I'm not guaranteein' anything."
Skill Cap: 55
Size: Small (Something caught the hook!)
Location Bait Rods
* Recommended fishing setup. Fish may be too big. Fish may be too small.!! Line may snap.!!! Rod may break.