Jump to content

User talk:Trappist the monk: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
(16 intermediate revisions by 6 users not shown)
Line 27: Line 27:
----
----


== Module help ==
== Headings reply ==


Hi, in case you haven't seen it, I replied to your message at [[Wikipedia:Village pump (technical)#c-Trappist the monk-20240619170500-help desired]]. Letting you know since you mentioned that you'd like a reply on your talk page. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 13:55, 20 June 2024 (UTC)
Hi, I wonder if you could help me to convert [[:q:bn:টেমপ্লেট:প্রতিযোগিতা শব্দগণনা ছক|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). [[User:আফতাবুজ্জামান|আফতাবুজ্জামান]] ([[User talk:আফতাবুজ্জামান|talk]]) 23:24, 8 May 2024 (UTC)
:Thank you. Answered there.
:Probably. I'll look into it tomorrow.
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk#top|talk]]) 01:07, 9 May 2024 (UTC)
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk#top|talk]]) 13:56, 21 June 2024 (UTC)
:
:Like this?
:[[Module:Sandbox/Trappist the monk/Competition word count table]]
::<syntaxhighlight lang="wikitext">{{#invoke:Sandbox/Trappist the monk/Competition word count table|main
| হুমায়ূন ফরীদি | 10
| হাসান আজিজুল হক | 40
| হাসন রাজা | 500
| শাহাদুজ্জামান | 100
}}</syntaxhighlight>
:::{{#invoke:Sandbox/Trappist the monk/Competition word count table|main
| হুমায়ূন ফরীদি | 10
| হাসান আজিজুল হক | 40
| হাসন রাজা | 500
| শাহাদুজ্জামান | 100
}}
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk#top|talk]]) 15:51, 9 May 2024 (UTC)
::Yes, Almost. With following input:
:::<syntaxhighlight lang="wikitext">{{#invoke:Sandbox/Trappist the monk/Competition word count table|main
| হুমায়ূন ফরীদি | 10
| হাসান আজিজুল হক | 40
| হাসন রাজা | 500
| শাহাদুজ্জামান | 1000
}}</syntaxhighlight>
::I would like table output to be something like this:
:::{| class="wikitable sortable"
! Title
! Word count
|-
|[[হুমায়ূন ফরীদি]]
| 10
|-
| [[হাসান আজিজুল হক]]
| 40
|-
| [[হাসন রাজা]]
| 500
|-
| [[শাহাদুজ্জামান]]
| 1,000
|- class="sortbottom"
! scope="row" | Total word
| 1,550
|}
::(Auto linking using <nowiki>[[ ]]</nowiki>. Auto formating number e.g. 1,000 instead of 1000. And auto total word count at the end.)
::In wikicode:
:::<syntaxhighlight lang="wikitext">{| class="wikitable sortable"
! Title
! Word count
|-
|[[হুমায়ূন ফরীদি]]
| 10
|-
| [[হাসান আজিজুল হক]]
| 40
|-
| [[হাসন রাজা]]
| 500
|-
| [[শাহাদুজ্জামান]]
| 1,000
|- class="sortbottom"
! scope="row" | Total word
| 1,550
|}</syntaxhighlight>
:: -- [[User:আফতাবুজ্জামান|আফতাবুজ্জামান]] ([[User talk:আফতাবুজ্জামান|talk]]) 17:18, 9 May 2024 (UTC)
:::{{#invoke:Sandbox/Trappist the monk/Competition word count table|main
| হুমায়ূন ফরীদি | 10
| হাসান আজিজুল হক | 40
| হাসন রাজা | 500
| শাহাদুজ্জামান | 1000
}}
:::—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk#top|talk]]) 22:20, 9 May 2024 (UTC)
::::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. [[User:আফতাবুজ্জামান|আফতাবুজ্জামান]] ([[User talk:আফতাবুজ্জামান|talk]]) 08:55, 10 May 2024 (UTC)
:::::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 {{tag|caption}} element provides a text description of the {{tag|table}} for those who use assistive technologies; screen readers, for example. Before this module is put to use, it should have a required parameter, {{para|caption}}, so that each table has an appropriate text description caption for that table.
:::::—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk#top|talk]]) 15:44, 10 May 2024 (UTC)
::::::I've created [[:q:bn:মডিউল:প্রতিযোগিতা শব্দগণনা ছক]] with your code. Thank you very much for helping. [[User:আফতাবুজ্জামান|আফতাবুজ্জামান]] ([[User talk:আফতাবুজ্জামান|talk]]) 20:00, 10 May 2024 (UTC)
:::::::Added support for {{para|caption}} per [[:q:bn:টেমপ্লেট:প্রতিযোগিতা শব্দগণনা ছক/নথি|bn:টেমপ্লেট:প্রতিযোগিতা শব্দগণনা ছক/নথি]].
:::::::—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk#top|talk]]) 22:00, 10 May 2024 (UTC)

== Re: cuneiform template ==

[[Template:Script/Cuneiform]] works for me, as you can see in this screenshot here:
[[File:HittiteAndNeoAssyrianFontDisplay.png|center|thumb]]

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

Would it be possible for you to download the fonts at [https://www.hethport.uni-wuerzburg.de/cuneifont/] and [https://oracc.museum.upenn.edu/doc/help/visitingoracc/fonts/] and rework the template so that these following parameters render the text in these following fonts:
* '''<code><nowiki>|hit=</nowiki></code>''' should render cuneiform in the UllikummiA font;
* '''<code><nowiki>|6=</nowiki></code>''' should render cuneiform in the SantakkuM font (and the title should be changed from "Old Assyrian cuneiform" to "Old Babylonian cuneiform";
* '''<code><nowiki>|7=</nowiki></code>''' should render cuneiform in the Assurbanipal font;
* '''<code><nowiki>|8=</nowiki></code>''' 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. [[User:Antiquistik|Antiquistik]] ([[User talk:Antiquistik|talk]]) 19:37, 22 May 2024 (UTC)
: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:
::<syntaxhighlight lang="html" inline="1">|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 --></syntaxhighlight>
:to:
::<syntaxhighlight lang="html" inline="1">|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 --></syntaxhighlight>
: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.
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk#top|talk]]) 20:02, 22 May 2024 (UTC)

Revision as of 13:57, 21 June 2024

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.

Headings reply

Hi, in case you haven't seen it, I replied to your message at Wikipedia:Village pump (technical)#c-Trappist the monk-20240619170500-help desired. Letting you know since you mentioned that you'd like a reply on your talk page. Matma Rex talk 13:55, 20 June 2024 (UTC)[reply]

Thank you. Answered there.
Trappist the monk (talk) 13:56, 21 June 2024 (UTC)[reply]