8,290
edits
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" | ||
!style="padding:10px;text-align:left;"|wikitext | |||
!style="padding:10px;text-align:left;"|result | |||
|- | |- | ||
|< | |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> }} | |||
|- | |- | ||
|} | |} |