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:PromotionGains: Difference between revisions

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
m (Set background at rows and text align at table header, rather than in every cell.)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="cellpadding-3" style="border-spacing: 4px; {{round|20px}} border:2px solid {{Color2}}; background: {{Color3}}; margin: auto; text-align: center"
{| class="cellpadding-3 chapter-table" style="border-spacing: 4px; border-radius: 20px; border-width: 2px"
|- style="background: {{Color1}}"
! class="roundtl" style="width: 100px" |Class
! width=100px style="{{roundtl}} border:1px solid {{Color2}}" |Class
! style="width: 35px" |HP{{#if:{{{str|}}}|
! width=35px style="border:1px solid {{Color2}}" |HP
!! style="width: 35px" {{!}}Str}}{{#if:{{{mag|}}}|
{{#if:{{{str|}}}|
!! style="width: 35px" {{!}}Mag}}
! width=35px style="border:1px solid {{Color2}}" {{!}}Str}}
! style="width: 35px" |Skill
{{#if:{{{mag|}}}|
! style="width: 35px" |Spd
! width=35px style="border:1px solid {{Color2}}" {{!}}Mag}}
! style="width: 35px" |Lck
! width=35px style="border:1px solid {{Color2}}" |Skill
! style="width: 35px" |Def{{#if:{{{res|}}}|
! width=35px style="border:1px solid {{Color2}}" |Spd
!! style="width: 35px" {{!}}Res}}{{#if:{{{con|}}}|
! width=35px style="border:1px solid {{Color2}}" |Lck
!! style="width: 35px" {{!}}Con}}
! width=35px style="border:1px solid {{Color2}}" |Def
! style="width: 35px" |Mov{{#if:{{{skills|}}}|
{{#if:{{{res|}}}|
!! Skills}}
! width=35px style="border:1px solid {{Color2}}" {{!}}Res}}
! class="roundtr" |Weapon level
{{#if:{{{con|}}}|
|-
! width=35px style="border:1px solid {{Color2}}" {{!}}Con}}
! width=35px style="border:1px solid {{Color2}}" |Mov
{{#if:{{{skills|}}}|
! style="border:1px solid {{Color2}}"  {{!}}Skills}}
! style="{{roundtr}} border:1px solid {{Color2}}" |Weapon level
|- style="background: {{Color1}}"
{{#if:{{{class1|}}}|
{{#if:{{{class1|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{class1}}}
{{!}} {{{class1}}}
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{hp1+|+}}}{{{hp1}}}
{{!}} {{{hp1+|+}}}{{{hp1}}}{{#if:{{{str1|}}}|
{{#if:{{{str1|}}}|
{{!}}{{!}} {{{str1+|+}}}{{{str1|}}}}}{{#if:{{{mag1|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{str1+|+}}}{{{str1|}}}}}
{{!}}{{!}} {{{mag1+|+}}}{{{mag1|}}}}}
{{#if:{{{mag1|}}}|
{{!}} {{{skill1+|+}}}{{{skill1}}}
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{mag1+|+}}}{{{mag1|}}}}}
{{!}} {{{spd1+|+}}}{{{spd1}}}
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{skill1+|+}}}{{{skill1}}}
{{!}} {{{lck1+|+}}}{{{lck1|0}}}
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{spd1+|+}}}{{{spd1}}}
{{!}} {{{def1+|+}}}{{{def1}}}{{#if:{{{res1|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{lck1+|+}}}{{{lck1|0}}}
{{!}}{{!}} {{{res1+|+}}}{{{res1|}}}}}{{#if:{{{con1|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{def1+|+}}}{{{def1}}}
{{!}}{{!}} {{{con1+|+}}}{{{con1|}}}}}
{{#if:{{{res1|}}}|
{{!}} {{{move1+|+}}}{{{move1}}}{{#if:{{{skills1|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{res1+|+}}}{{{res1|}}}}}
{{!}}{{!}} {{{skills1|}}}}}
{{#if:{{{con1|}}}|
{{!}} {{{weaponlvl1}}}}}
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{con1+|+}}}{{{con1|}}}}}
|-
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{move1+|+}}}{{{move1}}}
{{#if:{{{skills1|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{skills1|}}}}}
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{weaponlvl1}}}}}
|- style="background: {{Color1}}"
{{#if:{{{class2|}}}|
{{#if:{{{class2|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{class2}}}
{{!}} {{{class2}}}
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{hp2+|+}}}{{{hp2}}}
{{!}} {{{hp2+|+}}}{{{hp2}}}{{#if:{{{str2|}}}|
{{#if:{{{str2|}}}|
{{!}}{{!}} {{{str2+|+}}}{{{str2|}}}}}{{#if:{{{mag2|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{str2+|+}}}{{{str2|}}}}}
{{!}}{{!}} {{{mag2+|+}}}{{{mag2|}}}}}
{{#if:{{{mag2|}}}|
{{!}} {{{skill2+|+}}}{{{skill2}}}
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{mag2+|+}}}{{{mag2|}}}}}
{{!}} {{{spd2+|+}}}{{{spd2}}}
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{skill2+|+}}}{{{skill2}}}
{{!}} {{{lck2+|+}}}{{{lck2|0}}}
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{spd2+|+}}}{{{spd2}}}
{{!}} {{{def2+|+}}}{{{def2}}}{{#if:{{{res2|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{lck2+|+}}}{{{lck2|0}}}
{{!}}{{!}} {{{res2+|+}}}{{{res2|}}}}}{{#if:{{{con2|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{def2+|+}}}{{{def2}}}
{{!}}{{!}} {{{con2+|+}}}{{{con2|}}}}}
{{#if:{{{res2|}}}|
{{!}} {{{move2+|+}}}{{{move2}}}{{#if:{{{skills2|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{res2+|+}}}{{{res2|}}}}}
{{!}}{{!}} {{{skills2|}}}}}
{{#if:{{{con2|}}}|
{{!}} {{{weaponlvl2}}}}}
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{con2+|+}}}{{{con2|}}}}}
|-
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{move2+|+}}}{{{move2}}}
| class="roundbl" | {{{class}}}
{{#if:{{{skills2|}}}|
| {{{hp+|+}}}{{{hp}}}{{#if:{{{str|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{skills2|}}}}}
{{!}}{{!}} {{{str+|+}}}{{{str|}}}}}{{#if:{{{mag|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{weaponlvl2}}}}}
{{!}}{{!}} {{{mag+|+}}}{{{mag|}}}}}
|- style="background: {{Color1}}"
| {{{skill+|+}}}{{{skill}}}
| style="{{roundbl}} border:1px solid {{Color2}}" | {{{class}}}
| {{{spd+|+}}}{{{spd}}}
| style="border:1px solid {{Color2}}" | {{{hp+|+}}}{{{hp}}}
| {{{lck+|+}}}{{{lck|0}}}
{{#if:{{{str|}}}|
| {{{def+|+}}}{{{def}}}{{#if:{{{res|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{str+|+}}}{{{str|}}}}}
{{!}}{{!}} {{{res+|+}}}{{{res|}}}}}{{#if:{{{con|}}}|
{{#if:{{{mag|}}}|
{{!}}{{!}} {{{con+|+}}}{{{con|}}}}}
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{mag+|+}}}{{{mag|}}}}}
| {{{move+|+}}}{{{move}}}{{#if:{{{skills|}}}|
| style="border:1px solid {{Color2}}" | {{{skill+|+}}}{{{skill}}}
{{!}}{{!}} {{{skills|}}}}}
| style="border:1px solid {{Color2}}" | {{{spd+|+}}}{{{spd}}}
| class="roundbr" | {{{weaponlvl}}}
| style="border:1px solid {{Color2}}" | {{{lck+|+}}}{{{lck|0}}}
| style="border:1px solid {{Color2}}" | {{{def+|+}}}{{{def}}}
{{#if:{{{res|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{res+|+}}}{{{res|}}}}}
{{#if:{{{con|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{con+|+}}}{{{con|}}}}}
| style="border:1px solid {{Color2}}" | {{{move+|+}}}{{{move}}}
{{#if:{{{skills|}}}|
{{!}} style="border:1px solid {{Color2}}" {{!}} {{{skills|}}}}}
| style="{{roundbr}} border:1px solid {{Color2}}" | {{{weaponlvl}}}
|}<noinclude>
|}<noinclude>
==Usage==
For promotion stat gains. In the weaponlvl field, use templates such as <nowiki>{{SwordGBA}}</nowiki>, with the corresponding weapon type and platform.
The coding should look like this:
<pre>
{{SwordGBA}} A {{LanceGBA}} B
</pre>
And the result will look like this:


{{SwordGBA}} A {{LanceGBA}} B
{{doc}}</noinclude>
<pre>
{{PromotionGains
|class=
|hp=
|str=
|mag=
|skill=
|spd=
|lck=
|def=
|res=
|con=
|move=
|weaponlvl=
}}
</pre>
[[Category:Stat templates]]
</noinclude>

Latest revision as of 15:49, 24 May 2023

Class HP Skill Spd Lck Def Mov Weapon level
{{{class}}} +{{{hp}}} +{{{skill}}} +{{{spd}}} +0 +{{{def}}} +{{{move}}} {{{weaponlvl}}}

Usage

For promotion stat gains. In the weaponlvl field, use templates such as {{SwordGBA}}, with the corresponding weapon type and platform.

The coding should look like this:

{{SwordGBA}} A {{LanceGBA}} B

And the result will look like this: Swords A Lances B

{{PromotionGains
|class=
|hp=
|str=
|mag=
|skill=
|spd=
|lck=
|def=
|res=
|con=
|move=
|weaponlvl=
}}