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= | | recommended|rec={{Fishing/Recommended}} | ||
| too big|big= | | too big|big= {{Fishing/Too Big}} | ||
| too small|small= | | too small|small= {{Fishing/Too Small}} | ||
| may snap line|snap= | | may snap line|snap= {{Fishing/May Snap}} | ||
| may break|break= | | 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=" | {<!---->{{!}}class="horizon-table table-sm fishing-table" | ||
{{!}}- | {{!}}- | ||
{{!}}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=" | {{!}}- class="fishing-table-alt" | ||
{{!}}colspan="3" style="padding:0.5ex"{{!}} {{ | {{!}} colspan="3" style="padding:0.5ex"{{!}} {{Fishing/Recommended}} ''Recommended fishing setup.''<!-- | ||
{{!}}} | --> {{Fishing/Too Big}} ''Fish may be too big.''<!-- | ||
--> {{Fishing/Too Small}} ''Fish may be too small.''<!-- | |||
--> {{Fishing/May Snap}} ''Line may snap.''<!-- | |||
--> {{Fishing/May Break}} ''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]]}}}}}} | ||
}}</ | }}</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=== | ||
<pre> | |||
{{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> | |||
{{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> | |||
{{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> | |||
{{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." | ||
}} | }} | ||
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. |