Module:ColorParse/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{doc/start}} | {{doc/start}} | ||
<!-- Documentation here --> | <!-- Documentation here --> | ||
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 use the regular template [[Template:Color]] instead. | 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 use the regular template [[Template:Color]] instead, or surround the word with <nowiki> <nowiki> </nowiki> </nowiki>. | ||
Revision as of 01:51, 16 June 2019
Documentation
[purge]
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 use the regular template Template:Color instead, or surround the word with <nowiki> </nowiki>.
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