Difference between revisions of "Template:Island animals"
Jump to navigation
Jump to search
JohnnySolas (talk | contribs) |
|||
(36 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#set:Has context=Island Animals}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers= {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}}}<div class="infobox-n npc"> | <includeonly>{{#set:Has context=Island Animals}}{{#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 npc"> | ||
<div class="icon item-infobox-icon">{{STFI|icon={{{icon|{{#titleparts:{{PAGENAMEE}}}}.png}}}|link=File:{{{icon|{{PAGENAMEE}}.png}}}}}{{#set:Has game icon=File:{{{icon|{{#titleparts:{{PAGENAME}}}}.png}}}}}</div> | <div class="icon item-infobox-icon">{{STFI|icon={{{icon|{{#titleparts:{{PAGENAMEE}}}}.png}}}|link=File:{{{icon|{{PAGENAMEE}}.png}}}}}{{#set:Has game icon=File:{{{icon|{{#titleparts:{{PAGENAME}}}}.png}}}}}</div> | ||
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | <p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | ||
<div class="wrapper"> | <div class="wrapper"> | ||
{{#if: {{{species|}}} | | {{#if: {{{species|}}} | | ||
; | ;Race | ||
: [[Has | : [[Has race::{{ucfirst:{{{species}}}}}]]{{#if:{{{type|}}}| <small>([[Has type::{{ucfirst:{{{type}}}}}]])</small>}} | ||
}} | }} | ||
; 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'' }} | ||
;Size | ;Size/Restraint | ||
:{{{size|}}} | :{{#switch:{{{size|}}}|S= [S] {{item icon|Makeshift Net}} / {{item icon|Flawless Net}}|M= [M] {{item icon|Makeshift Restraint}} / {{item icon|Flawless Restraints}}|L= [L] {{item icon|Makeshift Soporific}} / {{item icon|Flawless Soporifics}}|#default=}} {{#set:Has island animal size={{{size|}}}}} | ||
{{# | {{#if: {{{common-leavings|}}}| | ||
;Common Leavings | |||
:{{#switch:{{lc:{{{common-leavings|}}}}} | |||
| fleece = {{item icon|Sanctuary Fleece}} | | fleece = {{item icon|Sanctuary Fleece}}{{#set:Has common leavings=Sanctuary Fleece}} | ||
| claw = {{item icon|Sanctuary Claw}} | | claw = {{item icon|Sanctuary Claw}}{{#set:Has common leavings=Sanctuary Claw}} | ||
| fur = {{item icon|Sanctuary Fur}} | | fur = {{item icon|Sanctuary Fur}}{{#set:Has common leavings=Sanctuary Fur}} | ||
| feather = {{item icon|Sanctuary Feather}} | | feather = {{item icon|Sanctuary Feather}}{{#set:Has common leavings=Sanctuary Feather}} | ||
| egg = {{item icon|Sanctuary Egg}} | | egg = {{item icon|Sanctuary Egg}}{{#set:Has common leavings=Sanctuary Egg}} | ||
| | | carapace = {{item icon|Sanctuary Carapace}}{{#set:Has common leavings=Sanctuary Carapace}} | ||
| fang = {{item icon|Sanctuary Fang}} | | fang = {{item icon|Sanctuary Fang}}{{#set:Has common leavings=Sanctuary Fang}} | ||
| horn = {{item icon|Sanctuary Horn}} | | horn = {{item icon|Sanctuary Horn}}{{#set:Has common leavings=Sanctuary Horn}} | ||
| milk = {{item icon|Sanctuary Milk}} | | milk = {{item icon|Sanctuary Milk}}{{#set:Has common leavings=Sanctuary Milk}} | ||
| #default = | | #default = Invalid Leaving}}|}} | ||
{{#if: {{{bonus-leavings|}}}| | |||
;Bonus Leavings | |||
:{{#switch:{{lc:{{{bonus-leavings|}}}}} | |||
| fleece = {{item icon|Sanctuary Fleece}}{{#set:Has bonus leavings=Sanctuary Fleece}} | |||
| claw = {{item icon|Sanctuary Claw}}{{#set:Has bonus leavings=Sanctuary Claw}} | |||
| fur = {{item icon|Sanctuary Fur}}{{#set:Has bonus leavings=Sanctuary Fur}} | |||
| feather = {{item icon|Sanctuary Feather}}{{#set:Has bonus leavings=Sanctuary Feather}} | |||
| egg = {{item icon|Sanctuary Egg}}{{#set:Has bonus leavings=Sanctuary Egg}} | |||
| carapace = {{item icon|Sanctuary Carapace}}{{#set:Has bonus leavings=Sanctuary Carapace}} | |||
| fang = {{item icon|Sanctuary Fang}}{{#set:Has bonus leavings=Sanctuary Fang}} | |||
| horn = {{item icon|Sanctuary Horn}}{{#set:Has bonus leavings=Sanctuary Horn}} | |||
| milk = {{item icon|Sanctuary Milk}}{{#set:Has bonus leavings=Sanctuary Milk}} | |||
| #default = Invalid Leaving}}|}} | |||
{{#if:{{{time|}}}| | {{#if:{{{time|}}}| | ||
;Time | ;Time | ||
:{{{time|}}} | :{{{time|}}}{{#set:Has spawn time={{{time|}}}}} | ||
|}} | |}} | ||
{{#if: {{{weather|}}}| | {{#if: {{{weather|}}}| | ||
;Weather | ;Weather | ||
:{{#arraymap:{{{weather}}}|,|@@@|{{#switch:{{lc:@@@}} | :{{#arraymap:{{{weather}}}|,|@@@|{{#switch:{{lc:@@@}} | ||
| clear skies = {{weather icon|Clear Skies}} | | clear skies = {{weather icon|Clear Skies}}{{#set:Has weather-based spawn=clear skies}} | ||
| fair skies = {{weather icon|Fair Skies}} | | fair skies = {{weather icon|Fair Skies}}{{#set:Has weather-based spawn=fair skies}} | ||
| clouds = {{weather icon|Clouds}} | | clouds = {{weather icon|Clouds}}{{#set:Has weather-based spawn=clouds}} | ||
| rain = {{weather icon|Rain}} | | rain = {{weather icon|Rain}}{{#set:Has weather-based spawn=rain}} | ||
| showers = {{weather icon|Showers}} | | showers = {{weather icon|Showers}}{{#set:Has weather-based spawn=showers}} | ||
| fog = {{weather icon|Fog}} | | fog = {{weather icon|Fog}}{{#set:Has weather-based spawn=fog}} | ||
| #default = [[File:@@@.png|18px|link=@@@]]{{#set:Has | | #default = [[File:@@@.png|18px|link=@@@]]{{#set:Has weather-based spawn={{ucfirst:@@@}}}}}}| }} | ||
}} | }} | ||
{{#if: {{{patch|}}} | | {{#if: {{{patch|}}} | | ||
Line 45: | Line 58: | ||
{{clear}} | {{clear}} | ||
</div></div> | </div></div> | ||
'''{{{name|{{#titleparts:{{PAGENAME}}}}}}}''' is a {{lcfirst:{{{species}}}}} found on the Island Sanctuary. | |||
<!-- AUTOCATEGORIZATION --> | <!-- AUTOCATEGORIZATION --> | ||
[[Category:Island Animals]] | [[Category:Island Animals]] | ||
{{#if: {{{patch|}}}|[[Category:Items added in patch {{{patch}}}]]}} | {{#if: {{{patch|}}}|[[Category:Items added in patch {{{patch}}}]]}} | ||
{{#if: {{{availability|}}} | {{#arraymap:{{{availability|}}}|,|@@@|{{#switch: {{lc:@@@}} | {{#if: {{{availability|}}} | {{#arraymap:{{{availability|}}}|,|@@@|{{#switch: {{lc:@@@}} | ||
| always available = [[Category:Always Available]] | | always available = [[Category:Always Available]] {{#set:Has animal availability=Always available}} | ||
| time-based = [[Category:Time-Based]] | | time-based = [[Category:Time-Based]] {{#set:Has animal availability=Time-based}} | ||
| weather-based = [[Category:Weather-Based]] | | weather-based = [[Category:Weather-Based]] {{#set:Has animal availability=Weather-based}} | ||
| time and weather-based = [[Category:Time-Based]] [[Category:Weather-Based]] {{#set:Has animal availability=Time and weather-based}} | |||
}}|}}}}</includeonly> | }}|}}}}</includeonly> | ||
<noinclude> | <noinclude> | ||
==Description== | |||
<pre> | <pre> | ||
{{Island animals | {{Island animals | ||
Line 65: | Line 81: | ||
| size = | | size = | ||
| leavings = | | leavings = | ||
| common-leavings = | |||
| bonus-leavings = | |||
| time = | | time = | ||
| weather = | | weather = | ||
Line 70: | Line 88: | ||
| release = | | release = | ||
| patch = | | patch = | ||
}}</pre> | |||
==Example== | |||
<pre> | |||
{{Island animals | |||
| name = Lost Lamb | |||
| icon = Lost Lamb icon1.png | |||
| species = Beastkin | |||
| location = Island Sanctuary | |||
| location-x = 20 | |||
| location-y = 23 | |||
| size = S | |||
| common-leavings = milk | |||
| bonus-leavings = fur | |||
| time = | |||
| weather = | |||
| availability = always available | |||
| release = endwalker | |||
| patch = 6.2 | |||
}}</pre> | }}</pre> | ||
Line 75: | Line 112: | ||
| name = Lost Lamb | | name = Lost Lamb | ||
| icon = Lost Lamb icon1.png | | icon = Lost Lamb icon1.png | ||
| species = | | species = Beastkin | ||
| location = Island Sanctuary | | location = Island Sanctuary | ||
| location-x = 20 | | location-x = 20 | ||
| location-y = 23 | | location-y = 23 | ||
| size = S | | size = S | ||
| leavings = milk | | common-leavings = milk | ||
| bonus-leavings = fur | |||
| time = | | time = | ||
| weather = | | weather = | ||
Line 87: | Line 125: | ||
| patch = 6.2 | | patch = 6.2 | ||
}} | }} | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 23:01, 5 October 2023
Description
{{Island animals | name = | icon = | species = | location = | location-x = | location-y = | size = | leavings = | common-leavings = | bonus-leavings = | time = | weather = | availability = | release = | patch = }}
Example
{{Island animals | name = Lost Lamb | icon = Lost Lamb icon1.png | species = Beastkin | location = Island Sanctuary | location-x = 20 | location-y = 23 | size = S | common-leavings = milk | bonus-leavings = fur | time = | weather = | availability = always available | release = endwalker | patch = 6.2 }}
Lost Lamb
- Race
- Beastkin
- Location
- Island Sanctuary (X:20, Y:23)
- Size/Restraint
- [S] Makeshift Net / Flawless Net
- Common Leavings
- Sanctuary Milk
- Bonus Leavings
- Sanctuary Fur
- Patch
- 6.2
Lost Lamb is a beastkin found on the Island Sanctuary.