User talk:Trappist the monk

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

CS1This user is responsible for those
CS1 error messages (help).
Comments are welcome. If your comments are about my work on a particular article, please make
them at the article's talk page so that everyone who has an interest in the article may participate.

Module help[edit]

Hi, I wonder if you could help me to convert this template into lua? The wikicode is very simple but the main difficulty is i need to add 800 rows like this (see the example there). আফতাবুজ্জামান (talk) 23:24, 8 May 2024 (UTC)[reply]

Probably. I'll look into it tomorrow.
Trappist the monk (talk) 01:07, 9 May 2024 (UTC)[reply]
Like this?
Module:Sandbox/Trappist the monk/Competition word count table
{{#invoke:Sandbox/Trappist the monk/Competition word count table|main
| হুমায়ূন ফরীদি | 10
| হাসান আজিজুল হক | 40
| হাসন রাজা | 500
| শাহাদুজ্জামান | 100
}}
যোগকৃত শব্দ
ভুক্তির শিরোনামশব্দসংখ্যা
হুমায়ূন ফরীদি10
হাসান আজিজুল হক40
হাসন রাজা500
শাহাদুজ্জামান100
মোট শব্দসংখ্যা650
Trappist the monk (talk) 15:51, 9 May 2024 (UTC)[reply]
Yes, Almost. With following input:
{{#invoke:Sandbox/Trappist the monk/Competition word count table|main
| হুমায়ূন ফরীদি | 10
| হাসান আজিজুল হক | 40
| হাসন রাজা | 500
| শাহাদুজ্জামান | 1000
}}
I would like table output to be something like this:
Title Word count
হুমায়ূন ফরীদি 10
হাসান আজিজুল হক 40
হাসন রাজা 500
শাহাদুজ্জামান 1,000
Total word 1,550
(Auto linking using [[ ]]. Auto formating number e.g. 1,000 instead of 1000. And auto total word count at the end.)
In wikicode:
{| class="wikitable sortable"
! Title
! Word count
|-
|[[হুমায়ূন ফরীদি]]
| 10
|-
| [[হাসান আজিজুল হক]]
| 40
|-
| [[হাসন রাজা]]
| 500
|-
| [[শাহাদুজ্জামান]]
| 1,000
|- class="sortbottom"
! scope="row" | Total word
| 1,550
|}
-- আফতাবুজ্জামান (talk) 17:18, 9 May 2024 (UTC)[reply]
যোগকৃত শব্দ
ভুক্তির শিরোনামশব্দসংখ্যা
হুমায়ূন ফরীদি10
হাসান আজিজুল হক40
হাসন রাজা500
শাহাদুজ্জামান1,000
মোট শব্দসংখ্যা1,550
Trappist the monk (talk) 22:20, 9 May 2024 (UTC)[reply]
Is it possible to remove table caption "Competition words"? I won't be using it on articles and where i am using it already has explanation what that table it. আফতাবুজ্জামান (talk) 08:55, 10 May 2024 (UTC)[reply]
It is possible. But, doing so is not necessarily a good idea. You cannot guarantee that everyone who reads your article will be able to do so with their eyes. The html <caption>...</caption> element provides a text description of the <table>...</table> for those who use assistive technologies; screen readers, for example. Before this module is put to use, it should have a required parameter, |caption=, so that each table has an appropriate text description caption for that table.
Trappist the monk (talk) 15:44, 10 May 2024 (UTC)[reply]
I've created q:bn:মডিউল:প্রতিযোগিতা শব্দগণনা ছক with your code. Thank you very much for helping. আফতাবুজ্জামান (talk) 20:00, 10 May 2024 (UTC)[reply]
Added support for |caption= per bn:টেমপ্লেট:প্রতিযোগিতা শব্দগণনা ছক/নথি.
Trappist the monk (talk) 22:00, 10 May 2024 (UTC)[reply]