Template:Infobox Magic: Difference between revisions
From HorizonXI Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<infobox> | <includeonly><infobox> | ||
<title source=" | <title source="spell name"><format>{{SpellIcon|{{{icon}}}}} {{{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> | |||
</ | <data source="description"><label>Description</label></data> | ||
<data source=" | <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> | <data source="blue family"><label>Monster Family</label></data> | ||
<data source=" | <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> | <data source = "blue stats"><label>Status Bonus</label></data> | ||
<data source=" | <data source = "blue trait"><label>Job Trait</label></data> | ||
<data source = "blue points"><label>Points Required</label></data> | |||
</data> | <data source="ninjutsu tool"><label>Ninjutsu Tool</label></data> | ||
<data source=" | <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> | <data source="recast time"><label>[[Recast Time]]</label><format>{{{recast time}}} seconds</format></data> | ||
<data source=" | <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> | <data source="range"><label>Range</label><format>{{{range}}} yalms</format></data> | ||
<data source="jobs"> | </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. | |||
<data source=" | |||
<data source=" | |||
</data> | |||
<data source=" | |||
</data> | |||
</infobox> | |||
<noinclude> | |||
<pre> | <pre> | ||
{{Infobox Magic | {{Infobox Magic | ||
| spell name = | |||
| spell type = | |||
| description = | |||
| mp = | |||
| element = | |||
| jobs = | |||
* | |||
| casting time = | |||
| recast time = | |||
| affected targets = | |||
}} | |||
</pre> | |||
==Parameters== | |||
*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 | |||
*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=== | |||
<pre> | |||
{{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 | |||
}} | |||
</pre> | |||
{{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 | |||
}} | }} | ||
</ | </noinclude> |
Revision as of 18:35, 26 February 2023
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.
{{Infobox Magic | spell name = | spell type = | description = | mp = | element = | jobs = * | casting time = | recast time = | affected targets = }}
Parameters
- 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
- 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 }}