Site News |
---|
Warning: This wiki contains spoilers. Read at your own risk! Social media: If you would like, please join our Discord server, and/or follow us on X (Twitter) or Tumblr! |
Template:FE4 growth: Difference between revisions
mNo edit summary |
m (Text replacement - "FE(.*)\_growths" to "Growths_FE$1") |
||
Line 1: | Line 1: | ||
{{#expr: floor({{#if:{{{holyblood2|}}} | {{get| | {{#expr: floor({{#if:{{{holyblood2|}}} | {{get|Growths_FE4|{{{1}}}|{{{holyblood2|}}}}}{{#if:{{{major2|}}}|*2}} | 0}} + {{#if:{{{holyblood|}}} | {{get|Growths_FE4|{{{1}}}|{{{holyblood|}}}}}{{#if:{{{major|}}}|*2}} | 0}} + {{#if: {{{parent1|}}} | {{get|Growths_FE4|{{{1}}}|{{{parent1|}}}}} + {{get|Growths_FE4|{{{1}}}|{{{parent2|}}}}}/2 | {{get|Growths_FE4|{{{1}}}|{{{unit|{{ROOTPAGENAME}}}}}}}}})}}<noinclude> | ||
==Usage== | ==Usage== | ||
Type A: Units whose growths aren't inherited; example: Sigurd's strength - {{FE4 growth|str|unit=Sigurd|holyblood=Baldr|major=y}} | Type A: Units whose growths aren't inherited; example: Sigurd's strength - {{FE4 growth|str|unit=Sigurd|holyblood=Baldr|major=y}} |
Revision as of 22:37, 26 December 2020
Expression error: Unexpected < operator.
Usage
Type A: Units whose growths aren't inherited; example: Sigurd's strength - 50
{{FE4 growth|str|unit=Sigurd|holyblood=Baldr|major=y}}
Type B: Units whose growths are inherited; example: Seliph - 55
{{FE4 growth|str|parent1=Sigurd|parent2=Deirdre|holyblood=Baldr|major=y|holyblood2=Naga}}
The first parameter, the stat, can be hp
, str
, mag
, skl
, spd
, lck
, def
, or res
.
unit
defaults to root page name, and is also unnecessary for units whose growths are based on inheritance.
Don't include holyblood
or major
if the unit has no holy blood. If a unit has two holy blood types, also set holyblood2
and major2
parameters. If the unit only has minor holy blood, don't include major
(or major2
for a second holy blood type).
parent1
and parent2
are for inheritance. parent1
is for the parent with the same gender as the unit, and parent2
is the other one.