Difference between revisions of "Template:Fishing log infobox"
Jump to navigation
Jump to search
JohnnySolas (talk | contribs) |
|||
(26 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#set:Has context=Fishing Log}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}}}<div class="infobox-n gathering-role"> | <includeonly>{{#set:Has context=Fishing Log}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}|dawntrail = {{Dawntrail expansion content}}}}{{#if:{{{release|}}}||{{#switch:{{{patch|}}}|1.0|2.0|2.05|2.1|2.15|2.16|2.2|2.21|2.25|2.28|2.3|2.35|2.38|2.4|2.41|2.45|2.5|2.51|2.55|2.56|2.57=|#default=[[Category:Missing release]]}}}}<div class="infobox-n gathering-role"> | ||
<div class="icon fishinglog-infobox-icon"> | <div class="icon fishinglog-infobox-icon"> | ||
<div style="overflow: hidden; width: 38px; height: 38px; display:inline-block; vertical-align:middle;"> | <div style="overflow: hidden; width: 38px; height: 38px; display:inline-block; vertical-align:middle;"> | ||
Line 16: | Line 16: | ||
{{#if:{{{type|}}}| | {{#if:{{{type|}}}| | ||
; Type | ; Type | ||
: {{ucfirst | : {{ucfirst:{{{type}}}}} | ||
}} | }} | ||
; Level | ; Level | ||
: {{{level|}}} {{#set:Has fishing log level | : {{{level|}}} {{#set:Has fishing log level={{{level}}}}} | ||
; Location | ; Location | ||
: {{#if: {{{location|}}}| [[Located in::{{{location}}}]]{{#if:{{{location-x|}}}| ('''<small>X:</small>'''[[Has x coordinate::{{{location-x}}}]], '''<small>Y:</small>'''[[Has y coordinate::{{{location-y|}}}]])}} | ''Unspecified'' }} | : {{#if: {{{location|}}}| [[Located in::{{{location}}}]]{{#if:{{{location-x|}}}| ('''<small>X:</small>'''[[Has x coordinate::{{{location-x}}}]], '''<small>Y:</small>'''[[Has y coordinate::{{{location-y|}}}]])}} | ''Unspecified'' }} | ||
Line 28: | Line 28: | ||
</div></div><!-- | </div></div><!-- | ||
AUTOCATEGORIZATION | AUTOCATEGORIZATION | ||
-->[[Category:Fishing log]]{{#if: {{NAMESPACE}}|| | -->[[Category:Fishing log]][[Category:Fishing]]{{#if: {{NAMESPACE}}|| | ||
<!-- Type --> | <!-- Type --> | ||
{{#switch:{{lc:{{{type|}}}}} | {{#switch:{{lc:{{{type|}}}}} | ||
| freshwater fishing = [[Category:Freshwater fishing | | freshwater fishing = [[Category:Freshwater fishing]] {{#set:Has fishing log type=Freshwater fishing}} | ||
| ocean fishing = [[Category:Ocean fishing | | spearfishing (swimming shadow) = [[Category:Spearfishing (Swimming Shadow)]] {{#set:Has fishing log type=Spearfishing (Swimming Shadow)}} | ||
| aetherfishing | cloudfishing | skyfishing | hellfishing | saltfishing | starfishing | spearfishing = [[Category:{{ucfirst:{{{type}}}}} | | ocean fishing = [[Category:Ocean fishing]] {{#set:Has fishing log type=Ocean fishing}} | ||
| aetherfishing | cloudfishing | skyfishing | hellfishing | saltfishing | starfishing | spearfishing | dunefishing = [[Category:{{ucfirst:{{{type}}}}}]] {{#set:Has fishing log type={{ucfirst:{{{type}}}}}}} | |||
| #default = [[Category:Fishing log with no type specified]]}} | | #default = [[Category:Fishing log with no type specified]]}} | ||
<!-- Patch --> | <!-- Patch --> | ||
Line 39: | Line 40: | ||
<!-- Location --> | <!-- Location --> | ||
{{#if: {{{location|}}}|[[Category:{{{location}}} Fishing log]]}} | {{#if: {{{location|}}}|[[Category:{{{location}}} Fishing log]]}} | ||
}} | }}</includeonly><noinclude> | ||
</includeonly><noinclude> | |||
== Description == | == Description == | ||
<pre>{{Fishing log infobox | <pre>{{Fishing log infobox | ||
Line 55: | Line 52: | ||
| patch = | | patch = | ||
| release = | | release = | ||
}}</pre> | }}</pre> | ||
Line 89: | Line 85: | ||
| patch = 6.0 | | patch = 6.0 | ||
| release = endwalker | | release = endwalker | ||
}}</pre> | }}</pre> | ||
{{Fishing log infobox | {{Fishing log infobox | ||
Line 101: | Line 96: | ||
| patch = 6.0 | | patch = 6.0 | ||
| release = endwalker | | release = endwalker | ||
}} | }} | ||
Latest revision as of 04:08, 8 September 2023
Description
{{Fishing log infobox | name = | type = | level = | image = | location = | location-x = | location-y = | patch = | release = }}
Parameters
- title
- title of the fishing hole, defaults to pagename
- type
- the type of fishing hole - accepts: freshwater fishing, ocean fishing, aetherfishing, cloudfishing, skyfishing, hellfishing, saltfishing
- level
- level of the fishing hole
- image
- For location of the fishing hole
- location
- Zone of the fishing hole
- location-x
- X coordinates of the fishing hole
- location-y
- Y coordinates of the fishing hole
- patch
- optional: patch the fishing hole was added
- release
- optional: release the fishing hole was added
Example
{{Fishing log infobox | name = Fishing Log: Scholar's Harbor | type = ocean | level = 80 | image = Old Sharlayan - Scholar's Harbor.jpg | location = Old Sharlayan | location-x = 11.0 | location-y = 16.0 | patch = 6.0 | release = endwalker }}
Fishing Log: Scholar's Harbor
- Type
- Ocean
- Level
- 80
- Location
- Old Sharlayan (X:11.0, Y:16.0)
- Patch
- 6.0