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 or Tumblr!

Engage info: As the game has only recently released, we lack much key information. Please help add any info that you can.


From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.

For use with Template:Item.


If the user inputs the number of a game (e.g. 11 for Fire Emblem: Shadow Dragon), this will output the platform code for use in image file names (e.g. "ds" for Shadow Dragon).

{{#invoke:Item|PlatformGame|<game no>}}

Enter the game's number in the first parameter. If a non-numeral is entered here, it simply returns whatever is entered.



This will return "ds", as that is the platform code for game 12 (Fire Emblem: New Mystery of the Emblem).

local p = {}

Get the game's platform code from its number.

function p.PlatformGame(frame)
    game_no = tonumber(frame.args[1])
    if( game_no == nil ) then
        return frame.args[1]

    local g_platform = {
        [1] = "nes01",
        [2] = "nes02",
        [3] = "snes01",
        [4] = "snes02",
        [5] = "snes03",
        [6] = "gba",
        [7] = "gba",
        [8] = "gba",
        [9] = "gcn",
        [10] = "wii",
        [11] = "ds",
        [12] = "ds",
        [13] = "3ds01",
        [14] = "3ds02",
        [15] = "3ds03",
        [16] = "ns01",
        [17] = "ns02"

    return g_platform[game_no]

return p