Difference between revisions of "Template:FATE infobox"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
 
(45 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#set:Has context=FATE}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker 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;">
Line 9: Line 9:
                                                     | chase = FATE-Path.png
                                                     | chase = FATE-Path.png
                                                     | festival = Festival Fate icon.png
                                                     | festival = Festival Fate icon.png
                                                     | eureka notorious monster = Eurekafate.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
                                                     | slay enemies | #default = Slay enemy FATE icon.png
                                                     }}|40px|link=FATE]]</div>
                                                     }}|40px|link=FATEs]]</div>
</div>
</div>
</div>
</div>
Line 18: 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 25: 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
: {{#arraymap:{{{req-items}}}|,|@@@|{{#vardefineecho:req_item_qty|{{#explode:@@@| |0}}}} {{item icon|{{#vardefineecho:req_item_name|{{#sub:@@@|{{#pos:@@@| }}}}}}}}{{#set:Requires item={{#var:req_item_qty}};{{#var:req_item_name}}}}|<br>}}
: {{#arraymap:{{{req-items}}}|,|@@@|{{#vardefineecho:req_item_qty|{{#explode:@@@| |0}}}} {{item icon|{{#vardefineecho:req_item_name|{{#sub:@@@|{{#pos:@@@| }}}}}}}}{{#set:Requires item={{#var:req_item_qty}};{{#var:req_item_name}}}}|<br>}}
}}
}}{{#if: {{{exp|}}}|
{{#if: {{{exp|}}}|
; Experience
; Experience
: {{{exp|}}} {{experience}} {{#set:Has fate experience reward={{{exp|}}}}}
: {{{exp|}}} {{experience}} {{#set:Has fate experience reward={{{exp|}}}}}
|}}
|}}{{#if: {{{exp-range|}}}|
{{#if: {{{eureka-exp|}}}|
; Experience
; Eurkea Exp
: {{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|}}}}}
: {{{eureka-exp|}}} {{eurekaexp}} {{#set:Has fate eureka experience reward={{{eureka-exp|}}}}}
|}}
|}}{{#if: {{{gil|}}}|
{{#if: {{{gil|}}}|
; Gil
; Gil
: {{{gil|}}} {{gil}} {{#set:Has fate gil reward={{{gil|}}}}}
: {{{gil|}}} {{gil}} {{#set:Has fate gil reward={{{gil|}}}}}
|}}
}}{{#if: {{{bicolor gemstone|}}}|
{{#if: {{{bicolor gemstone|}}}|
; Gemstones
; Gemstones
: {{{bicolor gemstone|}}} {{bicolor gemstone}} {{#set:Has bicolor gemstone reward={{{bicolor gemstone|}}}}}
: {{{bicolor gemstone|}}} {{bicolor gemstone}} {{#set:Has bicolor gemstone reward={{{bicolor gemstone|}}}}}
|}}
|}}{{#if: {{{seals|}}}|
{{#if: {{{seals|}}}|
; GC Seals
; GC Seals
: {{{seals|}}} {{company seal}} {{#set:Has fate company seal reward={{{seals|}}}}}
: {{{seals|}}} {{company seal}} {{#set:Has fate company seal reward={{{seals|}}}}}
|}}
|}}{{#if: {{{mettle|}}}|
{{#if: {{{mettle|}}}|
; Mettle
; Mettle
: {{{mettle|}}} {{mettle}} {{#set:Has fate mettle reward={{{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|}}}|
{{#if: {{{tomestone|}}}|
; Tomestones
; Tomestones
: {{{tomestone|}}} {{tomestone|poetics}} {{#set:Has fate tomestone reward={{{tomestone|}}}}}
: {{{tomestone|}}} {{tomestone|poetics}} {{#set:Has fate tomestone reward={{{tomestone|}}}}}
|}}
|}}{{#if: {{{boss|}}}|
{{#if: {{{eureka-spawnmob|}}}|
; 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
; Spawn Mob
: [[{{{eureka-spawnmob|}}}]] {{#set:Has spawn mob={{{eureka-spawnmob|}}}}}
: {{#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|}}}|
{{#if: {{{eureka-element|}}}|
; Element
; Element
: {{Eurekaelement icon|{{{eureka-element}}}}} {{#set:Has eureka element={{{eureka-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|}}}|
{{#if:{{{prev-fate|}}}|
; Prev FATE
; Prev FATE
: {{#arraymap:{{{prev-fate}}}|,|@@@|[[@@@]]|<br>}}
: {{#arraymap:{{{prev-fate}}}|,|@@@|[[@@@]]|<br>}}{{#set:Has previous FATE={{{prev-fate|}}}}}
}}{{#if:{{{next-fate|}}}|
}}{{#if:{{{next-fate|}}}|
; Next FATE
; Next FATE
Line 82: Line 96:
</div><!--
</div><!--
AUTOCATEGORIZATION
AUTOCATEGORIZATION
-->[[Category:Fates]]{{#if: {{NAMESPACE}}||
-->[[Category:FATEs]]{{#if: {{NAMESPACE}}||
<!-- Type -->
<!-- Type -->
{{#switch:{{lc:{{{type|}}}}}
{{#switch:{{lc:{{{type|}}}}}
| slay enemies = [[Category:Enemy slaying FATEs]] {{#set:Has FATE type=Slay enemies}}
| slay enemies = [[Category:Enemy slaying FATEs]] {{#set:Has FATE type=Slay enemies}}
| notorious monster = [[Category:Notorious monster FATEs]] {{#set:Has FATE type=Notorious monster}}
| notorious monster = [[Category:Notorious monster FATEs]] {{#set:Has FATE type=Notorious monster}}
| eureka notorious monster = [[Category:Eureka notorious monster FATEs]] {{#set:Has FATE type=Eureka 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}}}}}}}
| 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]]}}
Line 100: 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 level {{{level|1}}} [[FATE]]{{#if:{{{location|}}}|&nbsp;spawned in {{Cname|{{{location|}}}}}}}.}}<!--
-->{{#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>
== Rewards ==
== Rewards ==
Line 111: 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 126: Line 156:
| duration =  
| duration =  
| req-items =  
| req-items =  
| exp-range =
| exp =  
| exp =  
| eureka-exp =  
| eureka-exp =  
Line 135: Line 166:
| eureka-spawnmob =  
| eureka-spawnmob =  
| eureka-element =  
| eureka-element =  
| item-reward(1-4) =  
| eureka-light =
| item-reward(1-8) =  
| prev-fate =  
| prev-fate =  
| next-fate =  
| next-fate =  
Line 166: 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.
Line 182: Line 216:
; eureka-element
; eureka-element
: Optional. The element type of the fate in Eureka.
: Optional. The element type of the fate in Eureka.
; reward(1-4)
; 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 192: Line 228:
: Optional. Patch number.
: Optional. Patch number.
; release
; release
: Optional. Expansion this FATE belongs to. Accepts: ''heavensward'', or ''stormblood'', or ''shadowbringers'', or ''endwalker''.
: Optional. Expansion this FATE belongs to. Accepts: ''heavensward'', or ''stormblood'', or ''shadowbringers'', or ''endwalker'' or ''dawntrail''.


== Example ==
== Example ==

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.