Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:Transcluded section

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Template talk:Transcluded section/testcases)
Latest comment: 7 months ago by BlockArranger in topic Transclusion from several articles

Template-protected edit request on 5 February 2019

[edit]

I think the "transcluded" wikilink in the template should link to Wikipedia:Transclusion instead of the more general Transclusion, because the former is more directly relevant.

The link was to Wikipedia:Transclusion originally, but was changed by an anonymous editor in 2014, with no explanation. Alanhuang122 (talk) 23:49, 5 February 2019 (UTC)Reply

 DoneJJMC89(T·C) 04:04, 6 February 2019 (UTC)Reply

Template-protected edit request on 31 October 2019

[edit]

Please change template call {{YesNo-No}} to {{Yesno-no}} to eliminate the unnecessary redirect. Colonies Chris (talk) 15:12, 31 October 2019 (UTC)Reply

 Done --Trialpears (talk) 16:30, 31 October 2019 (UTC)Reply
Thanks. Colonies Chris (talk) 12:11, 1 November 2019 (UTC)Reply

Error with relative subpages

[edit]

This template does not handle relative subpages (starting with a slash). The link to /Subpage will work, but edit and history links will not. You can try {{Transcluded section|/Subpage}} . MarioGom (talk) 07:40, 5 July 2021 (UTC)Reply

Implemented a fix at Special:Diff/1034605464. It uses a template I created to resolve relative subpage titles in a namespace-aware way, {{Absolute page title}}. This utility template should be protected if this change is implemented. MarioGom (talk) 21:25, 20 July 2021 (UTC)Reply
 Done * Pppery * it has begun... 16:39, 22 July 2021 (UTC)Reply

Template-protected edit request on 6 October 2022

[edit]

Using {{!}} breaks the edit and history buttons. I tried using the template with the code

{{transcluded section|List of Pokémon: Black & White episodes{{!}}List of ''Pokémon: Black & White'' episodes}}

but the edit and history buttons become broken and replaced with

([{{fullurl: List of Pokémon: Black & White episodes|List of Pokémon: Black & White episodes|action=edit}} edit] | [{{fullurl: List of Pokémon: Black & White episodes|List of Pokémon: Black & White episodes|action=history}} history])

Can this problem be fixed, please? Thanks. FunnyMath (talk) 10:02, 6 October 2022 (UTC)Reply

 Note: Closed edit request - This isn't an edit request Terasail[✉️] 17:07, 6 October 2022 (UTC)Reply
@FunnyMath I am not sure what you are trying to do but to use the template all you need to do is: {{Transcluded section|List of Pokémon: Black & White episodes}} Terasail[✉️] 17:09, 6 October 2022 (UTC)Reply
@Terasail: I'm trying to unitalicize the words "Pokémon: Black & White" FunnyMath (talk) 18:39, 6 October 2022 (UTC)Reply
By default, the template would look like this:
This section is transcluded from List of Pokémon: Black & White episodes. (edit | history)
I'm trying to make it look like this:
This section is transcluded from List of Pokémon: Black & White episodes. (edit | history)
FunnyMath (talk) 18:45, 6 October 2022 (UTC)Reply
@FunnyMath There isn't a way to remove italics when they have been added the reason they are used here is because it is a Hatnote rather than content for the article. See Wikipedia:Hatnote#Format for more on the format and other information regarding hatnotes. Terasail[✉️] 19:06, 6 October 2022 (UTC)Reply
@Terasail: But I was able to remove the italics in other hatnote templates like Template:Main and Template:About, and other editors regularly do this. FunnyMath (talk) 19:10, 6 October 2022 (UTC)Reply
Yes well I meant for this specific template there is no way to remove the italics becuase of the edit & history buttons. Reading through the guideline more thoroughly I note that italicised words should not have italics, so I will add a way to set the text manually. Terasail[✉️] 19:18, 6 October 2022 (UTC)Reply
Ok, thank you! FunnyMath (talk) 19:25, 6 October 2022 (UTC)Reply
@FunnyMath The following will remove the italics: {{Transcluded section|List of Pokémon: Black & White episodes|title=''List of Pokémon: Black & White episodes''}} Terasail[✉️] 19:32, 6 October 2022 (UTC)Reply
Got it. Thank you so much. FunnyMath (talk) 19:33, 6 October 2022 (UTC)Reply

Section sign

[edit]

Please have the template automatically display the title with a section sign (§) instead of a number sign (#). Most other hatnote templates do this. InfiniteNexus (talk) 19:35, 12 December 2024 (UTC)Reply

Came here to second this, could use the Luad code in Module:Section link ~ 🦝 Shushugah (he/him  talk) 17:20, 14 January 2025 (UTC)Reply
@Shushugah @InfiniteNexus  Done, see below. FaviFake (talk) 11:04, 2 November 2025 (UTC)Reply
Thanks FaviFake. InfiniteNexus (talk) 22:13, 2 November 2025 (UTC)Reply

Template-protected edit request on 1 November 2025

[edit]

I've modified the sandbox to use {{format link}} instead of a hard-coded wikilink, so now it displays Section links § Like this instead of Displaying them#Like this. This makes it cnsistent with all similar hatnote templates like {{main}} and {{redirect}}. Please see {{Transcluded section/testcases}} and {{Transcluded section/sandbox}}. FaviFake (talk) 17:08, 1 November 2025 (UTC)Reply

 Completed. P.I. Ellsworth, ed.  welcome!  10:58, 2 November 2025 (UTC)Reply

Transclusion from several articles

[edit]

I would like this template to be compatible with transclusion from several articles into one section, while keeping it all in one hatnote. BlockArranger (talk) 01:58, 25 December 2025 (UTC)Reply