Template:Sandbox/Aurelain/HeroesWithSpell: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Line 11: Line 11:
     H.id = T.target_id,
     H.id = T.target_id,
     H.id = E.target_id,
     H.id = E.target_id,
     H._pageName = SM._pageName
     H._ID = SM._rowID
| where =
| where =
<!--    (H.start_magics HOLDS '{{{id}}}' OR H.start_magics HOLDS '{{{id}}}_special') -->
<!--    (H.start_magics HOLDS '{{{id}}}' OR H.start_magics HOLDS '{{{id}}}_special') -->

Revision as of 10:47, 28 June 2026


This template enumerates the heroes starting with a particular spell.

Usage

1. Basic, with the id of the spell:

Input: {{Sandbox/Aurelain/HeroesWithSpell | id=night_6_magic_deaths_grip}}

Output: id=night_6_magic_deaths_grip,lang=-, Shadespinner
Oona
Sister
Keiri


2. With lang:

Input: {{Sandbox/Aurelain/HeroesWithSpell | id=night_6_magic_deaths_grip | lang=ja}}

Output: id=night_6_magic_deaths_grip,lang=ja, 影紡ぎのウーナ修道女ケイリ


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

Input: {{Sandbox/Aurelain/HeroesWithSpell | id=foo}}

Output: id=foo,lang=-, None