Module:ColorParse/doc: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
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 shouldn't be called anymore. Use [[Template:Qud text]] instead. 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>.  
This module parses the game's color codes in strings and formats them for the wiki. This shouldn't be directly called anymore. Use [[Template:Qud text]] instead. If the text in question has pronouns in syntax =pronouns.(pronountype)= or a similar style, use [[Template:Grammar]].
 


==Usage==
==Usage==
Line 16: Line 15:
<includeonly>
<includeonly>
<!-- Template categories/interwiki here -->
<!-- Template categories/interwiki here -->
[[Category:Modules]]
</includeonly>
</includeonly>
{{doc/end}}
{{doc/end}}

Latest revision as of 00:51, 14 July 2020

Template-info.png Documentation

This module parses the game's color codes in strings and formats them for the wiki. This shouldn't be directly called anymore. Use Template:Qud text instead. If the text in question has pronouns in syntax =pronouns.(pronountype)= or a similar style, use Template:Grammar.

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