From Wikipedia, the free encyclopedia

loc, at

Would be nice for conversion ease and memorability if |loc= had an alias of |at= to match all the CS1/CS2 templates, and the /doc pages were updated to use the latter instead of the confusingly different former (or at least list both). I'm willing to take care of the latter part if someone with more Lua skillz does the first.  —  SMcCandlish ¢ 😼  21:44, 12 January 2024 (UTC) reply

Knock knock, anyone home?  —  SMcCandlish ¢ 😼  01:01, 5 February 2024 (UTC) reply
Yes, please! Gawaon ( talk) 16:01, 5 February 2024 (UTC) reply
@ SMcCandlish and Gawaon: Template:Sfn/testcases Rjjiii ( talk) 04:41, 31 March 2024 (UTC) reply
Thank you! But hmm, while the new test case uses "at" in the header, it still uses "loc" in the actual example. Is that a mistake or are I misunderstanding something? Gawaon ( talk) 07:09, 31 March 2024 (UTC) reply
Whatever the issue was, it seems resolved now. I see a test case for |loc= and one just below it for |at=, with the live template not showing that new parameter working (since it's not implemented yet), but the sandbox version showing it working as-expected.  —  SMcCandlish ¢ 😼  02:18, 1 April 2024 (UTC) reply
Any news on when this will actually appear in the wild? So far it's not working outside the sandbox prototype, it seems. Gawaon ( talk) 10:42, 3 May 2024 (UTC) reply
There are a bunch of separate templates. Let me drop a notification at each to give folks a chance to comment if there are any issues. Rjjiii ( talk) 02:36, 4 May 2024 (UTC) reply
I've been waiting 6 years for this. (See prior discussion at Template talk:Sfn/Archive 3#at parameter.) Thank you! Daask ( talk) 10:01, 14 May 2024 (UTC) reply
@ SMcCandlish: this should now work on the various templates. For {{ sfnm}} and {{ sfnmp}}, |xat= works the same as |xloc=. For the technically unrelated {{ harvs}}, I added "at" as an alias for "loc", but didn't add anything for its rarely used "loc2" and so on parameters. Rjjiii ( talk) 01:55, 18 May 2024 (UTC) reply
Huzzah! Thanks for getting that taken care of.  —  SMcCandlish ¢ 😼  03:23, 18 May 2024 (UTC) reply

AFM

Need to whitelist {{ Cite AFM}}. It's generating false-positive Category:Harv and Sfn no-target errors, I guess because it is a {{ Cite book}} wrapper.  —  SMcCandlish ¢ 😼  23:32, 13 May 2024 (UTC) reply

Railway reference book templates

Hi, Could the following be added, I'm editing a series of articles using these templates and have been using local whitelists, ['CITEREFMarshall1969'] = {'Lancashire & Yorkshire Railway 1'}, ['CITEREFMarshall1970'] = {'Lancashire & Yorkshire Railway 2'},

thanks 
Nempnet (
talk) 
07:42, 15 May 2024 (UTC)
reply

More whitelist requests

Several Harry Potter templates have been added and should probably be whitelisted.

['CITEREFRowling1997'] = template_names['HP1ref'], ['CITEREFRowling1998'] = template_names['HP2ref'], ['CITEREFRowling1999'] = template_names['HP3ref'], ['CITEREFRowling2000'] = template_names['HP4ref'], ['CITEREFRowling2003'] = template_names['HP5ref'], ['CITEREFRowling2005'] = template_names['HP6ref'], ['CITEREFRowling2007'] = template_names['HP7ref'],

Thanks. Andy02124 ( talk) 15:51, 25 July 2024 (UTC) reply

Those shouldn't be using template_name, the correct format is:

['CITEREFRowling1997'] = {'HP1ref'}, ['CITEREFRowling1998'] = {'HP2ref'}, ['CITEREFRowling1999'] = {'HP3ref'}, ['CITEREFRowling2000'] = {'HP4ref'}, ['CITEREFRowling2003'] = {'HP5ref'}, ['CITEREFRowling2005'] = {'HP6ref'}, ['CITEREFRowling2007'] = {'HP7ref'},

template_name is used for templates with multiple names, and need additional setup. These are just standard templates. -- LCU ActivelyDisinterested « @» ° ∆t° 17:13, 25 July 2024 (UTC) reply
Thanks for the correction. Andy02124 ( talk) 03:41, 26 July 2024 (UTC) reply