Template:Infobox Magic: Difference between revisions

From HorizonXI Wiki
No edit summary
Tag: Manual revert
mNo edit summary
 
(30 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><infobox>
<onlyinclude><includeonly>__NOTOC__<!--
  <title source="spell name"><format> {{StatusEffectIcon|{{{status effect id}}}}} {{{spell name|{{PAGENAME}}}}} </format></title>
 
  <data source="spell type"><label>[[:Category:Magic|Type]]</label><format>[[Category:Magic]]{{#switch:{{lc:{{{spell type}}}}}|elemental|enfeebling|enhancing|healing|divine|dark|summoning|blue = [[:Category:{{{spell type}}} Magic|{{{spell type}}}]]|ninjutsu|geomancy|trust = [[:Category:{{{spell type}}}|{{{spell type}}}]]||song = [[:Category:Songs|Song]]|Not Specified}}</format></data>
Cheat sheet that is only visible during preview
  <data source="description"><label>Description</label></data>
-->{{#switch:{{{1|}}}|bp|boilerplate={{Preview Only Infobox|<pre>
  <data source="status effect id"><label>Status Effect ID</label></data>
  <data source="mp"><label>Cost</label><format>{{{mp}}} MP</format></data>
  <data source="element"><label>[[Element]]</label><format>{{#ifeq: {{{element}}} | None | '''Non-Elemental''' | {{Element|{{{element}}}}}}}</format></data>
  <data source="blue family"><label>Monster Family</label></data>
  <data source="blue physical damage type"><label>[[:Category:Blue Magic|Blue Physical Damage Type]]</label><format>{{#switch:{{lc:{{{blue physical damage type}}}}}|hand-to-hand = Hand-to-Hand|blunt = Blunt|piercing = Piercing|slashing = Slashing|Unspecified}} damage</format></data>
  <data source = "blue skillchain properties"><label>Skillchain Properties</label></data>
  <data source = "blue stats"><label>Status Bonus</label></data>
  <data source = "blue trait"><label>Job Trait</label></data>
  <data source = "blue points"><label>Points Required</label></data>
  <data source="ninjutsu tool"><label>Ninjutsu Tool</label></data>
  <data source="jobs"><label>[[:Category:Jobs|Jobs]]</label></data>
  <data source="casting time"><label>[[Cast Time|Casting Time]]</label><format>{{{casting time}}} seconds</format></data>
  <data source="recast time"><label>[[Recast Time]]</label><format>{{{recast time}}} seconds</format></data>
  <data source="affected targets"><label>Affected Targets</label><format>{{#switch:{{lc:{{{affected targets}}}}}|self|caster = Caster|single = Single|aoe target = AOE, centered on target|aoe self = AOE, centered on caster|aoe cone = AOE, cone in front of caster|Unspecified}}</format></data>
  <data source="base duration"><label>Base Duration</label></data>
  <data source="range"><label>Range</label><format>{{{range}}} yalms</format></data>
</infobox></includeonly><noinclude>
==Usage==
Designed to supersede all the individual Infoboxes for magic subcategories. This template organizes all the pertinent information about magic separate from what needs to be known about the scrolls/plates/spirit pact 'items' that teach that magic.
<pre>
{{Infobox Magic
{{Infobox Magic
| spell name =  
| spell name =  
Line 29: Line 9:
| mp =  
| mp =  
| element =  
| element =  
| jobs =
| jobs =  
*
| casting time =  
| casting time =  
| recast time =  
| recast time =  
| affected targets =  
| affected targets =  
| base duration =
| range =
}}
}}
</pre>
</pre>|disable={{{1|}}}}}<!--
==Parameters==
-->|#default={{Preview Only Infobox|<pre>
Infobox Magic
Designed to supersede all the individual Infoboxes for magic subcategories. This template organizes all the pertinent information about magic separate from what needs to be known about the scrolls/plates/spirit pact 'items' that teach that magic.
 
{{Infobox Magic
| spell name = {As it appears in your spell list, without abbreviations}
| spell type = {elemental, enhancing, healing, divine, dark, summoning, blue, ninjutsu, geomancy, song or trust}
| description = {taken directly from the game's own description of the spell.}
| mp = {If any, the base MP cost of the spell.}
| element = {If any, the element of the spell eg. fire, earth, water, wind, ice, lightning, light, dark}
| jobs = {A list of the jobs that can cast that spell, as well as the base level required to learn the spell. Ideally ordered from lowest -> highest level. In the cast of a PUP automaton, list the minimum puppet magic skill level required to cast the spell.}
| casting time = {The base casting time of the spell eg. 2}
| recast time = {the base recast time of the spell eg. 10}
| affected targets = {self, single, aoe target (most -ga spells), aoe self (most -ra spells), aoe cone (blu breath spells).}
| base duration = {for enfeebling or enhancing magic, the base duration of an unresisted spell eg. 2 minutes 30 seconds}
| range = {the maximum range from which this spell can be cast. Include the radius of -ga/-ra spells eg. 10}
}}
</pre>|disable={{{1|}}}}}}}<!--
 
-->{{categorize|{{{1|}}}|[[Category:Magic]][[Category:{{{element}}}]]{{#switch:{{lc:{{{spell type}}}}}|elemental|enfeebling|enhancing|healing|divine|dark|summoning|blue = [[Category:{{{spell type}}} Magic]]|ninjutsu|geomancy|trust = [[Category:{{{spell type}}}]]|song = [[Category:Songs]]}}}}
<div class="portable-infobox noexcerpt infobox-magic-container">
<div class="infobox-magic-title">{{StatusEffectIcon|{{{status effect id}}}}} '''{{{spell name|{{PAGENAME}}}}}'''</div>
{| class="infobox-magic"
! [[:Category:Magic|Type]]
| {{#switch:{{lc:{{{spell type}}}}}|elemental|enfeebling|enhancing|healing|divine|dark|summoning|blue = [[:Category:{{{spell type}}} Magic|{{{spell type}}}]]|ninjutsu|geomancy|trust = [[:Category:{{{spell type}}}|{{{spell type}}}]]|song = [[:Category:Songs|Song]]|#default = {{Information Needed}}}}
|-
! Description
| {{{description|{{Information Needed}}}}}
|- {{#if:{{{mp|}}}||style="display: none;"}}
! Cost
| {{{mp}}} [[MP]]
|-
! [[Element]]
| {{#ifeq: {{{element}}} | None | '''Non-Elemental''' | {{Element|{{{element}}}}}}}
|- {{#switch:{{lc:{{{spell type}}}}}|blue|blue magic=|#default=style="display: none;"}}
! Monster Family
| {{{blue family}}}
|- {{#switch:{{lc:{{{spell type}}}}}|blue|blue magic=|#default=style="display: none;"}}
! [[:Category:Blue Magic|Blue Physical Damage Type]]
| {{#switch:{{lc:{{{blue physical damage type}}}}}|hand-to-hand = Hand-to-Hand|blunt = Blunt|piercing = Piercing|slashing = Slashing|Unspecified}} damage
|- {{#switch:{{lc:{{{spell type}}}}}|blue|blue magic=|#default=style="display: none;"}}
! Skillchain Properties
| {{{blue skillchain properties|}}}
|- {{#switch:{{lc:{{{spell type}}}}}|enfeebling|elemental=|#default=style="display:none;"}}  <!-- does not include songs, ninjutsu and bloodpacts yet -->
! [[Magic Burst]]
| {{#switch:{{lc:{{{element}}}}}
|earth={{Property|scission|icon}}<br>{{Property|gravitation|icon}}<br>{{Property|darkness|icon}}
|water={{Property|reverberation|icon}}<br>{{Property|distortion|icon}}<br>{{Property|darkness|icon}}
|wind={{Property|detonation|icon}}<br>{{Property|fragmentation|icon}}<br>{{Property|light|icon}}
|fire={{Property|liquefaction|icon}}<br>{{Property|fusion|icon}}<br>{{Property|light|icon}}
|ice={{Property|induration|icon}}<br>{{Property|distortion|icon}}<br>{{Property|darkness|icon}}
|lightning={{Property|impaction|icon}}<br>{{Property|fragmentation|icon}}<br>{{Property|light|icon}}
|dark={{Property|compression|icon}}<br>{{Property|gravitation|icon}}<br>{{Property|darkness|icon}}
|light={{Property|transfixion|icon}}<br>{{Property|fusion|icon}}<br>{{Property|light|icon}}
}}
|- {{#switch:{{lc:{{{spell type}}}}}|blue|blue magic=|#default=style="display: none;"}}
! Status Bonus
| {{{blue stats}}}
|- {{#switch:{{lc:{{{spell type}}}}}|blue|blue magic=|#default=style="display: none;"}}
! Job Trait
| {{{blue trait}}}
|- {{#switch:{{lc:{{{spell type}}}}}|blue|blue magic=|#default=style="display: none;"}}
! Points Required
| {{{blue points}}}
|- {{#ifeq:{{lc:{{{spell type}}}}}|ninjutsu||style="display: none;"}}
! Ninjutsu Tool
| {{{ninjutsu tool}}}
|-
! [[:Category:Jobs|Jobs]]
|
{{#if:{{{jobs|}}}|{{{jobs}}}|{{Information Needed}}}}
|-
! [[Cast Time|Casting Time]]
| {{#if:{{{casting time|}}}|{{{casting time}}}|{{Information Needed}}}} seconds
|-
! [[Recast Time]]
| {{#if:{{{recast time|}}}|{{{recast time}}}|{{Information Needed}}}} seconds
|- {{#if:{{{affected targets|}}}||style="display:none;"}}
! Affected Targets
| {{#switch:{{lc:{{{affected targets}}}}}
| self | caster = Caster
| single = Single
| aoe target = AOE, centered on target
| aoe self = AOE, centered on caster
| aoe cone = AOE, cone in front of caster
| #default =
}}
|- {{#if:{{{base duration|}}}||style="display:none;"}}
! Base Duration
| {{{base duration}}}
|- {{#if: {{{range|}}}||style="display:none;"}}
! Range
| {{{range}}}
|}
</div><!--
 
--></includeonly></onlyinclude>
==Usage==
===Documentation===
{{Preview_Only_Infobox/Documentation}}
 
*spell name: As it appears in your spell list, without abbreviations
*spell name: As it appears in your spell list, without abbreviations
*spell type: elemental, enhancing, healing, divine, dark, summoning, blue, ninjutsu, geomancy, song or trust
*spell type: elemental, enhancing, healing, divine, dark, summoning, blue, ninjutsu, geomancy, song or trust
*status effect id: ID# for the status effect, derived from in-game DAT resources. This parameter feeds the icon displayed next to the title. This icon should resemble the status effect icon in game.
*blue family: the monster family correlated with this spell.
*blue family: the monster family correlated with this spell.
*blue physical damage type: For physical blue magic spells - hand-to-hand, blunt, piercing or slashing
*blue physical damage type: For physical blue magic spells - hand-to-hand, blunt, piercing or slashing
Line 56: Line 138:
*range: the maximum range from which this spell can be cast. Include the radius of -ga/-ra spells.
*range: the maximum range from which this spell can be cast. Include the radius of -ga/-ra spells.


==Examples==
===Examples===
Please Refer to the [[Template:Infobox Magic/Tests]] page for more examples
Please Refer to the [[Template:Infobox Magic/Tests]] page for more examples


===Elemental Magic===
====Elemental Magic====
 
{| width="100%"
| width="75%" valign="top" align="left"|
<pre>
<pre>
{{Infobox Magic
{{Infobox Magic
Line 78: Line 161:
| recast time = 2
| recast time = 2
| affected targets = single
| affected targets = single
| range = 21
}}
}}
</pre>
</pre>


{{Infobox Magic
| width="25%" valign="top" align="left"|
{{Infobox Magic|ncnd
| spell name = Fire
| spell name = Fire
| spell type = Elemental
| spell type = Elemental
Line 97: Line 182:
| recast time = 2
| recast time = 2
| affected targets = single
| affected targets = single
| range = 21
}}
|}
====Status Effect====
{| width="100%"
| width="75%" valign="top" align="left"|
<pre>
{{Infobox Magic
| spell name = Haste
| spell type = Enhancing
| status effect id = 33
| description = [[Haste (Status Effect)|Increases target's attack speed.]]
| mp = 40
| element = Wind
| jobs =
*[[White Mage]] Lv. 40
*[[Red Mage]] Lv. 48
| casting time = 3
| recast time = {{changes}} 18
| affected targets = single
| base duration = 3 minutes
| range = 20
}}
</pre>
| width="25%" valign="top" align="left"|
{{Infobox Magic|ncnd
| spell name = Haste
| spell type = Enhancing
| status effect id = 33
| description = [[Haste (Status Effect)|Increases target's attack speed.]]
| mp = 40
| element = Wind
| jobs =
*[[White Mage]] Lv. 40
*[[Red Mage]] Lv. 48
| casting time = 3
| recast time = {{changes}} 18
| affected targets = single
| base duration = 3 minutes
| range = 20
}}
}}
</noinclude>
|}
[[Category:Templates]]

Latest revision as of 09:30, 11 August 2024

Usage

Documentation

Template:Preview Only Infobox/Documentation

  • spell name: As it appears in your spell list, without abbreviations
  • spell type: elemental, enhancing, healing, divine, dark, summoning, blue, ninjutsu, geomancy, song or trust
  • status effect id: ID# for the status effect, derived from in-game DAT resources. This parameter feeds the icon displayed next to the title. This icon should resemble the status effect icon in game.
  • blue family: the monster family correlated with this spell.
  • blue physical damage type: For physical blue magic spells - hand-to-hand, blunt, piercing or slashing
  • blue skillchain properties: For physical blue magic spells - use only the link form to the skillchain e.g. Induration, do not use Template:Skillchain.
  • blue stats: For blue magic - list the bonus stats granted by setting this spell. See Template:Stat
  • blue trait: For blue magic - link the job traits granted by this spell as well as the points counted towards that trait.
  • blue points: For blue magic - the number of free blue magic points required to set this spell.
  • description: taken directly from the game's own description of the spell.
  • mp: If any, the base MP cost of the spell.
  • ninjutsu tool: Link the tool/tools consumed while casting ninjutsu.
  • element: If any, the element of the spell.
  • jobs: A list of the jobs that can cast that spell, as well as the base level required to learn the spell. Ideally ordered from lowest -> highest level. In the cast of a PUP automaton, list the minimum puppet magic skill level required to cast the spell.
  • casting time: The base casting time of the spell.
  • recast time: the base recast time of the spell.
  • affected targets: self, single, aoe target (most -ga spells), aoe self (most -ra spells), aoe cone (blu breath spells).
  • base duration: for enfeebling or enhancing magic, the base duration of an unresisted spell.
  • range: the maximum range from which this spell can be cast. Include the radius of -ga/-ra spells.

Examples

Please Refer to the Template:Infobox Magic/Tests page for more examples

Elemental Magic

{{Infobox Magic
| spell name = Fire
| spell type = Elemental
| description = Deals fire damage to an enemy
| mp = 7
| element = Fire
| jobs =
* Level 13 [[Black Mage]] 
* Level 16 [[Scholar]]
* Level 19 [[Red Mage]]
* Level 19 [[Geomancer]]
* Level 20 [[Puppetmaster]] [[Automaton Magic Skill]] 60<sup>‡</sup>
* Level 23 [[Dark Knight]]
| casting time = 0.5
| recast time = 2
| affected targets = single
| range = 21
}}
Fire
Type Elemental
Description Deals Fire damage to an enemy
Cost 7 MP
Element Fire Fire
Monster Family {{{blue family}}}
Blue Physical Damage Type Unspecified damage
Skillchain Properties
Magic Burst Fire ElementLi­que­fac­tion
Light Element and Fire ElementFu­sion
Light, Fire, Lightning and Wind ElementsLight
Status Bonus {{{blue stats}}}
Job Trait {{{blue trait}}}
Points Required {{{blue points}}}
Ninjutsu Tool {{{ninjutsu tool}}}
Jobs
Casting Time 0.5 seconds
Recast Time 2 seconds
Affected Targets Single
Base Duration {{{base duration}}}
Range 21

Status Effect

{{Infobox Magic
| spell name = Haste
| spell type = Enhancing
| status effect id = 33
| description = [[Haste (Status Effect)|Increases target's attack speed.]]
| mp = 40
| element = Wind
| jobs =
*[[White Mage]] Lv. 40
*[[Red Mage]] Lv. 48
| casting time = 3
| recast time = {{changes}} 18
| affected targets = single
| base duration = 3 minutes
| range = 20
}}
Status effect 33.png Haste
Type Enhancing
Description Increases target's attack speed.
Cost 40 MP
Element Wind Wind
Monster Family {{{blue family}}}
Blue Physical Damage Type Unspecified damage
Skillchain Properties
Magic Burst Wind ElementDe­to­na­tion
Lightning Element and Wind ElementFrag­men­ta­tion
Light, Fire, Lightning and Wind ElementsLight
Status Bonus {{{blue stats}}}
Job Trait {{{blue trait}}}
Points Required {{{blue points}}}
Ninjutsu Tool {{{ninjutsu tool}}}
Jobs
Casting Time 3 seconds
Recast Time HorizonXI specific changes 18 seconds
Affected Targets Single
Base Duration 3 minutes
Range 20