Template:Word count/doc

This template counts the number of words that goes into its first parameter. It serves as a basic word count function in areas where word count is important (such as Arbitration Committee statements, etc.)

Usage
{{tlx|word count|2=1=[phrase to count]|3=limit=[number of words to limit?]|4=trim=[whether to trim?]|5=showcount=[whether to show the word count?]}|6=prepend=[what to prepend?]|7=append=[what to append after?]}}

Examples
undefined

undefined

undefined

undefined

undefined

Parameter trim= example showing all text (trim=no) or truncated text (trim=yes)
undefined

undefined

Possible errors
The yes option truncates text at a word boundary, which may leave formatting markup unclosed. This can affect formatting of text that follows the template text, and can cause Linter errors.