This module implements {{Word count}}.
| This module is rated as alpha. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome. |
| This module depends on the following other modules: |
| Description | This module implements {{Word count}}. |
|---|---|
| Status | Alpha |
| Updated | May 25, 2026 (2 months ago) |
| Dependencies | Module:Arguments |
This module implements {{Word count}}.
| This module uses TemplateStyles: |
Count the number of words in supplied text:
{{#invoke:Word count|main|Some text here}}
This will output the word count and display the supplied text.
To count the words on an existing page without displaying its contents, use the page parameter:
{{#invoke:Word count|main|page=Albert Einstein}}
When page is specified, the module outputs **only the word count** and does not display the page text.
showcountyes to display the word count.limittrimpage is used.prepend, appendpage is used.page parameter only works for pages on the local wiki.Word_count._main( str, limit ) (function)Word_count.main( frame ) (function)frame processing frame (table)
frame.args Template arguments (table)
frame.args.page Page mode (string)frame.args.limit Word count limit (string)frame.args.showcount whether to show the word count (boolean)frame.args.trim Whether to trim at the word count limit (boolean)frame.args.unsubst Whether to convert substitutions into transclusions (boolean)frame.args.prepend What to prepend prior to word limited section (string)frame.args.append What to append after word limited section (string)Documentation above is auto generated
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.