m (Eir's expression portraits don't match her Face_FC file.) |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 81: | Line 81: | ||
Table row: |
Table row: |
||
-->|align="center" style="height:{{#var:finalheight}}"|{{#if:{{{1|{{{heroimage|}}}}}}|{{#if:{{#var:useFull}}|<div style="width:{{#var:finalwidth}};height:{{#var:finalheight}};overflow:hidden;"><div style="position:relative;top:{{#var:top}};left:{{#var:left}};width:{{#var:basewidth}}">[[File:{{#var:filename}}|{{#var:basewidth}}|alt=]]</div></div>|[[File:{{#var:filename}}|76x79px|alt=]]<br />}}}}<span xml:lang="{{#var:lang}}" lang="{{#var:lang}}">{{#var:nameplate}}</span>||align="left" xml:lang="{{#var:lang}}" lang="{{#var:lang}}"|{{{2|{{{dialogue|}}}}}} |
-->|align="center" style="height:{{#var:finalheight}}"|{{#if:{{{1|{{{heroimage|}}}}}}|{{#if:{{#var:useFull}}|<div style="width:{{#var:finalwidth}};height:{{#var:finalheight}};overflow:hidden;"><div style="position:relative;top:{{#var:top}};left:{{#var:left}};width:{{#var:basewidth}}">[[File:{{#var:filename}}|{{#var:basewidth}}|alt=]]</div></div>|[[File:{{#var:filename}}|76x79px|alt=]]<br />}}}}<span xml:lang="{{#var:lang}}" lang="{{#var:lang}}">{{#var:nameplate}}</span>||align="left" xml:lang="{{#var:lang}}" lang="{{#var:lang}}"|{{{2|{{{dialogue|}}}}}} |
||
+ | |- |
||
− | |-</includeonly><noinclude> |
||
+ | {{#if:{{{dialogue|}}}|{{#ifeq:{{{dialogue}}}|{{{dialogue|}}}|[[Category:Pages with no story dialogue]]|[[Category:Pages with story dialogue]]}}</includeonly><noinclude> |
||
{{#cargo_declare:_table=HeroStory |
{{#cargo_declare:_table=HeroStory |
||
|Appearance=Page |
|Appearance=Page |
Revision as of 02:31, 31 December 2018
This template defines the table "HeroStory".
With access to the game files, Module:ScenarioArchiveToWiki can be used to convert the code in the data files for story events into the wiki's format, which uses several story related template. Please see the documentation there for instructions on how to use it. This template has an alias at {{STT}}.
Example parameters
{{StoryTextTableHeader}} {{StoryTextTable|heroimage=|dialogue=|nameplate=|expression=|shiftdown=|shiftright=|identity=}} {{StoryTextTable|heroimage|dialogue}} {{StoryTextTableEnd}}
Template data
Template for story dialogue.
Parameter | Description | Type | Status | |
---|---|---|---|---|
heroimage | heroimage 1 | The page name for the Hero the image belongs to. | Page name | required |
dialogue | dialogue 2 | The text in the dialogue box. | Content | required |
ja | ja 3 | Put something here if the text is for the Japanese version of the game. Leave blank for nothing. | String | optional |
nameplate | nameplate | The text that appears in the nameplate of the dialogue box. | Content | optional |
expression | expression | The facial expression characters make during the dialogue. Common values are "Anger", "Cool", "Pain", "Smile". For a full list, see this template's documentation. | Line | optional |
duo | duo | Same as nameplate. Used only on Duo heroes, when the second hero is speaking. | Line | optional |
shiftdown | shiftdown | The amount of pixels to shift and image down, use if the frame is not where you want it to be. Accepts negative values for moving up.
| Number | deprecated |
shiftright | shiftright | The amount of pixels to shift and image right, use if the frame is not where you want it to be. Accepts negative values for moving left.
| Number | deprecated |
identity | identity | The identity of the person speaking. This is purely for cargo queries (to display a list of maps where a Hero has dialogue for example, even if they are disguised and their nameplate and image are different). | Unknown | optional |
Example
{{StoryTextTableHeader}} {{StoryTextTable|Alfonse: Prince of Askr|Sharena, would you mind explaining to our lovely readers out there how this template works? Or should I say... Loki, the strategist for [[Múspell (Kingdom)|Múspell]]?}} {{StoryTextTable|heroimage=Sharena: Princess of Askr|nameplate=[[Loki: The Trickster|Loki]]|dialogue=My, you certainly caught on quick, you're a bright one aren't you? Regardless, I shall explain for you, dear brother. This template shows images as well as text for story dialogue. Striking, isn't it?|identity=Loki: The Trickster}} {{StoryTextTable|heroimage=Sharena: Princess of Askr|expression=Smile|nameplate=[[Loki: The Trickster|Loki]]|dialogue=You can even change expressions to match the in-game experience! That's all I will say for now, my king shall explain the rest.}} {{StoryTextTable|Surtr: Ruler of Flame|Listen up whelps! Specify the shift in pixels using <code>shiftdown</code> and <code>shiftright</code> if the images aren't centered! The might of Múspell will MAKE those pixels—}} {{StoryTextTable|Anna: Commander|What's Surtr doing here?! Order of Heroes, prepare for battle! This is not a drill!|expression=Pain}} {{StoryTextTable|Gunnthrá: Voice of Dreams|Relax commander, Surtr is just here to explain the basics of using the StoryTextTable template.}} {{StoryTextTable|Laevatein: Searing Steel|...Are you not supposed to be dead?}} {{StoryTextTable|Fjorm: Princess of Ice|How could you say such a thing about my sister?! She has never tasted death, not even once!}} {{StoryTextTable|Veronica: Emblian Princess|...If you say so.}} {{StoryTextTable|???: Masked Knight|...}} {{StoryTextTable|Gunnthrá: Voice of Dreams|...Oh dear.}} {{StoryTextTable|Loki: The Trickster|Surprise! It was actually me, Loki! Again!}} {{StoryTextTable|Fjorm: Princess of Ice|Listen here Loki, I will use the entirety of the might of Nifl until I MAKE you—|expression=Anger}} {{StoryTextTable|Laegjarn: Sheathed Steel|Moving on, for common story Heroes you have no need to fill in <code>shiftdown</code> and <code>shiftright</code>, since the Heroes have hardcoded values in the template.<br>You will only need to do so for Heroes not listed, such as one-off Heroes in Paralogues.}} {{StoryTextTable|nameplate=Zacharias's Shadow||Like I'm doing right now, leave the image parameter blank if you don't want an image to show.}} {{StoryTextTable|Ylgr: Fresh Snowfall|Actually Surtr's words no longer ring true, I came here to say that due to a recent update, you don't need to use <code>shiftdown</code> and <code>shiftright</code> anymore!}} {{StoryTextTable|Hríd: Icy Blade|That's right, Face_FC files are now used, and the full image offsets are hardcoded in the template.}} {{StoryTextTable|Alfonse: Askran Duo|duo=Sharena|And even for heroes which share the same picture. That's amazing don't you think, Alfonse?}} {{StoryTextTable|Alfonse: Askran Duo|If you say so...}} {{StoryTextTable|Hríd: Icy Blade (Injured)|However, you can still use them if you want, but it's not really needed.}} {{StoryTextTable|Axe Fighter|I'm just here to show that generic units work. I threatened Anna once in the story and that was neat.}} {{StoryTextTable|Gustav|Alfonse! Your mother and I have returned from our trip. This is quite a reunion you have here.}} {{StoryTextTable|Henriette|We brought Hel along as well, she was waiting outside the castle along with her group for some reason.}} {{StoryTextTable|Hel: Death Sovereign|I heard someone utter death? As the ruler of the dead... I can return your sister to you, Fjorm...}} {{StoryTextTable|Fjorm: Princess of Ice|Really?!}} {{StoryTextTable|Loki: The Trickster|Nope! Hahaha! It was me again! Surprise!}} {{StoryTextTable|Fjorm: Princess of Ice|That's— Stop doing that! How did you even slip out like that?! Fine, I don't need your help, I will bring her back by myself!|expression=Anger}} {{StoryTextTable|Líf: Lethal Swordsman|...}} {{StoryTextTable|Thrasir: Omnicidal Witch|...sure, if you say so.}} {{StoryTextTable|Eir: Merciful Death|expression=Pain|...Huh? Where did mother go then...?}} {{StoryTextTable|Gustav: Exsanguinator|Sorry, your mother was busy turning me into one of her generals.}} {{StoryTextTable|Fjorm: Princess of Ice|expression=Anger|Again? Are you okay with that?! And also, weren't you just here a... wait—}} {{StorySE|SE_EFFECT_MIL}} {{StoryFo|500|255|255|255|255}} {{StoryTextTable|Loki: The Trickster|That's right, it's me again! Looks like you catch on quick! I may not be able to fool you next time...}} {{StoryTextTable|Virion: Elite Archer|Might I offer another explanation? You see, [[Template:StorySE|StorySE]] and [[Template:StoryFo|StoryFo]] were just now used alongside these templates for special effects!<br />And like me, any Hero can be used for the story template, not just story related Heroes! Now to demonstrate another story template, allow me to play some music...}} {{StoryBGM|bgm_battle_enemy.ogg}} {{StoryTextTable|Anna: Commander|expression=Pain|This is not the reason we built a concert hall.}} {{StoryTextTable|Thórr: War God|Apologies for my lack of punctuality. ...What is that noise? That aside, Ice Princess, I have come to offer some assistance and news regarding your mother—}} {{StoryTextTable|Fjorm: Princess of Ice|expression=Anger|Please be silent. I am tired of your disgusting ideas of a joke. Leave immediately Lo—}} {{StoryTextTable|Loki: The Trickster|expression=Smile|Hey! Whatever could you doing all the way over there, Fjorm?}} {{StoryTextTable|Fjorm: Princess of Ice|expression=Pain|Loki's over there? Wait, so that means—}} {{StoryTextTable|Thórr: War God|expression=Anger|I do not appreciate the lack of respect you have displayed towards me. If I am to be greeted with rudeness and loud noises upon my arrival, I see no reason to remain any longer. Goodbye.}} {{StoryTextTable|Peony: Sweet Dream|Good morning! Did all of you sleep well?}} {{StoryTextTable|Triandra: Nightmare|Or did you suffer from your nightmares?}} {{StoryTextTable|Plumeria: Lewd Dream|Just admit it, you were dreaming of your deepest desires again. You mortals are all the same.}} {{StoryTextTable|Mirabilis: Daydream|They'll all have *yawn* daydreams...too...}} {{StoryTextTable|Freyr: Dream-King|I'm the only character exclusive to this game who doesn't have any different expressions. Interesting, isn't it?}} {{StoryTextTable|Freyja: Lady of Nightmare|Oh, Freyr... Can't you see that I love you?}} {{StoryTextTable|Reginn: Bearing Hope|Hey guys we're here too.}} {{StoryTextTable|Ótr: Kingsbrother|If you like steampunk, then you'll love our realm.}} {{StoryTextTable|Fáfnir: King of Desolation|People keep comparing me to other characters in the franchise! Does everyone HAVE to be a reference or drawn similiarities to another?}} {{StoryTextTable|Alfonse: Prince of Askr|expression=Pain|...who are all these people?}} {{StoryTextTable|Sharena: Princess of Askr|expression=Smile|I don't know, but it's exciting to make new friends with them all!}} {{StoryTextTable|Eitri: Youthful Sage|Am I too late to join in, too?}} {{StoryTextTable|Dagr: Sun's Radiance|You may have been expecting Ásgarðr, but it was us, Jötunheimr!}} {{StoryTextTable|Nótt: Moon's Elegance|I did something in Book V then died right after. That's a real character.}} {{StoryTextTable|Ash: Retainer to Askr|It is of my deepest apologies that the next place of interest we are going to is not Vanaheimr like everyone expected, but instead back to Midgard.}} {{StoryTextTable|Elm: Retainer to Embla|Cows or bats. Which animal do you like best?}} {{StoryTextTable|Letizia: Curse Director|I'm yet another Green villain. Gotta justify Alfonse's Triangle Adept refine somehow.}} {{StoryTextTable|Embla: God of Closure|I'm the goddess who created Embla. I can turn people who share my blood into puppets.}} {{StoryTextTable|Letizia: Curse Director (Dark)|color=255,0,0,255|To force them to do my evil bidding. And speak in spooky red text.}} {{StoryTextTable|Veronica: Princess Beset (Dark)|color=255,0,0,255|To use colored text, input the <code>color</code> command after the unit's nametag, then enter the color values the same way you would do for a <code>StoryFo</code> effect.}} {{StoryTextTable|Bruno: Prince Beset|color=0,0,255,255|For example, you could make blue text instead of red text for fun.}} {{StoryTextTable|Askr: God of Openness|Aww, why don't my descendants get colored text, too?}} {{StoryTextTable|Bruno: Prince Beset|color=255,0,0,255|Because you're too weak to change the color of mortal's text.}} {{StoryTextTable|???: Masked Knight|expression=Pain|Okay, that's enough of that, Embla. But man, there sure are a lot of different enemy and cutscene of us in Book VI, isn't there?}} {{StoryTextTable|Anna: Commander|expression=Smile|Stay tuned for more characters from Fire Emblem Heroes, coming to a mobile app near you!}} {{StoryTextTableEnd}}{{#if:| {{#if:My, you certainly caught on quick, you're a bright one aren't you? Regardless, I shall explain for you, dear brother. This template shows images as well as text for story dialogue. Striking, isn't it?| {{#if:You can even change expressions to match the in-game experience! That's all I will say for now, my king shall explain the rest.| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:| {{#if:|
Nameplate | Text |
---|---|
Error: Table Heroes not found. |
Sharena, would you mind explaining to our lovely readers out there how this template works? Or should I say... Loki, the strategist for Múspell? |
Loki | My, you certainly caught on quick, you're a bright one aren't you? Regardless, I shall explain for you, dear brother. This template shows images as well as text for story dialogue. Striking, isn't it? |
Loki | You can even change expressions to match the in-game experience! That's all I will say for now, my king shall explain the rest. |
Error: Table Heroes not found. |
Listen up whelps! Specify the shift in pixels using shiftdown and shiftright if the images aren't centered! The might of Múspell will MAKE those pixels—
|
Error: Table Heroes not found. |
What's Surtr doing here?! Order of Heroes, prepare for battle! This is not a drill! |
Error: Table Heroes not found. |
Relax commander, Surtr is just here to explain the basics of using the StoryTextTable template. |
Error: Table Heroes not found. |
...Are you not supposed to be dead? |
Error: Table Heroes not found. |
How could you say such a thing about my sister?! She has never tasted death, not even once! |
Error: Table Heroes not found. |
...If you say so. |
Error: Table Heroes not found. |
... |
Error: Table Heroes not found. |
...Oh dear. |
Error: Table Heroes not found. |
Surprise! It was actually me, Loki! Again! |
Error: Table Heroes not found. |
Listen here Loki, I will use the entirety of the might of Nifl until I MAKE you— |
Error: Table Heroes not found. |
Moving on, for common story Heroes you have no need to fill in shiftdown and shiftright , since the Heroes have hardcoded values in the template.You will only need to do so for Heroes not listed, such as one-off Heroes in Paralogues. |
Zacharias's Shadow | Like I'm doing right now, leave the image parameter blank if you don't want an image to show. |
Error: Table Heroes not found. |
Actually Surtr's words no longer ring true, I came here to say that due to a recent update, you don't need to use shiftdown and shiftright anymore!
|
Error: Table Heroes not found. |
That's right, Face_FC files are now used, and the full image offsets are hardcoded in the template. |
Error: Table Heroes not found. |
And even for heroes which share the same picture. That's amazing don't you think, Alfonse? |
Error: Table Heroes not found. |
If you say so... |
Error: Table Heroes not found. |
However, you can still use them if you want, but it's not really needed. |
Error: Table Heroes not found. |
I'm just here to show that generic units work. I threatened Anna once in the story and that was neat. |
Error: Table Heroes not found. |
Alfonse! Your mother and I have returned from our trip. This is quite a reunion you have here. |
Error: Table Heroes not found. |
We brought Hel along as well, she was waiting outside the castle along with her group for some reason. |
Error: Table Heroes not found. |
I heard someone utter death? As the ruler of the dead... I can return your sister to you, Fjorm... |
Error: Table Heroes not found. |
Really?! |
Error: Table Heroes not found. |
Nope! Hahaha! It was me again! Surprise! |
Error: Table Heroes not found. |
That's— Stop doing that! How did you even slip out like that?! Fine, I don't need your help, I will bring her back by myself! |
Error: Table Heroes not found. |
... |
Error: Table Heroes not found. |
...sure, if you say so. |
Error: Table Heroes not found. |
...Huh? Where did mother go then...? |
Error: Table Heroes not found. |
Sorry, your mother was busy turning me into one of her generals. |
Error: Table Heroes not found. |
Again? Are you okay with that?! And also, weren't you just here a... wait— |
{{#widget:Style|style=
@keyframes fo255 { from { opacity:0 } to { opacity:1 } } }} | |
Error: Table Heroes not found. |
That's right, it's me again! Looks like you catch on quick! I may not be able to fool you next time... |
Error: Table Heroes not found. |
Might I offer another explanation? You see, StorySE and StoryFo were just now used alongside these templates for special effects! And like me, any Hero can be used for the story template, not just story related Heroes! Now to demonstrate another story template, allow me to play some music... |
Error: Table Heroes not found. |
This is not the reason we built a concert hall. |
Error: Table Heroes not found. |
Apologies for my lack of punctuality. ...What is that noise? That aside, Ice Princess, I have come to offer some assistance and news regarding your mother— |
Error: Table Heroes not found. |
Please be silent. I am tired of your disgusting ideas of a joke. Leave immediately Lo— |
Error: Table Heroes not found. |
Hey! Whatever could you doing all the way over there, Fjorm? |
Error: Table Heroes not found. |
Loki's over there? Wait, so that means— |
Error: Table Heroes not found. |
I do not appreciate the lack of respect you have displayed towards me. If I am to be greeted with rudeness and loud noises upon my arrival, I see no reason to remain any longer. Goodbye. |
Error: Table Heroes not found. |
Good morning! Did all of you sleep well? |
Error: Table Heroes not found. |
Or did you suffer from your nightmares? |
Error: Table Heroes not found. |
Just admit it, you were dreaming of your deepest desires again. You mortals are all the same. |
Error: Table Heroes not found. |
They'll all have *yawn* daydreams...too... |
Error: Table Heroes not found. |
I'm the only character exclusive to this game who doesn't have any different expressions. Interesting, isn't it? |
Error: Table Heroes not found. |
Oh, Freyr... Can't you see that I love you? |
Error: Table Heroes not found. |
Hey guys we're here too. |
Error: Table Heroes not found. |
If you like steampunk, then you'll love our realm. |
Error: Table Heroes not found. |
People keep comparing me to other characters in the franchise! Does everyone HAVE to be a reference or drawn similiarities to another? |
Error: Table Heroes not found. |
...who are all these people? |
Error: Table Heroes not found. |
I don't know, but it's exciting to make new friends with them all! |
Error: Table Heroes not found. |
Am I too late to join in, too? |
Error: Table Heroes not found. |
You may have been expecting Ásgarðr, but it was us, Jötunheimr! |
Error: Table Heroes not found. |
I did something in Book V then died right after. That's a real character. |
Error: Table Heroes not found. |
It is of my deepest apologies that the next place of interest we are going to is not Vanaheimr like everyone expected, but instead back to Midgard. |
Error: Table Heroes not found. |
Cows or bats. Which animal do you like best? |
Error: Table Heroes not found. |
I'm yet another Green villain. Gotta justify Alfonse's Triangle Adept refine somehow. |
Error: Table Heroes not found. |
I'm the goddess who created Embla. I can turn people who share my blood into puppets. |
Error: Table Heroes not found. |
To force them to do my evil bidding. And speak in spooky red text. |
Error: Table Heroes not found. |
To use colored text, input the color command after the unit's nametag, then enter the color values the same way you would do for a StoryFo effect.
|
Error: Table Heroes not found. |
For example, you could make blue text instead of red text for fun. |
Error: Table Heroes not found. |
Aww, why don't my descendants get colored text, too? |
Error: Table Heroes not found. |
Because you're too weak to change the color of mortal's text. |
Error: Table Heroes not found. |
Okay, that's enough of that, Embla. But man, there sure are a lot of different enemy and cutscene of us in Book VI, isn't there? |
Error: Table Heroes not found. |
Stay tuned for more characters from Fire Emblem Heroes, coming to a mobile app near you! |
Expressions
Alfonse: Prince of Askr
Anna: Commander
Veronica: Emblian Princess
Veronica: Emblian Princess (Injured)
Veronica: Princess Beset
Veronica: Princess Beset (Dark)
???: Masked Knight
Bruno (Unmasked)
Bruno: Prince Beset
Bruno: Prince Beset (Unmasked)
Bruno: Prince Beset (Injured)
Fjorm: Princess of Ice
Surtr: Ruler of Flame
Loki: The Trickster
Laevatein: Searing Steel
Gunnthrá: Voice of Dreams
Laegjarn: Sheathed Steel
Ylgr: Fresh Snowfall
Helbindi: Savage Scourge
Hríd: Icy Blade
Hríd: Icy Blade (Injured)
Eir: Merciful Death
Líf: Lethal Swordsman
Thrasir: Omnicidal Witch
Hel: Death Sovereign
Gustav
Gustav: Exsanguinator/Sovereign Slain
Henriette
Thórr: War God
Peony: Sweet Dream
Triandra: Nightmare
Plumeria: Lewd Dream
Mirabilis: Daydream
Freyja: Lady of Nightmare
Reginn: Bearing Hope
Ótr: Kingsbrother
Ótr: Kingsbrother (Injured)
Fáfnir: King of Desolation
Fáfnir: King of Desolation (Injured)
Eitri: Youthful Sage
Dagr: Sun's Radiance
Nótt: Moon's Elegance
Ash: Retainer to Askr
Elm: Retainer to Embla
Elm: Retainer to Embla (Injured)
Letizia: Curse Director
Letizia: Curse Director (Dark)
Embla: God of Closure
Embla: God of Closure (Disappear)
Askr: God of Openness
Askr: God of Openness (Disappear)
The above documentation is transcluded from Template:StoryTextTable/doc. (edit | history)