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]

Re: cuneiform template[edit]

Template:Script/Cuneiform works for me, as you can see in this screenshot here:

This is because I have the relevant fonts installed on my device, which allows the parameters |hit= and |7= to respectively display Hittite and Neo-Assyrian cuneiform on my browser.

Would it be possible for you to download the fonts at [1] and [2] and rework the template so that these following parameters render the text in these following fonts:

  • |hit= should render cuneiform in the UllikummiA font;
  • |6= should render cuneiform in the SantakkuM font (and the title should be changed from "Old Assyrian cuneiform" to "Old Babylonian cuneiform";
  • |7= should render cuneiform in the Assurbanipal font;
  • |8= should render cuneiform in the Esagil font.

If possible, the use of the template with one of these parameters on a page should also cause a message to display on that page to readers without the relevant font installed telling them to download and install said font, similarly to how the same feature is present on Wiktionary pages containing Hittite cuneiform script. Antiquistik (talk) 19:37, 22 May 2024 (UTC)[reply]

I am not going to download fonts that I will not be using because, as I have said in the past, I know nothing (and don't particularly care to know) about Cuneiform.
I suspect that you can do this work yourself. For example, you might change:
|6 = 'Free Idg Serif',Akkadian,'Noto Sans Cuneiform','Noto Sans Sumero-Akkadian Cuneiform','Segoe UI Historic';" title="Old Assyrian cuneiform"<!-- use Akkadian, Noto, and Segoe as last resort -->
to:
|6 = 'SantakkuM', 'Free Idg Serif',Akkadian,'Noto Sans Cuneiform','Noto Sans Sumero-Akkadian Cuneiform','Segoe UI Historic';" title="Old Assyrian cuneiform"<!-- use Akkadian, Noto, and Segoe as last resort -->
etc.
The 'need to download a font' message is not possible. There is or was a separate template that could be added to article pages when the article text used an uncommon font. I remember seeing this but never needed to touch it so I don't know its name. You'll have to hunt for it. Perhaps the editors at WP:LANGUAGES can help.
Trappist the monk (talk) 20:02, 22 May 2024 (UTC)[reply]
I have managed to make the parameter |8= render the Esagil font, but the parameter |6= is refusing to render the SantakkuM font even after I changed the code as you suggested. Is there anything I did wrong? Antiquistik (talk) 20:25, 22 May 2024 (UTC)[reply]
Never mind, it works now. Antiquistik (talk) 20:51, 22 May 2024 (UTC)[reply]
Would it be possible for me to remove the titles, but without the template stopping to render the fonts as it presently does, though?
Other script templates don't include this title, and when used in articles, the cuneiform title prevents the language title from showing up, which is quite inconvenient. Antiquistik (talk) 21:01, 22 May 2024 (UTC)[reply]
Ok, I've managed to successfully make this change too. Antiquistik (talk) 21:37, 22 May 2024 (UTC)[reply]
Removal of the fall-back fonts and labels may not be the best of ideas. Have you achieved consensus somewhere for such drastic changes? Do you know unequivocally that your changes do not break articles that you are not interested in?
Trappist the monk (talk) 22:22, 22 May 2024 (UTC)[reply]
I have checked, and they do not appear to break any articles.
Your concern about the labels is valid though, and I have accordingly restored them in a modified form so they will function similarly to the regular language labels.
Maintaining the back-fonts as well as the coding explaining the font preference seems to cause the template to not render some of the scripts, though, and I haven't been able to prevent this from happening. Unless there is a way to keep these without the template not rendering the script properly, they will unfortunately need to be removed. Antiquistik (talk) 23:29, 22 May 2024 (UTC)[reply]