Jump to content

Module:Msg/move-descriptions/doc

From PokeHero Official Wiki
Revision as of 22:41, 19 September 2025 by Admin (talk | contribs) (Module:Msg/types)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Msg/move-descriptions

Module:Msg/move-descriptions

This submodule contains translations for all move descriptions used in the PokeHero wiki.

Structure

The table maps message keys to translations for each language. Example:

return {
    ["pokehero-move-descriptions-64 palms of the hakke"] = { en = "Secret technique of the Hyûga clan. High chance to paralyze.", fr = "Technique secrète du clan Hyûga. Grande chance de paralyser." },
    ["pokehero-move-descriptions-absolute execution"] = { en = "The perfect move, plain and simple. Never misses, ignores defense boosts, and always lands a critical hit.", fr = "L'attaque parfaite, tout simplement. Ne peut pas rater, ignore les augmentations de défense et inflige toujours un coup critique." }
}
  • Keys should follow the pattern pokehero-move-descriptions-<name> for consistency.
  • <name> should NOT replace spaces by other characters.
  • Languages use their ISO codes (en, fr, etc.).
  • Add new move descriptions by adding new entries to this table.

Usage

Access the move descriptions table via Module:Msg:

{{#invoke:Msg|msg|move-descriptions|absolute flame}}

This automatically returns the correct translation for the page language or falls back to English if necessary.

Notes

  • This table is only loaded when requested to minimize memory usage.
  • Missing keys or translations are handled gracefully by Module:Msg.