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 Twitter (X) or Tumblr!

Template:SupportDataGBA: Difference between revisions

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
mNo edit summary
No edit summary
 
(32 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{|width="550px" align="left" style="{{round}}; background:#E5D99C; border:2px solid #B07838; text-align:center"
{| class="wikitable pixel-art round" style="background: {{Color3}}; border-width: 2px; text-align: center; width: 590px; border-collapse: separate; padding: 0"
| class="roundl" style="border-width: 2px" | [[{{{char1article|{{{char1}}}}}}|{{{char1}}}]]
| colspan="2" style="display: table-cell; border: none; transform: scaleX(-1);" | [[File:Portrait {{lc:{{{char1}}}}} fe{{{game#}}}.png]]
| style="border: none" | Initial: {{{initial}}}<br>Per turn: +{{{plus}}}<br>[[File:Is gba {{{affin1}}}affin.png]] × [[File:Is gba {{{affin2}}}affin.png]]
| colspan="2" style="border: none" | [[File:Portrait {{lc:{{{char2}}}}} fe{{{game#}}}.png]]
| class="roundr" style="border-width: 2px" | [[{{{char2article|{{{char2}}}}}}|{{{char2}}}]]
|-
|-
| style="{{roundl}}; background:#E5D99C; border:2px solid #B07838; text-align:center" | [[{{{char1}}}]]
! class="roundtl" style="width: 20%" | Support Level
| colspan="2" | [[File:Portrait {{lc:{{{char1}}}}} fe{{{game#}}}.png]]
! Attack{{#vardefine:Atk|{{#expr:{{Affin|GBA|{{{affin1}}}|atk}} + {{Affin|GBA|{{{affin2}}}|atk}}}}}}
| Initial: {{{initial}}}<br>Per turn: +{{{plus}}}<br>[[File:Is gba {{{affin1}}}affin.png]] x [[File:Is gba {{{affin2}}}affin.png]]
! Defense{{#vardefine:Def|{{#expr:{{Affin|GBA|{{{affin1}}}|def}} + {{Affin|GBA|{{{affin2}}}|def}}}}}}
| colspan="2" | [[File:Portrait {{lc:{{{char2}}}}} fe{{{game#}}}.png]]
! Hit{{#vardefine:Hit|{{#expr:{{Affin|GBA|{{{affin1}}}|hit}} + {{Affin|GBA|{{{affin2}}}|hit}}}}}}
| style="{{roundr}}; background:#E5D99C; border:2px solid #B07838; text-align:center" | [[{{{char2}}}]]
! Avoid{{#vardefine:Avo|{{#expr:{{Affin|GBA|{{{affin1}}}|avo}} + {{Affin|GBA|{{{affin2}}}|avo}}}}}}
! Critical{{#vardefine:Crt|{{#expr:{{Affin|GBA|{{{affin1}}}|crit}} + {{Affin|GBA|{{{affin2}}}|crit}}}}}}
! class="roundtr" | Dodge{{#vardefine:Ddg|{{#expr:{{Affin|GBA|{{{affin1}}}|ddg}} + {{Affin|GBA|{{{affin2}}}|ddg}}}}}}
|-
|-
!style="{{roundtl}}; border:1px solid #e88a2c; background-color:#B07838; color:#fff" | Support Level
! C
!style="border:1px solid #e88a2c; background-color:#B07838; color:#fff" | Attack
| {{#expr:floor({{#var:Atk}}*0.5)}}
!style="border:1px solid #e88a2c; background-color:#B07838; color:#fff" | Defense
| {{#expr:floor({{#var:Def}}*0.5)}}
!style="border:1px solid #e88a2c; background-color:#B07838; color:#fff" | Accuracy
| {{#expr:floor({{#var:Hit}}*0.5)}}
!style="border:1px solid #e88a2c; background-color:#B07838; color:#fff" | Avoid
| {{#expr:floor({{#var:Avo}}*0.5)}}
!style="border:1px solid #e88a2c; background-color:#B07838; color:#fff" | Critical
| {{#expr:floor({{#var:Crt}}*0.5)}}
!style="{{roundtr}}; border:1px solid #e88a2c; background-color:#B07838; color:#fff" | Critical Evade
| {{#expr:floor({{#var:Ddg}}*0.5)}}
|- 
|style="border:1px solid #B07838; background-color:#fff; width: 20%" | '''C'''
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=1 | 2=0 | 3=1 | 4=0 | 5=0 | 6=1 | 7=1 | 8=0 | 9=0 | 10=0 | 11=0 | 12=0 | 13=0 | 14=1 | 15=0 | 16=0 | 17=1 | 18=1 | 19=0 | 20=0 | 21=0 | 22=0 | 23=0 | 24=0 | 25=0 | 26=1 | 27=1 | 28=1 |}}
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=0 | 2=0 | 3=0 | 4=0 | 5=0 | 6=0 | 7=0 | 8=1 | 9=0 | 10=1 | 11=0 | 12=1 | 13=1 | 14=0 | 15=0 | 16=0 | 17=0 | 18=0 | 19=1 | 20=0 | 21=1 | 22=1 | 23=0 | 24=0 | 25=0 | 26=1 | 27=1 | 28=1 |}}
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=5 | 2=2 | 3=5 | 4=5 | 5=5 | 6=5 | 7=2 | 8=0 | 9=2 | 10=2 | 11=2 | 12=2 | 13=0 | 14=5 | 15=5 | 16=5 | 17=5 | 18=2 | 19=5 | 20=5 | 21=5 | 22=2 | 23=5 | 24=5 | 25=2 | 26=2 | 27=2 | 28=0 |}}
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=5 | 2=5 | 3=2 | 4=5 | 5=5 | 6=2 | 7=5 | 8=5 | 9=2 | 10=5 | 11=5 | 12=2 | 13=5 | 14=0 | 15=2 | 16=2 | 17=0 | 18=2 | 19=5 | 20=5 | 21=2 | 22=5 | 23=5 | 24=2 | 25=5 | 26=0 | 27=2 | 28=5 |}}
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}} |1=5 | 2=5 | 3=5 | 4=2 | 5=5 | 6=5 | 7=2 | 8=5 | 9=5 | 10=2 | 11=5 | 12=5 | 13=2 | 14=5 | 15=2 | 16=5 | 17=5 | 18=2 | 19=0 | 20=2 | 21=2 | 22=0 | 23=5 | 24=5 | 25=2 | 26=5 | 27=2 | 28=0 |}}
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=0 | 2=2 | 3=2 | 4=2 | 5=2 | 6=0 | 7=2 | 8=5 | 9=5 | 10=5 | 11=5 | 12=2 | 13=5 | 14=5 | 15=5 | 16=5 | 17=2 | 18=5 | 19=5 | 20=5 | 21=2 | 22=5 | 23=5 | 24=2 | 25=5 | 26=0 | 27=2 | 28=5 |}}
|-
|-
|style="border:1px solid #B07838; background-color:#fff" |'''B'''
! B
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=2 | 2=1 | 3=2 | 4=1 | 5=1 | 6=2 | 7=2 | 8=0 | 9=1 | 10=0 | 11=0 | 12=1 | 13=1 | 14=2 | 15=1 | 16=1 | 17=2 | 18=2 | 19=0 | 20=0 | 21=1 | 22=1 | 23=0 | 24=1 | 25=1 | 26=2 | 27=2 | 28=2 |}}
| {{#expr:floor({{#var:Atk}})}}
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=0 | 2=1 | 3=0 | 4=1 | 5=0 | 6=1 | 7=1 | 8=2 | 9=1 | 10=2 | 11=1 | 12=2 | 13=2 | 14=0 | 15=1 | 16=0 | 17=1 | 18=1 | 19=2 | 20=1 | 21=2 | 22=2 | 23=0 | 24=1 | 25=1 | 26=2 | 27=2 | 28=2 |}}
| {{#expr:floor({{#var:Def}})}}
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=10 | 2=5 | 3=10 | 4=10 | 5=10 | 6=10 | 7=5 | 8=0 | 9=5 | 10=5 | 11=5 | 12=5 | 13=0 | 14=10 | 15=10 | 16=10 | 17=10 | 18=5 | 19=10 | 20=10 | 21=10 | 22=5 | 23=10 | 24=10 | 25=5 | 26=5 | 27=5 | 28=0 |}}
| {{#expr:floor({{#var:Hit}})}}
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=10 | 2=10 | 3=5 | 4=10 | 5=10 | 6=5 | 7=10 | 8=10 | 9=5 | 10=10 | 11=10 | 12=5 | 13=10 | 14=0 | 15=5 | 16=5 | 17=0 | 18=5 | 19=10 | 20=5 | 21=5 | 22=10 | 23=10 | 24=5 | 25=10 | 26=0 | 27=5 | 28=10 |}}
| {{#expr:floor({{#var:Avo}})}}
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}} |1=10 | 2=10 | 3=10 | 4=5 | 5=10 | 6=10 | 7=5 | 8=10 | 9=10 | 10=5 | 11=10 | 12=10 | 13=5 | 14=10 | 15=5 | 16=10 | 17=10 | 18=5 | 19=0 | 20=5 | 21=5 | 22=0 | 23=10 | 24=10 | 25=5 | 26=10 | 27=5 | 28=0 |}}
| {{#expr:floor({{#var:Crt}})}}
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=0 | 2=5 | 3=5 | 4=5 | 5=5 | 6=0 | 7=5 | 8=10 | 9=10 | 10=10 | 11=10 | 12=5 | 13=10 | 14=10 | 15=10 | 16=10 | 17=5 | 18=10 | 19=10 | 20=10 | 21=5 | 22=10 | 23=10 | 24=5 | 25=10 | 26=0 | 27=5 | 28=10 |}}
| {{#expr:floor({{#var:Ddg}})}}
|-
|-
|style="{{#if: {{{ending|}}}| |{{roundbl}}; }}border:1px solid #B07838; background-color:#fff" |'''A'''
! class="{{#if: {{{ending|}}}| |roundbl}}" | A
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=3 | 2=1 | 3=3 | 4=1 | 5=1 | 6=3 | 7=3 | 8=0 | 9=1 | 10=0 | 11=0 | 12=1 | 13=1 | 14=3 | 15=1 | 16=1 | 17=3 | 18=3 | 19=0 | 20=0 | 21=1 | 22=1 | 23=0 | 24=1 | 25=1 | 26=3 | 27=3 | 28=3 |}}
| {{#expr:floor({{#var:Atk}}*1.5)}}
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=0 | 2=1 | 3=0 | 4=1 | 5=0 | 6=1 | 7=1 | 8=3 | 9=1 | 10=3 | 11=1 | 12=3 | 13=3 | 14=0 | 15=1 | 16=0 | 17=1 | 18=1 | 19=3 | 20=1 | 21=3 | 22=3 | 23=0 | 24=1 | 25=1 | 26=3 | 27=3 | 28=3 |}}
| {{#expr:floor({{#var:Def}}*1.5)}}
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=15 | 2=7 | 3=15 | 4=15 | 5=15 | 6=15 | 7=7 | 8=0 | 9=7 | 10=7 | 11=7 | 12=7 | 13=0 | 14=15 | 15=15 | 16=15 | 17=15 | 18=7 | 19=15 | 20=15 | 21=15 | 22=7 | 23=15 | 24=15 | 25=7 | 26=7 | 27=7 | 28=0 |}}
| {{#expr:floor({{#var:Hit}}*1.5)}}
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=15 | 2=15 | 3=7 | 4=15 | 5=15 | 6=7 | 7=15 | 8=15 | 9=7 | 10=15 | 11=15 | 12=7 | 13=15 | 14=0 | 15=7 | 16=7 | 17=0 | 18=7 | 19=15 | 20=7 | 21=7 | 22=15 | 23=15 | 24=7 | 25=15 | 26=0 | 27=7 | 28=15 |}}
| {{#expr:floor({{#var:Avo}}*1.5)}}
|style="border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}} |1=15 | 2=15 | 3=15 | 4=7 | 5=15 | 6=15 | 7=7 | 8=15 | 9=15 | 10=7 | 11=15 | 12=15 | 13=7 | 14=15 | 15=7 | 16=15 | 17=15 | 18=7 | 19=0 | 20=7 | 21=7 | 22=0 | 23=15 | 24=15 | 25=7 | 26=15 | 27=7 | 28=0 |}}
| {{#expr:floor({{#var:Crt}}*1.5)}}
|style="{{#if: {{{ending|}}}| |{{roundbr}}; }}border:1px solid #B07838; background-color:#fff" | {{#switch: {{{type|1}}}| 1=0 | 2=7 | 3=7 | 4=7 | 5=7 | 6=0 | 7=7 | 8=15 | 9=15 | 10=15 | 11=15 | 12=7 | 13=15 | 14=15 | 15=15 | 16=15 | 17=7 | 18=15 | 19=15 | 20=15 | 21=7 | 22=15 | 23=15 | 24=7 | 25=15 | 26=0 | 27=7 | 28=15 |}}
| class="{{#if: {{{ending|}}}| |roundbr}}" | {{#expr:floor({{#var:Ddg}}*1.5)}}
|-
|-
{{#if: {{{ending|}}}|
{{#if: {{{ending|}}}|
{{!}}style="{{roundbl}}; border:1px solid #e88a2c; background-color:#B07838; color:#fff"{{!}} '''Ending'''
! class="roundbl" {{!}} Ending
{{!}}colspan=6 style="{{roundbr}}; border:1px solid #B07838; background-color:#fff" {{!}} Father and son returned to Ide, where they toiled together to rebuild their village. Ross grew to become a greater warrior than even his father. When he himself had a son, that child continued his family's legacy. | }}
{{!}} class="roundbr" colspan=6 {{!}} {{{ending}}} }}
|}<noinclude>
|}<noinclude>
{{clear}}
==Usage==
Use this template on character's support pages, such as [[Eirika/Supports]]. Most of the fields are pretty self-explanatory. The {{{type}}} field corresponds to the matchup of affinities, which follows this chart:


Type 1: Fire x Fire
{{doc}}</noinclude>
 
Type 2: Fire x Thunder
 
Type 3: Fire x Wind
 
Type 4: Fire x Ice
 
Type 5: Fire x Dark
 
Type 6: Fire x Light
 
Type 7: Fire x Anima
 
Type 8: Thunder x Thunder
 
Type 9: Thunder x Wind
 
Type 10: Thunder x Ice
 
Type 11: Thunder x Dark
 
Type 12: Thunder x Light
 
Type 13: Thunder x Anima
 
Type 14: Wind x Wind
 
Type 15: Wind x Ice
 
Type 16: Wind x Dark
 
Type 17: Wind x Light
 
Type 18: Wind x Anima
 
Type 19: Ice x Ice
 
Type 20: Ice x Dark
 
Type 21: Ice x Light
 
Type 22: Ice x Anima
 
Type 23: Dark x Dark
 
Type 24: Dark x Light
 
Type 25: Dark x Anima
 
Type 26: Light x Light
 
Type 27: Light x Anima
 
Type 28: Anima x Anima
 
Find the pair of affinities on this chart, then enter the number in the {{{type}}} field. The template will enter in the correct numbers from that information. The template is also coded to enter appropriate sprites and portraits.
 
<pre>
{{SupportData
|char1=First character's name
|affin1=First character's affinity
|char2=Second character's name
|affin2=Second character's affinity
|initial=Initial support points
|plus=Support points added per turn
|game#=Game number in the series (i.e. 08 for The Sacred Stones, etc.)
|type=Affinity matchup, (e.g. 1, 2, 3, etc. See chart above.)
|ending=Character's paired ending, if exists.
}}
</pre>
</noinclude>

Latest revision as of 16:09, 24 May 2023

[[{{{char1}}}|{{{char1}}}]] [[File:Portrait {{{char1}}} fe{{{game#}}}.png]] Initial: {{{initial}}}
Per turn: +{{{plus}}}
[[File:Is gba {{{affin1}}}affin.png]] × [[File:Is gba {{{affin2}}}affin.png]]
[[File:Portrait {{{char2}}} fe{{{game#}}}.png]] [[{{{char2}}}|{{{char2}}}]]
Support Level Attack Defense Hit Avoid Critical Dodge
C Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator.
B Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator.
A Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator.

Usage

Use this template on character's support pages, such as Eirika/Supports. Most of the fields are pretty self-explanatory. The template is also coded to enter appropriate sprites and portraits.

{{SupportDataGBA
|char1=First character's name
|affin1=First character's affinity
|char2=Second character's name
|affin2=Second character's affinity
|initial=Initial support points
|plus=Support points added per turn
|game#=Game number in the series (e.g. 08 for The Sacred Stones)
|ending=Character's paired ending, if exists.
}}