Difference between revisions of "Template:Action infobox"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Split range, radius, and targeting statements so they will properly hide when not filled instead of displaying in every action infobox. Wanted to do the same for Casting but can't quite figure it out, plus the info is technically useful for any Action)
Line 147: Line 147:
: {{#if: {{{recast|}}}|{{#ifeq: {{{recast|0}}}|0|Instant{{#set:Has recast time=0}}|[[Has recast time::{{{recast}}}]]}}s|Instant{{#set:Has recast time=0}}}} {{#if:{{#var:has-gcd}}|<small>([[GCD]])</small>{{#set:Has global cooldown=true}}|{{#set:Has global cooldown=false}}}}
: {{#if: {{{recast|}}}|{{#ifeq: {{{recast|0}}}|0|Instant{{#set:Has recast time=0}}|[[Has recast time::{{{recast}}}]]}}s|Instant{{#set:Has recast time=0}}}} {{#if:{{#var:has-gcd}}|<small>([[GCD]])</small>{{#set:Has global cooldown=true}}|{{#set:Has global cooldown=false}}}}
}}<!--
}}<!--
-->{{#if:1|
-->{{#if: {{{range|}}}|
; Range
; Range
: [[Has action range::{{{range|0}}}]]y
: [[Has action range::{{{range|0}}}]]y
}}<!--
-->{{#if: {{{radius|}}}|
; Radius
; Radius
: [[Has action radius::{{{radius|0}}}]]y
: [[Has action radius::{{{radius|0}}}]]y
}}<!--
-->{{#if: {{{targeting|}}}|
; Targeting
; Targeting
: {{#switch:{{{targeting|}}}
: {{#switch:{{{targeting|}}}
  | pbaoe = [[Has action targeting::Point Blank AoE]]
| pbaoe = [[Has action targeting::Point Blank AoE]]
  | #default = [[Has action targeting::{{ucfirst:{{{targeting|None}}}}}]] }} <!-- if active -->}}<!--
| #default = [[Has action targeting::{{ucfirst:{{{targeting|None}}}}}]] }}
}}<!--
-->{{#if: {{{req-quest|}}}|
-->{{#if: {{{req-quest|}}}|
; Quest Req.
; Quest Req.
Line 431: Line 436:
| gp-cost = 500
| gp-cost = 500
}}
}}


[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Revision as of 22:06, 20 January 2022

Description

{{Action infobox
| name = 
| icon = 
| description = 
| facts = 
| acquired = 
| pet =
| mount = 
| level = 
| type = 
| lost-action-type = 
| number = 
| rank = 
| damage-type = 
| aspect = 
| mp-cost = 
| tp-cost = 
| gp-cost = 
| cp-cost = 
| casting = 
| recast = 
| range = 
| radius = 
| gcd = 
| traits = 
| actions = 
| req-quest = 
| unlock-item = 
| targeting = 
| pvp = 
| patch = 
| release = 
}}

Parameters

name
Action name. Defaults to the page name.
icon
Action icon to show. If not explicitly stated, displays File:<name>.png.
description
Action description. Check {{colorize}} template to learn how to add flavor color to the description text using special backticks markup.
facts
Action facts. See {{action fact}} for examples.
acquired
Class/job/role that this action is acquired by. Accepts comma-separated: marauder, gladiator, warrior, paladin, dark knight, conjurer, white mage, scholar, astrologian, pugilist, lancer, archer, rogue, thaumaturge, arcanist, monk, dragoon, bard, black mage, summoner, ninja, machinist, samurai, red mage, blue mage, physical ranged dps, magic ranged dps, melee dps, tank, healer, carpenter, blacksmith, armorer, goldsmith, leatherworker, weaver, alchemist, culinarian, botanist, fisher, miner, or any.
pet
Pet that this action is acquired by. Accepts: emerald carbuncle, topaz carbuncle, garuda-egi, titan-egi, ifrit-egi, eos, selene, or any.
mount
Mount that this action is used by.
level
Level required to learn an action. Defaults to 1.
type
Required. Action type. Accepts: spell, weaponskill, or ability.
lost-action-type
For Lost Actions, accepts: beneficial, defensive, detrimental, item-related, offensive, restorative, tactical
number
Blue Mage spell's number (No.) based on the Blue Magic Spellbook
rank
Rank of spell. Used by Blue Mage actions. Accepts 1, 2, 3, 4, 5
damage-type
type of damage. Used by Blue Mage actions. Accepts "Magical", or "Physical
aspect
aspect of damage. Used by Blue Mage actions. Accepts ""
mp-cost
Optional. Action MP cost. It has the following wildcard: "999999" – displays "All".
tp-cost
Optional. Action TP cost.
gp-cost
Optional. Action GP cost.
cp-cost
Optional. Action CP cost.
casting
Optional. Action casting time. Defaults to Instant.
recast
Optional. Action cooldown/recast. Defaults to Instant.
range
Optional. Action range.
radius
Optional. Action radius.
traits
Optional. Comma-separated list of traits which directly affect this action.
actions
Optional. Comma-separated list of active actions which are directly related to this action.
gcd
Optional. Set anything if the action does not share global cooldown. Defaults to false if type is ability, and true otherwise.
req-quest
Optional. Quest required. Accepts varies when quest requirement varies between classes/jobs (note: it will link to <PAGENAME> unlock quests).
unlock-item
For Lost Actions, the item that unlocks it
targeting
Optional. The targeting funcionality for this action. Accepts: none (default), self, ally, enemy, pet, area (targeted area), pbaoe (point blank AoE, or around the caster).
pvp
Optional. Applies only to combat classes/jobs. Set y to specify this action belongs to PvP, c to specify this PvE action has a PvP counterpart, or n to specify this PvE action has no counterpart. Defaults to c.
patch
Optional. Patch number.
release
Optional. Expansion this action belongs to. Accepts: heavensward, or stormblood or shadowbringers or endwalker.

Example

{{Action infobox
| name = Transpose
| icon = Transpose.png
| description = Swaps [[Astral Fire]] with a single [[Umbral Ice]] or [[Umbral Ice]] with a single [[Astral Fire]].
| facts = {{action fact|duration|14}}{{action fact|Causes ```[[Thaumaturge|elemental damage]]``` with each following spell.}}
| acquired = thaumaturge
| level = 4
| type = spell
| mp-cost = 
| tp-cost = 
| gp-cost = 
| cp-cost = 
| casting = 
| recast = 12
| range = 
| radius = 
| traits = Enhanced Intelligence, Enhanced Intelligence II
| actions = Dreadwyrm Trance, Tri-disaster
| req-quest = 
| targeting = self
| pvp = y
| patch = 
| release = 
}}
Disambig icon.png This article is about the PvP action. For the PvE action, see Action infobox.

Transpose

Acquired
Thaumaturge frame icon.png THM (actions)
Level
4
Type
Spell
Casting
Instant
Recast
12s (GCD)
Targeting
Self

Swaps Astral Fire with a single Umbral Ice or Umbral Ice with a single Astral Fire.
Duration: 14s
Causes elemental damage with each following spell.

— In-game description

Transpose is an action unlocked at level 4. It's available for Thaumaturge.

Related traits

Related actions

Crafting and Gathering Example

{{Action infobox
| name = Basic Synthesis
| description = Increases progress.
| facts = {{action fact|efficiency|90}}{{action fact|success rate|100}}
| acquired = alchemist
| level = 1
| type = ability
| cp-cost = 0
}}

Basic Synthesis

Acquired
Alchemist frame icon.png ALC (actions)
Level
1
Type
Ability
CP Cost
0
Casting
Instant

Increases progress.
Efficiency: 90%
Success Rate: 100%

— In-game description

Basic Synthesis is an action unlocked at level 1. It's available for Alchemist.

{{Action infobox
| name = Blessed Harvest II
| icon = Blessed Harvest II.png
| description = Increases the number of items obtained during a single gathering attempt by two.
| acquired = botanist
| level = 40
| type = ability
| gp-cost = 500
}}

Blessed Harvest II

Acquired
Botanist frame icon.png BTN (actions)
Level
40
Type
Ability
GP Cost
500
Casting
Instant

Increases the number of items obtained during a single gathering attempt by two.

— In-game description

Blessed Harvest II is an action unlocked at level 40. It's available for Botanist.