Jump to content

Wikipedia talk:Substitution

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Wikipedia talk:Subst)

Cleanup

[edit]

There are quite a few cases of failed substitution within references that need to be cleaned up, found with insource:/\{\{subst:/ -insource:"Anchor comment" -insource:"rfd". Letcord (talk) 18:33, 2 April 2022 (UTC)[reply]

@Letcord: You posted this at Help talk:Substitution#Cleanup, please see WP:MULTI. --Redrose64 🌹 (talk) 19:30, 2 April 2022 (UTC)[reply]
I know I did. I don't expect my posts to start any discussion that would be fragmented, as they're just pointers to a set of articles needing cleanup. Letcord (talk) 19:38, 2 April 2022 (UTC)[reply]

I noticed a few hundred in the search hits with {{subst:rfd}}, but they're in a comment and as-intended, it appears. Dicklyon (talk) 15:28, 3 April 2022 (UTC)[reply]

I've narrowed the search to exclude those now. Letcord (talk) 18:33, 3 April 2022 (UTC)[reply]

This page needs more instruction.

[edit]

There needs to be more instructions on what to do when you see :subst. I saw it on the Nominate for Adminship page and can't figure out how to use it. Oo-rah! the marines are here (talk) 18:04, 9 January 2024 (UTC)[reply]

subst not working on title year range template

[edit]

I raised this over at Template talk:Subst but no-one seems to be monitoring that page.

I've found that adding subst: works fine on templates such as {{title year}} and {{Title year+1}}, but just results in a blank when used on {{title year range}}. Try it in 1983–84 New York Islanders season for example. Any explanation, or fix available? Colonies Chris (talk) 13:07, 11 January 2024 (UTC)[reply]

I'll start off by pointing out that only {{subst:title year}} substs cleanly - {{subst:title year+1}} emits {{#expr:{{title year}} +1}}. --Redrose64 🌹 (talk) 19:54, 11 January 2024 (UTC)[reply]
@Colonies Chris:  Fixed, with this edit.
You probably didn't get a reply at Template talk:Subst because it has very few watchers (12). It's also nothing to do with Template:Subst. --Redrose64 🌹 (talk) 20:10, 11 January 2024 (UTC)[reply]
Thanks, that's working fine now. Colonies Chris (talk) 21:11, 11 January 2024 (UTC)[reply]