Module:HTMLParse/doc: Difference between revisions

269 bytes added ,  20:20, 20 August 2019
m
no edit summary
mNo edit summary
mNo edit summary
Line 18: Line 18:
<nowiki>{{#invoke: HTMLParse | pluralize | html = (html string here) }}</nowiki>
<nowiki>{{#invoke: HTMLParse | pluralize | html = (html string here) }}</nowiki>
===Examples===
===Examples===
{| class="wikitable" |
{| class="wikitable"
|<nowiki>{{#invoke: HTMLParse | pluralize | html = {{favilink | antimatter cell}} }}</nowiki>
!style="padding:10px;text-align:left;"|wikitext
|{{#invoke: HTMLParse | pluralize | html = {{favilink | antimatter cell}} }}
!style="padding:10px;text-align:left;"|result
|-
|-
|<nowiki>{{#invoke: HTMLParse | pluralize | html = <span style="color:red">big </span><span style="color:blue">book</span> }}</nowiki>
|style="padding:10px;"|<syntaxhighlight lang="html">{{#invoke: HTMLParse | pluralize | html = {{Qud text|&Cultra-light &brobot| notxml }} }}</syntaxhighlight>
|{{#invoke: HTMLParse | pluralize | html = <span style="color:red">big </span><span style="color:green">book</span> }}
|style="padding:10px;"|{{#invoke: HTMLParse | pluralize | html = {{Qud text|&Cultra-light &brobot| notxml }} }}
|-
|style="padding:10px;"|<syntaxhighlight lang="html">{{#invoke: HTMLParse | pluralize | html = <span style="color:red">big </span><span style="color:blue">book</span> }}</syntaxhighlight>
|style="padding:10px;"|{{#invoke: HTMLParse | pluralize | html = <span style="color:red">big </span><span style="color:green">book</span> }}
|-
|-
|}
|}