Template:ScenarioArchiveToWiki

About this template
This template converts raw decompressed message archives processed by FEAT (this expects and only works with FEAT's specific brand of pretty printed output, it will not work if you use any other tool or process the archives manually) into wikitext for story pages.

Usage
Since the template include size is too large, simply edit this page and paste the message in the  variable definition. The result will appear at the bottom.

Define the  variable as well. for English,  for Japanese.

You still need to do one text replacement before pasting, changing | to | because of the way MediaWiki works.

Adding to the template
There are a couple of parts to dialogue: $ WmMEID_ ブルーノ, ch04_23_Marth_F_Mask , Face |$w0| …………$k$p世界は、絶望に\n覆われようとしている…$k$p行かなければ. \n取り戻さなければ、未来を… $k$p$Sbs150| These subpages store the conversion for nameplates and heroes:
 * Red is the internal ID of the nameplate the game uses. Here it is ブルーノ, which turns into ??? when displayed in-game. Technically the full ID also includes the WmMEID_ but that is dropped for the purposes of this template (It's highly unlikely it would matter, and if it does, just convert to wikitext manually).
 * Blue is the internal ID for the image that is used. It does not always match the nameplate, here Marth: Enigmatic Blade is shown as ??? despite the Hero's name being "Marth".
 * Green is the expression.
 * Purple is the dialogue.
 * Gray is the other stuff the template removes.
 * /npToHeroJP
 * /npToHeroENG
 * /imgToHero

Sandbox
Section headers are incomplete. You will probably need to insert and  at places.

-->