Template:Sandbox/Aurelain/SpellKnownBy: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Line 8: Line 8:
     H.id = id,
     H.id = id,
     CONCAT('{{{lang|en}}}') = lang,
     CONCAT('{{{lang|en}}}') = lang,
    'hero' = type
| format =
| format =
     template
     template
| template =
| template =
     Sandbox/Aurelain/LinkIcon
     Sandbox/Aurelain/LinkIcon
| type =
    hero
| default = {{Label|none|{{{lang|en}}}|nolink}}
| default = {{Label|none|{{{lang|en}}}|nolink}}
}}<!--
}}<!--

Revision as of 14:35, 27 June 2026


This template enumerates the heroes starting with a particular spell.

Usage

1. Basic:

Input: {{Sandbox/Aurelain/SpellKnownBy | id=day_2_magic_sharp_edge}}

Output: No resultsNo resultsNo resultsNo resultsNo resultsNo resultsNo resultsNo results


2. With lang:

Input: {{Sandbox/Aurelain/SpellKnownBy | id=day_2_magic_sharp_edge | lang=ja}}

Output: No resultsNo resultsNo resultsNo resultsNo resultsNo resultsNo resultsNo results


3. When there are no heroes to match the criteria, the `wiki_none` text is displayed:

Input: {{Sandbox/Aurelain/SpellKnownBy | id=neutral_magic_dimension_door}}

Output: None