Module:ColorParse/doc

From Caves of Qud Wiki
< Module:ColorParse
Revision as of 01:44, 16 June 2019 by Teamtoto (talk | contribs) (Colorparse breaks on symbols. Please edit this out when there's a fix)
Jump to navigation Jump to search

This is the documentation page for Module:ColorParse

Template-info.png Documentation

This module parses the game's color codes in strings and formats them for the wiki. This can be called anywhere. Text with replacable words with the syntax =word= cause the module to crash currently. Please replace them with ~ instead.


Usage

{{#invoke: ColorParse | parse |(your text here)}}

Code:

{{#invoke: ColorParse | parse |&RS&rt&Ko&yp&Ys&Rv&ra&Kl&yi&Yn&Rn&y}}

Result:

Stopsvalinn