Wikipedia talk:Substitution
This is the talk page for discussing improvements to the Substitution page. |
|
Archives: 1, 2, 3, 4, 5, 6, 7, 8Auto-archiving period: 10 days |
This page has archives. Sections older than 10 days may be automatically archived by Lowercase sigmabot III when more than 5 sections are present. |
Cleanup
editThere 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)
- @Letcord: You posted this at Help talk:Substitution#Cleanup, please see WP:MULTI. --Redrose64 🌹 (talk) 19:30, 2 April 2022 (UTC)
- 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)
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)
- I've narrowed the search to exclude those now. Letcord (talk) 18:33, 3 April 2022 (UTC)
This page needs more instruction.
editThere 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)
subst not working on title year range template
editI 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)
- 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) - @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)
- Thanks, that's working fine now. Colonies Chris (talk) 21:11, 11 January 2024 (UTC)