Template talk:Essay

(Redirected from Template talk:Essay/testcases)
Latest comment: 30 days ago by 2409:40F3:100A:64E2:8000:0:0:0 in topic When it will finish

Automatic short description?

edit

I'd like to have this template add the automatic short description "Essay on editing Wikipedia". The specific code would be {{Project other|{{short description|Essay on editing Wikipedia|noreplace}}}}. Are there any concerns? I'll implement in a little while if not. {{u|Sdkb}}talk 06:29, 19 December 2021 (UTC)Reply

  Done {{u|Sdkb}}talk 07:04, 21 December 2021 (UTC)Reply

Categorisation and DEFAULTSORT

edit

Is there any way that this template can be modified to recognise the use of {{DEFAULTSORT}}, and to sort essays into the relevant category appropriately? To take this userspace essay as an example, I added the defaultsort magic word to negate the impact of the quotation mark at the start of the title on sorting; but (I’m guessing) as this template uses {{SUBPAGENAME}}, the default sort key seems to be being overridden when I look in Category:User essays.

Apologies if I’m missing something! Best, user:A smart kittenmeow 13:41, 20 September 2023 (UTC)Reply

Probably not technically feasible. But see next subtopic.  — SMcCandlish ¢ 😼  12:27, 10 December 2023 (UTC)Reply

Alternative: category sort string

edit

The way to fix this is to support adding a category sort string. In bare category markup, this looks like [[Category:Books about foobar|Bazquux, The]].

  • Using a {{!}} escape trick should work, as it does in, e.g., {{Distinguish|Plus and minus signs#Minus sign{{!}}Minus sign}} to produce link output of [[Plus and minus signs#Minus sign|Minus sign]].  But when you do {{Essay|cat=Category:User essays on categorization{{!}}Over-categorisation}} to produce cat. link output of [[Category:User essays on categorization|Over-categorisation]],  this fails for some reason, and the literal string Category:User essays on categorization|Over-categorisation appears in the rendered page text instead. I'm not sure why this is happening or what the fix is.
  • If for some reason the above problem is not soluble, then the next best thing would be to add a |sort= parameter that would take a value like |sort=Over-categorisation.

 — SMcCandlish ¢ 😼  12:39, 10 December 2023 (UTC)Reply

Edit request

edit

Please change

[[File:Essay.svg|30px]]

to

[[File:Essay.svg|30px|link=|alt=]]

per MOS:BLANKALT. Thanks! HouseBlastertalk 18:49, 5 December 2023 (UTC)Reply

  Done SWinxy (talk) 05:00, 6 December 2023 (UTC)Reply

Shortcut index

edit

As of now, the shortcut index just says "SHO:RTCUT". That is a red link, and is not likely to redirect to this page as it is not relevant. Can someone help change this and make a proper list of shortcuts? Thank you! 2003 LN6 06:35, 15 February 2024 (UTC)Reply

When it will finish

edit

Iam waiting for the best climax 2409:40F3:100A:64E2:8000:0:0:0 (talk) 07:47, 4 October 2024 (UTC)Reply