Difference between revisions of "Template:FATE infobox"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m (Protected "Template:FATE infobox" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
(109 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#set:Has context=FATE}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}}}<div class="infobox-n fate">
<includeonly>{{#set:Has context=FATE}}{{#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 fate">
<div class="icon fate-infobox-icon">
<div class="icon fate-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;">
<div style="margin: -1px; overflow: hidden;">[[File:{{#switch: {{lc:{{{type|}}}}}
<div style="margin: -1px; overflow: hidden;">[[File:{{#switch: {{lc:{{{type|}}}}}
                                                     | boss = Boss FATE icon.png
                                                     | notorious monster = Boss FATE icon.png
                                                     | collection = Collection FATE icon.png
                                                     | gather = Collection FATE icon.png
                                                     | defense = Defense FATE icon.png
                                                     | defense = Defense FATE icon.png
                                                     | escort = Escort FATE icon.png
                                                     | escort = Escort FATE icon.png
                                                     | slay enemy | #default = Slay enemy FATE icon.png
                                                    | chase = FATE-Path.png
                                                     }}|40px|link=FATE]]</div>
                                                    | festival = Festival Fate icon.png
                                                    | eureka notorious monster = Eureka notorious monster (map icon).png
                                                    | bozjan notorious monster = Bozjan NM.png
                                                    | bozjan slay enemies = Bozjan Fight.png
                                                    | bozjan defense = Bozjan Defense.png
                                                    | bozjan gather = Bozjan Gather.png
                                                    | critical engagement notorious monster = critical engagement notorious monster (map icon).png
                                                    | critical engagement solo = critical engagement solo (map icon).png
                                                    | critical engagement wave = critical engagement wave (map icon).png
                                                    | critical engagement assault = critical engagement assault (map icon).png
                                                     | slay enemies | #default = Slay enemy FATE icon.png
                                                     }}|40px|link=FATEs]]</div>
</div>
</div>
</div>
</div>
Line 15: Line 26:
{{#if:{{{starting-npc|}}}|
{{#if:{{{starting-npc|}}}|
; Starting NPC
; Starting NPC
: [[Has starting NPC::{{{starting-npc}}}]]
: {{map icon|fate}} [[Has starting NPC::{{{starting-npc}}}]]
}}
}}
; Location
; Location
Line 22: Line 33:
: {{#if:{{{level|}}}|[[Has FATE level::{{{level}}}]]|''Unspecified''}}
: {{#if:{{{level|}}}|[[Has FATE level::{{{level}}}]]|''Unspecified''}}
; Duration
; Duration
: {{#if:{{{duration|}}}|[[Has FATE duration::{{{duration}}}]]min|''Unspecified''}}
: {{#if:{{{duration|}}}|[[Has FATE duration::{{{duration}}}]]&nbsp;min|''Unspecified''}}
{{#if:{{{req-items|}}}|
{{#if:{{{req-items|}}}|
; Required items
; Required items
Line 28: Line 39:
}}{{#if: {{{exp|}}}|
}}{{#if: {{{exp|}}}|
; Experience
; Experience
: {{experience|{{#vardefineecho:min-exp|{{#explode:{{{exp}}}|-|0}}}}|{{#vardefineecho:max-exp|{{#explode:{{{exp}}}|-|1}}}}}} {{#set:Has experience reward test={{#var:min-exp|0}};{{#var:max-exp|0}}}}
: {{{exp|}}} {{experience}} {{#set:Has fate experience reward={{{exp|}}}}}
}}{{#if: {{{gil|}}}|
|}}{{#if: {{{exp-range|}}}|
; Experience
: {{experience|{{#vardefineecho:min-exp|{{#explode:{{{exp-range}}}|-|0}}}}|{{#vardefineecho:max-exp|{{#explode:{{{exp-range}}}|-|1}}}}}} {{#set:Has fate ranged experience reward={{#var:min-exp|0}};{{#var:max-exp|0}}}}
|}}{{#if: {{{eureka-exp|}}}|
; Elem. EXP
: {{{eureka-exp|}}} {{eurekaexp}} {{#set:Has fate eureka experience reward={{{eureka-exp|}}}}}
|}}{{#if: {{{gil|}}}|
; Gil
; Gil
: {{gil|{{#vardefineecho:min-gil|{{#explode:{{{gil}}}|-|0}}}}|{{#vardefineecho:max-gil|{{#explode:{{{gil}}}|-|1}}}}}} {{#set:Has gil reward={{#var:min-gil|0}};{{#var:max-gil|0}}}}
: {{{gil|}}} {{gil}} {{#set:Has fate gil reward={{{gil|}}}}}
}}{{#if: {{{seals|}}}|
}}{{#if: {{{bicolor gemstone|}}}|
; [[Grand Company|GC]] seals
; Gemstones
: {{company seal|{{#vardefineecho:min-seal|{{#explode:{{{seals}}}|-|0}}}}|{{#vardefineecho:max-seal|{{#explode:{{{seals}}}|-|1}}}}}} {{#set:Has company seal reward test={{#var:min-seal|0}};{{#var:max-seal|0}}}}
: {{{bicolor gemstone|}}} {{bicolor gemstone}} {{#set:Has bicolor gemstone reward={{{bicolor gemstone|}}}}}
}}{{#if:{{{prev-fate|}}}|
|}}{{#if: {{{seals|}}}|
; Previous FATE
; GC Seals
: {{#arraymap:{{{prev-fate}}}|,|@@@|[[@@@]]|<br>}}
: {{{seals|}}} {{company seal}} {{#set:Has fate company seal reward={{{seals|}}}}}
|}}{{#if: {{{mettle|}}}|
; Mettle
: {{mettle|{{#vardefineecho:min-mettle|{{#explode:{{{mettle}}}|-|0}}}}|{{#vardefineecho:max-mettle|{{#explode:{{{mettle}}}|-|1}}}}}} {{#set:Has fate mettle reward={{#var:min-mettle|0}};{{#var:max-mettle|0}}}}
}}{{#if: {{{tomestone|}}}|
; Tomestones
: {{{tomestone|}}} {{tomestone|poetics}} {{#set:Has fate tomestone reward={{{tomestone|}}}}}
|}}{{#if: {{{boss|}}}|
; Boss
: {{#arraymap:{{{boss|}}}|,|@@@|{{#if:{{#show:@@@|?Has canonical name}}|[[@@@|{{#show:@@@|?Has canonical name}}]]|[[@@@]]}}{{#set:Has fate boss=@@@}}}}
|}}{{#if: {{{enemies|}}}|
; Enemies
: {{#arraymap:{{{enemies|}}}|,|@@@|[[@@@|{{#show:@@@|?Has canonical name}}]]{{#set:Has fate enemies=@@@}}}}
|}}{{#if: {{{eureka-spawnmob|}}}{{{spawnmob|}}}|
; Spawn Mob
: {{#if:{{{eureka-spawnmob|}}}|Lv. {{#expr:{{{level|}}}+5}}}} [[{{{eureka-spawnmob|}}}{{{spawnmob|}}}]] {{#if:{{#show:{{{eureka-spawnmob|}}}|?Has NPC spawn-condition}}|{{weather icon|{{#show:{{{eureka-spawnmob|}}}|?Has NPC spawn-condition}}}}}} {{#set:Has spawn mob={{{eureka-spawnmob|}}}{{{spawnmob|}}}}}
|}}{{#if: {{{eureka-element|}}}|
; Element
: {{#arraymap:{{{eureka-element|}}}|,|@@@|{{Eurekaelement icon|@@@}}|}} {{#set:Has eureka element={{{eureka-element|}}}}}
|}}{{#if: {{{eureka-light|}}}|
; Light
: {{{eureka-light|}}} {{#set:Has eureka light={{{eureka-light|}}}}}
|}}{{#if: {{{spawn-condition|}}} |
;Spawn Condition
:{{#arraymap:{{{spawn-condition}}}|,|@@@|{{weather icon|@@@}}}}{{#set:Has FATE spawn-condition={{{spawn-condition|}}}}}
}}
{{#if:{{{prev-fate|}}}|
; Prev FATE
: {{#arraymap:{{{prev-fate}}}|,|@@@|[[@@@]]|<br>}}{{#set:Has previous FATE={{{prev-fate|}}}}}
}}{{#if:{{{next-fate|}}}|
}}{{#if:{{{next-fate|}}}|
; Next FATE
; Next FATE
: {{#arraymap:{{{next-fate}}}|,|@@@|[[@@@]]|<br>}}
: {{#arraymap:{{{next-fate}}}|,|@@@|[[@@@]]|<br>}}
}}{{#if:{{{patch|}}}|
}}{{#if: {{{eventname|}}}|
; Event Name
: [[{{{eventname|}}}]]
|}}{{#if:{{{patch|}}}|
; Patch
; Patch
: {{{patch}}}
: {{{patch}}}
Line 48: Line 96:
</div><!--
</div><!--
AUTOCATEGORIZATION
AUTOCATEGORIZATION
-->{{#if: {{NAMESPACE}}||
-->[[Category:FATEs]]{{#if: {{NAMESPACE}}||
<!-- Type -->
<!-- Type -->
{{#switch:{{lc:{{{type|}}}}}
{{#switch:{{lc:{{{type|}}}}}
| slay enemy = [[Category:Enemy slaying FATEs]] {{#set:Has FATE type=Slay enemy}}
| slay enemies = [[Category:Enemy slaying FATEs]] {{#set:Has FATE type=Slay enemies}}
| defense | collection | escort | boss = [[Category:{{ucfirst:{{{type}}}}} FATEs]] {{#set:Has FATE type={{ucfirst:{{{type}}}}}}}
| notorious monster = [[Category:Notorious monster FATEs]] {{#set:Has FATE type=Notorious monster}}
| bozjan notorious monster = [[Category:Notorious monster FATEs]] {{#set:Has FATE type=Bozjan notorious monster}}
| bozjan slay enemies = [[Category:Enemy slaying FATEs]] {{#set:Has FATE type=Bozjan slay enemies}}
| bozjan defense = [[Category:Defense FATEs]] {{#set:Has FATE type=Bozjan defense}}
| bozjan gather = [[Category:Gather FATEs]] {{#set:Has FATE type=Bozjan gather}}
| critical engagement notorious monster = [[Category:Critical engagement FATEs]] {{#set:Has FATE type=Critical engagement notorious monster}}
| critical engagement solo = [[Category:Critical engagement FATEs]] {{#set:Has FATE type=Critical engagement solo}}
| critical engagement wave = [[Category:Critical engagement FATEs]] {{#set:Has FATE type=Critical engagement wave}}
| critical engagement assault = [[Category:Critical engagement FATEs]] {{#set:Has FATE type=Critical engagement assault}}
| eureka notorious monster = [[Category:Eureka notorious monster FATEs]] {{#set:Has FATE type=Eureka notorious monster}}
| defense | gather | escort | festival | chase = [[Category:{{ucfirst:{{{type}}}}} FATEs]] {{#set:Has FATE type={{ucfirst:{{{type}}}}}}}
| #default = [[Category:FATEs with no type specified]]}}
| #default = [[Category:FATEs with no type specified]]}}
<!-- Event Fate -->
{{#switch:{{lc:{{{event-fate|}}}}}
| y = {{#set:Is event fate=Y}}
| n = {{#set:Is event fate=N}}
| #default = {{#set:Is event fate=N}}}}
<!-- Patch -->
<!-- Patch -->
{{#if: {{{patch|}}}|[[Category:Patch {{{patch}}} FATEs]]}}
{{#if: {{{patch|}}}|[[Category:Patch {{{patch}}} FATEs]]}}
Line 59: Line 122:
{{#if: {{{location|}}}|[[Category:{{{location}}} FATEs]]}}
{{#if: {{{location|}}}|[[Category:{{{location}}} FATEs]]}}
}}{{Quotation|In-game description|{{{description|''No description available.''}}}{{#if:{{{desc-note|}}}|&nbsp;※&nbsp;{{{desc-note|}}}}} }}{{#if: {{{description|}}}|{{#set:Has game description|{{{description}}}}} }}<!--
}}{{Quotation|In-game description|{{{description|''No description available.''}}}{{#if:{{{desc-note|}}}|&nbsp;※&nbsp;{{{desc-note|}}}}} }}{{#if: {{{description|}}}|{{#set:Has game description|{{{description}}}}} }}<!--
-->{{#if:{{{no-footer-text|}}}||'''{{{title|{{#titleparts:{{PAGENAME}}}}}}}''' is a{{#ifeq:{{lc:{{{type|}}}}}|eureka notorious monster|n&nbsp;elemental|}} level {{{level|1}}} [[FATE]]{{#if:{{{location|}}}|&nbsp;spawned in {{Cname|{{{location|}}}}}}}.}}<!--
-->{{#if: {{{item-reward1|}}}|<br>
-->{{#if: {{{item-reward1|}}}|<br>
== Additional rewards ==
== Rewards ==
{{#if:{{{item-reward1|}}}|
{{#if:{{{item-reward1|}}}|
* {{Item reward|{{#explode:{{{item-reward1}}}| |0}}|{{#sub:{{{item-reward1}}}|{{#pos:{{{item-reward1}}}| }}}}}}
* {{Item reward|{{#explode:{{{item-reward1}}}| |0}}|{{#sub:{{{item-reward1}}}|{{#pos:{{{item-reward1}}}| }}}}}}
Line 69: Line 133:
}}{{#if:{{{item-reward4|}}}|
}}{{#if:{{{item-reward4|}}}|
* {{Item reward|{{#explode:{{{item-reward4}}}| |0}}|{{#sub:{{{item-reward4}}}|{{#pos:{{{item-reward4}}}| }}}}}}
* {{Item reward|{{#explode:{{{item-reward4}}}| |0}}|{{#sub:{{{item-reward4}}}|{{#pos:{{{item-reward4}}}| }}}}}}
}}{{#if:{{{item-reward5|}}}|
* {{Item reward|{{#explode:{{{item-reward5}}}| |0}}|{{#sub:{{{item-reward5}}}|{{#pos:{{{item-reward5}}}| }}}}}}
}}{{#if:{{{item-reward6|}}}|
* {{Item reward|{{#explode:{{{item-reward6}}}| |0}}|{{#sub:{{{item-reward6}}}|{{#pos:{{{item-reward6}}}| }}}}}}
}}{{#if:{{{item-reward7|}}}|
* {{Item reward|{{#explode:{{{item-reward7}}}| |0}}|{{#sub:{{{item-reward7}}}|{{#pos:{{{item-reward7}}}| }}}}}}
}}{{#if:{{{item-reward8|}}}|
* {{Item reward|{{#explode:{{{item-reward8}}}| |0}}|{{#sub:{{{item-reward8}}}|{{#pos:{{{item-reward8}}}| }}}}}}
}} }}</includeonly><noinclude>
}} }}</includeonly><noinclude>
== Description ==
== Description ==
Line 79: Line 151:
| location-y =  
| location-y =  
| type =  
| type =  
| event-fate =
| eventname =
| level =  
| level =  
| duration =  
| duration =  
| req-items =  
| req-items =  
| exp-range =
| exp =  
| exp =  
| eureka-exp =
| gil =  
| gil =  
| bicolor gemstone =
| seals =  
| seals =  
| item-reward(1-4) =  
| mettle =
| tomestone =
| eureka-spawnmob =
| eureka-element =
| eureka-light =
| item-reward(1-8) =  
| prev-fate =  
| prev-fate =  
| next-fate =  
| next-fate =  
Line 106: Line 188:
: Optional. If location is specified, shows (x, y) coordinates.
: Optional. If location is specified, shows (x, y) coordinates.
; type
; type
: The FATE type. Accepts: ''slay enemy (default)'', ''boss'', ''collection'', ''defense'', ''escort''.
: The FATE type. Accepts: ''slay enemies (default)'', ''notorious monster'', ''gather'', ''defense'', ''escort'', ''chase'', ''festival''
; event-fate
: Is the fate from an event. Accepts: y (yes, true), or n (no, false). Will default to no/false if nothing is entered. This is used for the [[Template:Fate list]] and [[Template:Fate list pre-shb]] so that it will exclude event fates.
; eventname
: If the fate is an event fate - what is the name of the event.
; level
; level
: Optional. The level required.
: Optional. The level required.
Line 112: Line 198:
: Optional. Items required in order to progress/finish this FATE. Accepts comma-separated items.
: Optional. Items required in order to progress/finish this FATE. Accepts comma-separated items.
: '''Note:''' this parameter requires quantity to be always provided (even 1), separated by a whitespace. (eg. <code><nowiki><quantity> <item></nowiki></code>).
: '''Note:''' this parameter requires quantity to be always provided (even 1), separated by a whitespace. (eg. <code><nowiki><quantity> <item></nowiki></code>).
; exp-range
: Used when exp is in a range (ie 1000-1000)
; exp
; exp
: Optional. Experienced awarded by the FATE.
: Optional. Experienced awarded by the FATE.
; eureka-exp
: Optional. Experienced in Eurkea awarded by the FATE.
; gil
; gil
: Optional. Gil awarded by the FATE.
: Optional. Gil awarded by the FATE.
; reward(1-4)
; bicolor gemstone
: Optional. Bicolor Gemstone awared by the FATE.
; mettle
: Optional. Mettle received in Fates in Bozjan Southern Front and Zadnor
; tomestone
: Optional. Tomestone reward for Eureka.
; eureka-spawnmob
: Optional. The mob used to spawn the fate in Eureka.
; eureka-element
: Optional. The element type of the fate in Eureka.
; eureka-light
: Optional. For light for the kettle in Eureka.
; reward(1-8)
: Optional. List of additional item rewards awarded by the FATE.
: Optional. List of additional item rewards awarded by the FATE.
: '''Note:''' this parameter requires quantity to be always provided (even 1), separated by a whitespace. (eg. <code><nowiki><quantity> <item/reward></nowiki></code>).
: '''Note:''' this parameter requires quantity to be always provided (even 1), separated by a whitespace. (eg. <code><nowiki><quantity> <item/reward></nowiki></code>).
Line 126: Line 228:
: Optional. Patch number.
: Optional. Patch number.
; release
; release
: Optional. Expansion this FATE belongs to. Accepts: ''heavensward'', or ''stormblood''.
: Optional. Expansion this FATE belongs to. Accepts: ''heavensward'', or ''stormblood'', or ''shadowbringers'', or ''endwalker'' or ''dawntrail''.


== Example ==
== Example ==
Line 137: Line 239:
| location-y = 37
| location-y = 37
| type = defense
| type = defense
| event-fate = n
| level = 50
| level = 50
| duration = 15
| duration = 15
Line 142: Line 245:
| exp = 14400
| exp = 14400
| gil = 100
| gil = 100
| bicolor gemstone = 14
| seals = 287
| seals = 287
| item-reward(1-4) =  
| item-reward(1-4) =  
Line 157: Line 261:
| location-y = 37
| location-y = 37
| type = defense
| type = defense
| event-fate = n
| level = 50
| level = 50
| duration = 15
| duration = 15
Line 162: Line 267:
| exp = 14400
| exp = 14400
| gil = 100
| gil = 100
| bicolor gemstone = 14
| seals = 287
| seals = 287
| item-reward(1-4) =  
| item-reward(1-4) =  

Latest revision as of 04:59, 21 April 2024

Description

{{FATE infobox
| title = 
| description = 
| starting-npc = 
| location = 
| location-x = 
| location-y = 
| type = 
| event-fate = 
| eventname = 
| level = 
| duration = 
| req-items = 
| exp-range = 
| exp = 
| eureka-exp = 
| gil = 
| bicolor gemstone = 
| seals = 
| mettle = 
| tomestone = 
| eureka-spawnmob = 
| eureka-element = 
| eureka-light = 
| item-reward(1-8) = 
| prev-fate = 
| next-fate = 
| patch = 
| release = 
}}

Parameters

title
FATE title. Defaults to the page name.
description
Brief FATE description.
desc-note
Optional. Small note which appear after FATE description.
starting-npc
The NPC who triggers the FATE.
location
The location where the FATE takes place.
location-x, location-y
Optional. If location is specified, shows (x, y) coordinates.
type
The FATE type. Accepts: slay enemies (default), notorious monster, gather, defense, escort, chase, festival
event-fate
Is the fate from an event. Accepts: y (yes, true), or n (no, false). Will default to no/false if nothing is entered. This is used for the Template:Fate list and Template:Fate list pre-shb so that it will exclude event fates.
eventname
If the fate is an event fate - what is the name of the event.
level
Optional. The level required.
req-items
Optional. Items required in order to progress/finish this FATE. Accepts comma-separated items.
Note: this parameter requires quantity to be always provided (even 1), separated by a whitespace. (eg. <quantity> <item>).
exp-range
Used when exp is in a range (ie 1000-1000)
exp
Optional. Experienced awarded by the FATE.
eureka-exp
Optional. Experienced in Eurkea awarded by the FATE.
gil
Optional. Gil awarded by the FATE.
bicolor gemstone
Optional. Bicolor Gemstone awared by the FATE.
mettle
Optional. Mettle received in Fates in Bozjan Southern Front and Zadnor
tomestone
Optional. Tomestone reward for Eureka.
eureka-spawnmob
Optional. The mob used to spawn the fate in Eureka.
eureka-element
Optional. The element type of the fate in Eureka.
eureka-light
Optional. For light for the kettle in Eureka.
reward(1-8)
Optional. List of additional item rewards awarded by the FATE.
Note: this parameter requires quantity to be always provided (even 1), separated by a whitespace. (eg. <quantity> <item/reward>).
prev-fate
Optional. Previous FATE in this chain.
next-fate
Optional. Next FATE in this chain.
patch
Optional. Patch number.
release
Optional. Expansion this FATE belongs to. Accepts: heavensward, or stormblood, or shadowbringers, or endwalker or dawntrail.

Example

{{FATE infobox
| title = Mint Condition
| description = To stave off the myriad vilekin that endlessly nip at the cheeks of the Rose Knights stationed in Cloudtop, several crates filled with seedlings of a natural herb repellant known as catmint were brought in to plant around the camp. Unfortunately, the odor has attracted a clowder of gaelicats who have begun destroying the containers to get at their contents.
| starting-npc = 
| location = The Sea of Clouds
| location-x = 14
| location-y = 37
| type = defense
| event-fate = n
| level = 50
| duration = 15
| req-items = 
| exp = 14400
| gil = 100
| bicolor gemstone = 14
| seals = 287
| item-reward(1-4) = 
| prev-fate = 
| next-fate = 
| patch = 3.5
| release = 
}}
Defense FATE icon.png

Mint Condition

Location
The Sea of Clouds (X:14, Y:37)
Level
50
Duration
15 min
Experience
14400 Experience
Gil
100 Gil
Gemstones
14 Bicolor Gemstone
GC Seals
287 Company seal
Patch
3.5

To stave off the myriad vilekin that endlessly nip at the cheeks of the Rose Knights stationed in Cloudtop, several crates filled with seedlings of a natural herb repellant known as catmint were brought in to plant around the camp. Unfortunately, the odor has attracted a clowder of gaelicats who have begun destroying the containers to get at their contents.

— In-game description

Mint Condition is a level 50 FATE spawned in The Sea of Clouds.