8,290
edits
mNo edit summary |
m (note about cargo / no html) |
||
Line 15: | Line 15: | ||
* Won't pluralize anything that already ends in "s". | * Won't pluralize anything that already ends in "s". | ||
* Won't pluralize anything that doesn't lua pattern match <code>%a</</code> | * Won't pluralize anything that doesn't lua pattern match <code>%a</</code> | ||
* If passing a template that uses a cargo query as the '''html''' parameter, be sure that the cargo query is marked with <code>no html</code> or this Module might not be able to expand the template correctly. | |||
===Usage=== | ===Usage=== | ||
<nowiki>{{#invoke: HTMLParse | pluralize | html = (html string here) }}</nowiki> | <nowiki>{{#invoke: HTMLParse | pluralize | html = (html string here) }}</nowiki> |