This template is within the scope of WikiProject Infoboxes, a collaborative effort to improve the coverage of Infoboxes on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.InfoboxesWikipedia:WikiProject InfoboxesTemplate:WikiProject InfoboxesInfoboxes
This template is within the scope of WikiProject Radio Stations, a collaborative effort to improve the coverage of radio stations on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.Radio StationsWikipedia:WikiProject Radio StationsTemplate:WikiProject Radio StationsRadio station
@GoingBatty The facility_id parameter expects just a number, because it's an input for URLs. KABW and KAHU had a reference in there. I can clean these up. Sammi Brie (she/her • t • c) 02:53, 22 July 2024 (UTC)[reply]
Some of these are awkward cases where an infobox is covering multiple stations and needs parameter generation suppressed. Sammi Brie (she/her • t • c) 02:55, 22 July 2024 (UTC)[reply]
Highly related: we're getting rid of templates that generated now-outdated external links. {{Infobox radio station}} has the ability to, with a parameter addition, generate modern equivalents to the links itself. But there are complex edge cases (KCII (AM) has two facilities in one infobox) as well as referencing issues. The reference is generated now automatically with the parameter added by bot. Sammi Brie (she/her • t • c) 02:58, 22 July 2024 (UTC)[reply]
Right, so I understand from the documentation how if the licensing authority is the FCC, entering the facility ID will cause it to automatically link to the FCC's public file, with AM or FM being automatically detected. However, on the wiki article for WHBT-FM, the template is automatically linking to a (nonexistent) AM public file when it instead should be linking to WHBT-FM's existing public file. I don't know enough about how this works to fix it. Any thoughts? RexSueciae (talk) 23:50, 2 September 2024 (UTC)[reply]
@RexSueciae To determine if a station is AM or FM for public file purposes, the infobox uses whether the |power= (AM) or |erp= (FM) parameter has been set. You should not see |power= on an FM—and that's what caused the error at WHBT-FM. I have fixed this. Sammi Brie (she/her • t • c) 00:46, 3 September 2024 (UTC)[reply]
Turns out more than half the FMs in Hampton Roads had the same problem, @RexSueciae. I would check any FM page in User:Neutralhomer's editing range (especially Virginia) for this error, as this issue had lurked on these pages since creation in 2007, and I saw it on at least one page in another part of Virginia. Sammi Brie (she/her • t • c) 01:04, 3 September 2024 (UTC)[reply]
Much like the above, this format seems to have been regional: it was in many pages out of Colorado and some in New Mexico and Wyoming. There was even an LPFM and an FM pointing to the AM query. I am working through all of these to remove this format. Sammi Brie (she/her • t • c) 20:30, 4 September 2024 (UTC)[reply]