Module:HTMLParse/doc: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Created page with "{{doc/start}} <!-- Documentation here --> This module parses and manipulates HTML strings. There is currently only 1 function: * pluralize ==Pluralize== ===Usage=== <nowiki...")
 
mNo edit summary
Line 9: Line 9:
==Pluralize==
==Pluralize==
===Usage===
===Usage===
<nowiki>{{#invoke: HTMLParse | pluralize | (html string here) }}</nowiki>
<nowiki>{{#invoke: HTMLParse | pluralize | html = (html string here) }}</nowiki>
===Examples===
===Examples===
{| class="wikitable" |
{| class="wikitable" |

Revision as of 18:56, 20 August 2019

Template-info.png Documentation

This module parses and manipulates HTML strings.

There is currently only 1 function:

  • pluralize


Pluralize

Usage

{{#invoke: HTMLParse | pluralize | html = (html string here) }}

Examples

{{#invoke: HTMLParse | pluralize | html = {{favilink | antimatter cell}} }} antimatter cells
{{#invoke: HTMLParse | pluralize | html = <span style="color:red">big </span><span style="color:blue">book</span> }} big books