Template:Blood Pact: Difference between revisions
Tag: visualeditor-wikitext |
(trying to come up with a solution for additional tables for blood pact wards. removed my previous attempt and reduced the unnecessary extra line breaks.) |
||
(22 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{Preview Only Infobox|<pre>{{Blood Pact | |||
| description = {The blood pact's in-game description} | |||
| avatar = {Name of avatar} | |||
| type = {Either rage or ward} | |||
| element = {Element type eg. fire or water} | |||
| skillchain = {Skillchain properties} | |||
| magic burst = {The skillchains that it can burst off} | |||
| damage type = {damage type eg. blunt, slashing, piecring} | |||
| level = {Level the blood pact is obtained} | |||
| mp = {MP cost of blood pact} | |||
| duration = {Duration or blood pact eg. 1 minute / Instant} | |||
| notes = {Use bullet points for any additional notes} | |||
| changes = {Enter name of blood pact eg. Inferno. If Horizon changes are listed on "Category:Horizon Changes", they will then appear. Leave blank otherwise} | |||
| macro = {Use bullet points. Type macro syntax and any relevant information} | |||
}}</pre>}}__NOTOC__ | |||
'''Avatar:''' {{{ | {| class="table-xs horizon-table no-borders" style="border: 1px solid black"; | ||
! colspan=2 style="text-align:center; border: 1px solid black;" BGCOLOR="#afc7cf"; | {{PAGENAME}} | |||
|- valign="top" | |||
|width="35%" BGCOLOR="#dfe9ec"; | '''Description:''' | |||
|width="65%" BGCOLOR="#eff4f5"; | {{{description|}}} | |||
|- valign="top" | |||
| BGCOLOR="#dfe9ec" | '''Avatar:''' | |||
| BGCOLOR="#eff4f5" | [[{{#if:{{{avatar|}}}|{{#switch:{{lc:{{{avatar}}}}} | |||
| ifrit = Ifrit | |||
| shiva = Shiva | |||
| ramuh = Ramuh | |||
| fenrir = Fenrir | |||
| diabolos = Diabolos | |||
| leviathan = Leviathan | |||
| garuda = Garuda | |||
| carbuncle = Carbuncle | |||
| titan = Titan | |||
| bahamut = Bahamut | |||
| alexander = Alexander | |||
| odin = Odin | |||
|#default= | |||
}}|}}]] | |||
|- valign="top" | |||
| BGCOLOR="#dfe9ec" | '''Blood Pact Type:''' | |||
| BGCOLOR="#eff4f5" | [[Blood Pact: {{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}} | |||
| rage | Blood Pact: Rage = Rage | |||
| ward | blood pact: ward = Ward | |||
|#default= }}|}}| | |||
{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}} | |||
| rage | Blood Pact: Rage = Rage | |||
| ward | Blood Pact: Ward = Ward | |||
|#default= }}|}}]] | |||
|- valign="top" | |||
| BGCOLOR="#dfe9ec" |'''Element:''' | |||
| BGCOLOR="#eff4f5" | {{#if:{{{element|}}}|{{#switch:{{lc:{{{element}}}}} | |||
| light | {{Light}} = {{Light|Element}} | |||
| dark | {{Dark}} = {{Dark|Element}} | |||
| water | {{Water}} = {{Water|Element}} | |||
| lightning | {{Lightning}} = {{Lightning|Element}} | |||
| earth | {{Earth}} = {{Earth|Element}} | |||
| wind | {{Wind}} = {{Wind|Element}} | |||
| ice | {{Ice}} = {{Ice|Element}} | |||
| fire | {{Fire}} = {{Fire|Element}} | |||
|#default= | |||
}}|}} | |||
|- valign="top" | |||
| BGCOLOR="#dfe9ec" | {{#if: {{{skillchain|}}} |''' Skillchain Properties:''' |}} | |||
| BGCOLOR="#eff4f5" | {{{skillchain|}}} | |||
|- valign="top" | |||
| BGCOLOR="#dfe9ec" | {{#if: {{{magic burst|}}} |''' Magic Burst:''' |}} | |||
| BGCOLOR="#eff4f5" | {{{magic burst|}}} | |||
|- valign="top" | |||
| BGCOLOR="#dfe9ec" | {{#if: {{{damage type|}}} |'''Damage Type:''' |}} | |||
| BGCOLOR="#eff4f5" | {{#if:{{{damage type|}}}|{{#switch:{{lc:{{{damage type}}}}} | |||
| blunt = [[Blunt Damage|Blunt]] | |||
| aoe blunt = [[Area of Effect|AoE]], [[Blunt Damage|Blunt]] | |||
| ranged blunt = Ranged, [[Blunt Damage|Blunt]] | |||
| magic | magical = [[Magic Damage|Magic]] | |||
| aoe magical | aoe magic = [[Area of Effect|Aoe]], [[Magic Damage|Magic]] | |||
| ranged magic | ranged magical = Ranged, [[Magic Damage|Magic]] | |||
| piercing = [[Piercing Damage|Piercing]] | |||
| aoe piercing = [[Area of Effect|AoE]], [[Piercing Damage|Piercing]] | |||
| ranged piercing = Ranged, [[Piercing Damage|Piercing]] | |||
| slashing | slash = [[Slashing Damage|Slashing]] | |||
| aoe slashing = [[Area of Effect|AoE]], [[Piercing Damage|Piercing]] | |||
| ranged slashing = Ranged, [[Slashing Damage|Slashing]] | |||
| ? | unknown | verification | {{Verification}} = {{Verification}} | |||
|#default= }}|}} | |||
|- valign="top" | |||
| BGCOLOR="#dfe9ec" | ''' Level:''' | |||
| BGCOLOR="#eff4f5" | {{{level|}}} | |||
|- valign="top" | |||
| BGCOLOR="#dfe9ec" | {{#if: {{{duration|}}} | '''Duration:'''|}} | |||
| BGCOLOR="#eff4f5" | {{#if: {{{duration|}}} | {{{duration}}}|}} | |||
|- valign="top" | |||
| BGCOLOR="#dfe9ec" | '''MP Cost:''' | |||
| BGCOLOR="#eff4f5" | {{{mp|}}} | |||
|} | |||
<h2> Notes </h2> | |||
{| | |||
|- valign="top" | |||
| | |||
{{{notes|}}} | |||
|} | |||
<h2> Horizon Changes {{changes}} </h2> | |||
{| | |||
|- valign="top" | |||
| {{#if:{{{changes|}}} | {{HorizonChangesBox|{{#section:Category:Horizon Changes|{{{changes|}}}}}}} | {{HorizonChangesBox|}}}} | |||
|} | |||
<h2> Macro Syntax </h2> | |||
{| | |||
|- valign="top" | |||
| | |||
{{{macro|}}} | |||
|}<!-- | |||
-->{{categorize|{{{1|}}}|<!-- | |||
-->[[Category:Job Abilities]]<!-- | |||
-->}}<!-- | |||
if content has Horizon Changes then categorize as such | |||
-->{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}} | |||
| rage | ward = [[Category:Job Abilities]] [[Category:Summoning Magic]] | |||
|#default= | |||
}}|}} | |||
{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}} | |||
| ksnm | bcnm | enm | isnm = [[Category:Battlefields]] | |||
| #default = | |||
}}|}}<!-- | |||
--- End Categorizations --- | |||
''' | --></onlyinclude></includeonly> | ||
<noinclude>[[Category:Templates]]</noinclude> | |||
This template is for use on [[:Category:Blood Pact|Blood Pact]] pages. | |||
== Usage == | |||
<pre>{{Blood Pact | |||
| description = | |||
| avatar = | |||
| type = | |||
| element = | |||
| skillchain = | |||
| magic burst = | |||
| damage type = | |||
| level = | |||
| duration = | |||
| mp = | |||
| notes = | |||
| changes = | |||
| macro = | |||
}}</pre> | |||
'''description:''' This is the in-game description of the blood pact.<br> | |||
'''avatar:''' Name of the avatar.<br> | |||
'''type:''' The blood pacts type. Accepts both "rage" and "ward.<br> | |||
'''element:''' The blood pacts element. The parameter accepts all 8 elements and then the template then applies the necessary formatting.<br> | |||
'''skillchain:''' The skillchain properties that this blood pact has. This parameter accepts whatever input the user gives.<br> | |||
'''magic burst:''' The skillchains that this blood pact can magic burst off. This parameter accepts whatever input the user gives.<br> | |||
'''damage type:''' The damage type of the blood pact. The parameter accepts "blunt", "magic", "piercing" and "slashing". Also accepts "aoe" and "ranged" variants off them all eg. "aoe blunt" or "ranged magical".<br> | |||
'''Level:''' The level the blood pact is unlocked eg. "30".<br> | |||
'''Duration:''' The duration of the blood pact. Examples could be "2 minutes" or "Instant".<br> | |||
'''MP:''' MP cost of the blood pact.<br> | |||
'''Notes:''' Where the editor can add any additional notes they feel necessary. Bullet points should be used for each note.<br> | |||
'''Changes:''' The editor should input the name of the blood pact and the template automatically fills any Horizon changes. It parses this from [[:Category:Horizon Changes]] so if it returns a blank, no changes are present, in which case the editor should leave the parameter blank.<br> | |||
'''Macro:''' Add an example macro syntax and any additional information. Use bullet points. | |||
== Examples == | |||
=== Example 1 === | |||
<div class="flex-container> | |||
<div class="flex-container-item-2> | |||
{{Blood Pact | |||
| description = Deals fire elemental damage to enemies within area of effect. | |||
| avatar = ifrit | |||
| type = rage | |||
| element = fire | |||
| skillchain = | |||
| magic burst = {{Fire|Liquefaction}}<br>{{Fusion|text}} | |||
| damage type = Magic | |||
| level = 1 | |||
| duration = Instant | |||
| mp = Requires twice your level in MP to activate this command, and upon use it consumes 100% of your MP. | |||
| notes = | |||
* This command is only available when [[Astral Flow]] is active. | |||
* Avatar's TP does not affect this ability. | |||
| changes = | |||
| macro = | |||
* /pet "Inferno" <t> | |||
}}</div> | |||
<div class="flex-container-item-2> | |||
<pre>{{Blood Pact | |||
| description = Deals fire elemental damage to enemies within area of effect. | |||
| avatar = Ifrit | |||
| type = Rage | |||
| element = Fire | |||
| skillchain = | |||
| magic burst = {{Fire|Liquefaction}}<br>{{Fusion|text}} | |||
| damage type = Magic | |||
| level = 1 | |||
| duration = Instant | |||
| mp = Requires twice your level in MP to activate this command, and upon use it consumes 100% of your MP. | |||
| notes = | |||
* This command is only available when [[Astral Flow]] is active. | |||
* Avatar's TP does not affect this ability. | |||
| changes = | |||
| macro = | |||
* /pet "Inferno" <t> | |||
}}</pre></div></div> | |||
=== Example 2 === | |||
<div class="flex-container> | |||
<div class="flex-container-item-2> | |||
{{Blood Pact | |||
|avatar = Ifrit | |||
|type = Rage | |||
|element = Fire | |||
|level = 1 | |||
|mp = 9 | |||
|duration = Instant | |||
|description = Delivers a single-hit attack on target. | |||
| skillchain = {{Fire|Liquefaction}} | |||
*''Opens:'' {{Earth|Scission}}, {{Fusion|text}} | |||
*''Closes:'' {{Fire|Liquefaction}} | |||
| magic burst = | |||
| damage type = blunt | |||
| notes = | |||
* Consumes TP on activation. | |||
* Effective against: [[:Category:Corses|Corses]], [[:Category:Skeletons|Skeletons]], and [[:Category:Magic Pots|Magic Pots]]. | |||
| changes = | |||
| macro = * /pet "Punch" <t> | |||
}}</div> | |||
<div class="flex-container-item-2> | |||
<pre>{{Blood Pact | |||
|avatar = Ifrit | |||
|type = Rage | |||
|element = Fire | |||
|level = 1 | |||
|mp = 9 | |||
|duration = Instant | |||
|description = Delivers a single-hit attack on target. | |||
| skillchain = {{Fire|Liquefaction}} | |||
*''Opens:'' {{Earth|Scission}}, {{Fusion|text}} | |||
*''Closes:'' {{Fire|Liquefaction}} | |||
| magic burst = | |||
| damage type = blunt | |||
| notes = | |||
* Consumes TP on activation. | |||
* Effective against: [[:Category:Corses|Corses]], [[:Category:Skeletons|Skeletons]], and [[:Category:Magic Pots|Magic Pots]]. | |||
| changes = | |||
| macro = * /pet "Punch" <t> | |||
}}</pre></div><div> |
Latest revision as of 20:47, 17 February 2025
This template is for use on Blood Pact pages.
Usage
{{Blood Pact | description = | avatar = | type = | element = | skillchain = | magic burst = | damage type = | level = | duration = | mp = | notes = | changes = | macro = }}
description: This is the in-game description of the blood pact.
avatar: Name of the avatar.
type: The blood pacts type. Accepts both "rage" and "ward.
element: The blood pacts element. The parameter accepts all 8 elements and then the template then applies the necessary formatting.
skillchain: The skillchain properties that this blood pact has. This parameter accepts whatever input the user gives.
magic burst: The skillchains that this blood pact can magic burst off. This parameter accepts whatever input the user gives.
damage type: The damage type of the blood pact. The parameter accepts "blunt", "magic", "piercing" and "slashing". Also accepts "aoe" and "ranged" variants off them all eg. "aoe blunt" or "ranged magical".
Level: The level the blood pact is unlocked eg. "30".
Duration: The duration of the blood pact. Examples could be "2 minutes" or "Instant".
MP: MP cost of the blood pact.
Notes: Where the editor can add any additional notes they feel necessary. Bullet points should be used for each note.
Changes: The editor should input the name of the blood pact and the template automatically fills any Horizon changes. It parses this from Category:Horizon Changes so if it returns a blank, no changes are present, in which case the editor should leave the parameter blank.
Macro: Add an example macro syntax and any additional information. Use bullet points.
Examples
Example 1
Blood Pact | |
---|---|
Description: | Deals fire elemental damage to enemies within area of effect. |
Avatar: | Ifrit |
Blood Pact Type: | Rage |
Element: | Fire |
Magic Burst: | Liquefaction Fusion |
Damage Type: | Magic |
Level: | 1 |
Duration: | Instant |
MP Cost: | Requires twice your level in MP to activate this command, and upon use it consumes 100% of your MP. |
Notes
|
Horizon Changes
none
|
Macro Syntax
|
{{Blood Pact | description = Deals fire elemental damage to enemies within area of effect. | avatar = Ifrit | type = Rage | element = Fire | skillchain = | magic burst = {{Fire|Liquefaction}}<br>{{Fusion|text}} | damage type = Magic | level = 1 | duration = Instant | mp = Requires twice your level in MP to activate this command, and upon use it consumes 100% of your MP. | notes = * This command is only available when [[Astral Flow]] is active. * Avatar's TP does not affect this ability. | changes = | macro = * /pet "Inferno" <t> }}
Example 2
Blood Pact | |
---|---|
Description: | Delivers a single-hit attack on target. |
Avatar: | Ifrit |
Blood Pact Type: | Rage |
Element: | Fire |
Skillchain Properties: | Liquefaction
|
Damage Type: | Blunt |
Level: | 1 |
Duration: | Instant |
MP Cost: | 9 |
Notes
|
Horizon Changes
none
|
Macro Syntax
|
{{Blood Pact |avatar = Ifrit |type = Rage |element = Fire |level = 1 |mp = 9 |duration = Instant |description = Delivers a single-hit attack on target. | skillchain = {{Fire|Liquefaction}} *''Opens:'' {{Earth|Scission}}, {{Fusion|text}} *''Closes:'' {{Fire|Liquefaction}} | magic burst = | damage type = blunt | notes = * Consumes TP on activation. * Effective against: [[:Category:Corses|Corses]], [[:Category:Skeletons|Skeletons]], and [[:Category:Magic Pots|Magic Pots]]. | changes = | macro = * /pet "Punch" <t> }}