Template:Area Of Effect/doc

From Fire Emblem Heroes Wiki
Jump to: navigation, search
Template-info.svg Documentation

Displays an area-of-effect table. Has shorthand template {{AoE}}.

Usage[edit source]

{{Area Of Effect
|...
|...
...
|...
}}

Each row entry is a string containing one character per cell:

  • - = empty cell
  • x = affected cell
  • u = target
  • t = affected target
  • s = structure

Add |t=Hero: Epithet or |u=Hero: Epithet to use Hero icons instead of generic enemies for that cell type.

Add |special=1 for AoE Special skills.

Add |s=Structure to specify an Aether Keep structure (drop the parentheses).

Examples[edit source]

{{Area Of Effect|special=1
|--x--
|-x-x-
|x-t-x
|-x-x-
|--x--
}}
Icon Skill Special.png
Icon Skill Special.pngIcon Skill Special.png
Icon Skill Special.png
Sword Fighter Mini Unit Idle.png
Icon Skill Special.png
Icon Skill Special.png
Icon Skill Special.pngIcon Skill Special.png
Icon Skill Special.png
{{Area of effect|t=Reinhardt: Thunder's Fist|u=Wrys: Kindly Priest
|-x-
|xut
|-x-
}}
Wrys Kindly Priest Face FC.webp
Reinhardt Thunders Fist Face FC.webp
{{Area Of Effect|s=Catapult
|-x-
|-x-
|-s-
}}
Structure Catapult.png

Scribunto

This template is a wrapper for the Lua function {{#invoke:AreaOfEffect|areaTable}}. It is directly available to other Lua modules as
local AreaOfEffect = require 'Module:AreaOfEffect'
local result = AreaOfEffect._areaTable {arg1, arg2, key = value}
-- the above is equivalent to {{#invoke:AreaOfEffect|areaTable|arg1|arg2|key=value}}

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.