Module:UtilHyper/doc

From Heroes of Might and Magic: Olden Era Official Wiki

This is the documentation page for Module:UtilHyper

This module takes a text and a hyper list of pattern = url and returns a text where words that match the pattern will have become hyperlinks.

Usage

Input:

{{#invoke:UtilHyper|apply
| text = While worn, grants all unlearned Subskills of the following Skills: Defense, Primal Magic, Recruitment
| hyper =
    Defense=Defense
    Primal [Mm]agic=Primal_Magic/fr;
    Rec.*nt=Recruitment
}}

Output: While worn, grants all unlearned Subskills of the following Skills: Defense, Primal Magic, Recruitment