Template:Blood Pact: Difference between revisions
(trialing) |
(changed to infobox with notes, changes and macro syntax sections) |
||
| Line 12: | Line 12: | ||
}}</pre>}}__NOTOC__ | }}</pre>}}__NOTOC__ | ||
{| class="table-xs horizon-table | {| class="table-xs horizon-table no-borders" style="border: 1px solid black"; | ||
! colspan=2 style="text-align:center;" | {{PAGENAME}} | ! colspan=2 style="text-align:center; border: 1px solid black;" BGCOLOR="#afc7cf"; | {{PAGENAME}} | ||
|- | |- | ||
|width="30%" BGCOLOR="#dfe9ec" | '''Description:''' | |width="30%" BGCOLOR="#dfe9ec"; | '''Description:''' | ||
|width="70%" | | |width="70%" BGCOLOR="#eff4f5"; | {{{description|}}} | ||
|- | |- | ||
| BGCOLOR="#dfe9ec" | ''' | | BGCOLOR="#dfe9ec" | '''Avatar:''' | ||
| BGCOLOR="#eff4f5" | [[{{#if:{{{avatar|}}}|{{#switch:{{lc:{{{avatar}}}}} | |||
| BGCOLOR="# | |||
| ifrit = Ifrit | | ifrit = Ifrit | ||
| shiva = Shiva | | shiva = Shiva | ||
| Line 55: | Line 34: | ||
|#default= | |#default= | ||
}}|}}]] | }}|}}]] | ||
|- | |- | ||
| ''' | | BGCOLOR="#dfe9ec" | '''Type:''' | ||
| BGCOLOR="#eff4f5" | [[Blood Pact: {{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}} | |||
| rage = Rage | ward = Ward |#default= }}|}}| | | rage = Rage | ward = Ward |#default= }}|}}| | ||
{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}} | {{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}} | ||
| rage = Rage | ward = Ward |#default= }}|}}]] | | rage = Rage | ward = Ward |#default= }}|}}]] | ||
|- | |- | ||
| '''Element:''' {{#if:{{{element|}}}|{{#switch:{{lc:{{{element}}}}} | | BGCOLOR="#dfe9ec" |'''Element:''' | ||
| BGCOLOR="#eff4f5" | {{#if:{{{element|}}}|{{#switch:{{lc:{{{element}}}}} | |||
| light = {{Light|Element}} | | light = {{Light|Element}} | ||
| dark = {{Dark|Element}} | | dark = {{Dark|Element}} | ||
| Line 72: | Line 53: | ||
|#default= | |#default= | ||
}}|}} | }}|}} | ||
|- | |- | ||
| '''Level | | BGCOLOR="#dfe9ec" | ''' Level:''' | ||
|- | | BGCOLOR="#eff4f5" | {{{level|}}} | ||
| {{#if: {{{duration|}}} | '''Duration:''' {{{duration}}}|}} | |- | ||
|- | | BGCOLOR="#dfe9ec" | {{#if: {{{duration|}}} | '''Duration:'''|}} | ||
| '''MP Cost:''' {{{mp|}}} | | BGCOLOR="#eff4f5" | {{#if: {{{duration|}}} | {{{duration}}}|}} | ||
|- | |||
| BGCOLOR="#dfe9ec" | '''MP Cost:''' | |||
| BGCOLOR="#eff4f5" | {{{mp|}}} | |||
|} | |} | ||
<h2> Notes </h2> | <h2> Notes </h2> | ||
{| | {| | ||
| Line 142: | Line 127: | ||
| changes = | | changes = | ||
| macro = | | macro = | ||
* /pet Inferno <t> | * /pet "Inferno" <t> | ||
}}</pre> | }}</pre> | ||
'''Results in...''' | '''Results in...''' | ||
| Line 159: | Line 144: | ||
| changes = | | changes = | ||
| macro = | | macro = | ||
* /pet Inferno <t> | * /pet "Inferno" <t> | ||
}} | }} | ||
<noinclude>[[Category:Templates]]</noinclude> | <noinclude>[[Category:Templates]]</noinclude> | ||
Revision as of 22:19, 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 | |
|---|---|
| Description: | Deals fire elemental damage to enemies within area of effect. |
| Avatar: | Ifrit |
| Type: | Rage |
| Element: | Fire |
| 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
|
