Difference between revisions of "Template:FATE infobox"
Jump to navigation
Jump to search
Freedom4556 (talk | contribs) m |
|||
(28 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 17: | Line 17: | ||
| critical engagement solo = critical engagement solo (map icon).png | | critical engagement solo = critical engagement solo (map icon).png | ||
| critical engagement wave = critical engagement wave (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=FATEs]]</div> | }}|40px|link=FATEs]]</div> | ||
Line 43: | Line 44: | ||
: {{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}}}} | : {{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|}}}| | |}}{{#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|}}}| | ||
Line 60: | Line 61: | ||
; Tomestones | ; Tomestones | ||
: {{{tomestone|}}} {{tomestone|poetics}} {{#set:Has fate tomestone reward={{{tomestone|}}}}} | : {{{tomestone|}}} {{tomestone|poetics}} {{#set:Has fate tomestone reward={{{tomestone|}}}}} | ||
|}}{{#if: {{{eureka-spawnmob|}}}| | |}}{{#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 | ; 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 | ||
: {{ | : {{#arraymap:{{{eureka-element|}}}|,|@@@|{{Eurekaelement icon|@@@}}|}} {{#set:Has eureka element={{{eureka-element|}}}}} | ||
|}}{{#if: {{{eureka-light|}}}| | |}}{{#if: {{{eureka-light|}}}| | ||
; Light | ; Light | ||
: {{{eureka-light|}}} {{#set:Has eureka light={{{eureka-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 86: | Line 96: | ||
</div><!-- | </div><!-- | ||
AUTOCATEGORIZATION | AUTOCATEGORIZATION | ||
-->[[Category: | -->[[Category:FATEs]]{{#if: {{NAMESPACE}}|| | ||
<!-- Type --> | <!-- Type --> | ||
{{#switch:{{lc:{{{type|}}}}} | {{#switch:{{lc:{{{type|}}}}} | ||
Line 98: | Line 108: | ||
| critical engagement solo = [[Category:Critical engagement FATEs]] {{#set:Has FATE type=Critical engagement solo}} | | 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 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}} | | 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}}}}}}} | ||
Line 111: | Line 122: | ||
{{#if: {{{location|}}}|[[Category:{{{location}}} FATEs]]}} | {{#if: {{{location|}}}|[[Category:{{{location}}} FATEs]]}} | ||
}}{{Quotation|In-game description|{{{description|''No description available.''}}}{{#if:{{{desc-note|}}}| ※ {{{desc-note|}}}}} }}{{#if: {{{description|}}}|{{#set:Has game description|{{{description}}}}} }}<!-- | }}{{Quotation|In-game description|{{{description|''No description available.''}}}{{#if:{{{desc-note|}}}| ※ {{{desc-note|}}}}} }}{{#if: {{{description|}}}|{{#set:Has game description|{{{description}}}}} }}<!-- | ||
-->{{#if:{{{no-footer-text|}}}||'''{{{title|{{#titleparts:{{PAGENAME}}}}}}}''' is a level {{{level|1}}} [[FATE]]{{#if:{{{location|}}}| spawned in {{Cname|{{{location|}}}}}}}.}}<!-- | -->{{#if:{{{no-footer-text|}}}||'''{{{title|{{#titleparts:{{PAGENAME}}}}}}}''' is a{{#ifeq:{{lc:{{{type|}}}}}|eureka notorious monster|n elemental|}} level {{{level|1}}} [[FATE]]{{#if:{{{location|}}}| spawned in {{Cname|{{{location|}}}}}}}.}}<!-- | ||
-->{{#if: {{{item-reward1|}}}|<br> | -->{{#if: {{{item-reward1|}}}|<br> | ||
== Rewards == | == Rewards == | ||
Line 122: | 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 148: | Line 167: | ||
| eureka-element = | | eureka-element = | ||
| eureka-light = | | eureka-light = | ||
| item-reward(1- | | item-reward(1-8) = | ||
| prev-fate = | | prev-fate = | ||
| next-fate = | | next-fate = | ||
Line 199: | Line 218: | ||
; eureka-light | ; eureka-light | ||
: Optional. For light for the kettle in Eureka. | : Optional. For light for the kettle in Eureka. | ||
; reward(1- | ; 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 209: | 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 = }}
Mint Condition
- Location
- The Sea of Clouds (X:14, Y:37)
- Level
- 50
- Duration
- 15 min
- 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.