Template:Blood Pact: Difference between revisions

From HorizonXI Wiki
Tag: visualeditor-wikitext
(updated template to have some formatting. is now inline with other templates such as "Template:Job Ability".)
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}
| 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__
<h2> Blood Pact </h2>
{|
|-
| {{{description|}}}
|-
| '''Avatar:''' [[{{#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=
}}|}}]]
|- 
| '''Blood Pact Type:''' [[Blood Pact: {{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}
| rage = Rage | ward = Ward |#default= }}|}}|
{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}
| rage = Rage | ward = Ward |#default= }}|}}]]
|-
| '''Element:''' {{#if:{{{element|}}}|{{#switch:{{lc:{{{element}}}}}
| light = {{Light|Element}}
| dark = {{Dark|Element}}
| water = {{Water|Element}}
| lightning = {{Lightning|Element}}
| earth = {{Earth|Element}}
| wind = {{Wind|Element}}
| ice = {{Ice|Element}}
| fire = {{Fire|Element}}
|#default=
}}|}}
|-
| '''Level Obtained:''' {{{level|}}}
|-
| {{#if: {{{duration|}}} | '''Duration:''' {{{duration}}}|}}
|-
| '''MP Cost:''' {{{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|}}}
|}<!--


'''Avatar:'''  {{{avatar}}}
-->{{categorize|{{{1|}}}|<!--
-->[[Category:Job Abilities]]<!--
-->}}</onlyinclude></includeonly>


'''Blood Pact Type:''' {{{type}}}
This template is for use on [[:Category:Blood Pact|Blood Pact]] pages.
== Usage ==
<pre>{{Blood Pact
| description =
| avatar =
| type =
| element =
| level =
| duration =
| mp =
| notes =
| changes =
| macro =
}}</pre>


'''Element:''' {{{element}}}
'''Description:''' This is the in-game description of the blood pact.<br>
'''Avatar:''' Name of the avatar.<br>
'''Type:''' The blood pacts type eg. "rage" or "ward.<br>
'''Element:''' The blood pacts element eg. "light".<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.


'''Level Obtained:''' {{{level}}}
== Example ==
 
<pre>{{Blood Pact
'''MP Cost:''' {{{mp}}}
| description = Deals fire elemental damage to enemies within area of effect.
 
| avatar = Ifrit
'''Duration:''' {{{duration}}}
| type = Rage
 
| element = Fire
'''Description:''' {{{description}}}
| 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.
* Has the [[skillchain]] properties of [[liquefaction]] and [[fusion]].
| changes =
| macro =
* /pet Inferno <t>
}}</pre>
'''Results in...'''
{{Blood Pact
| description = Deals fire elemental damage to enemies within area of effect.
| avatar = ifrit
| type = rage
| element = fire
| 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.
* Has the [[skillchain]] properties of [[liquefaction]] and [[fusion]].
| changes =
| macro =
* /pet Inferno <t>
}}
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 16:26, 20 January 2025


This template is for use on Blood Pact pages.

Usage

{{Blood Pact
| description = 
| avatar =
| type = 
| element = 
| 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 eg. "rage" or "ward.
Element: The blood pacts element eg. "light".
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.

Example

{{Blood Pact
| description = Deals fire elemental damage to enemies within area of effect.
| avatar = Ifrit
| type = Rage
| element = Fire
| 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.
* Has the [[skillchain]] properties of [[liquefaction]] and [[fusion]].
| changes = 
| macro = 
* /pet Inferno <t>
}}

Results in...

Blood Pact

Deals fire elemental damage to enemies within area of effect.
Avatar: Ifrit
Blood Pact Type: Rage
Element: Fire
Level Obtained: 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 HorizonXI specific changes

none

Macro Syntax

  • /pet Inferno <t>