Jump to content

Wikipedia talk:WikiProject National Register of Historic Places/Archive 70

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Archive 65Archive 68Archive 69Archive 70

Help needed for infobox template with automatic category

I'm probably missing something obvious, but I was having trouble with updating infoboxes of individually listed contributing properties. For instance, the Delmarva Power & Light Building is an individually listed contributing property to the Downtown Wilmington Commercial Historic District so the DP&L article should be in Category:Individually listed contributing properties to historic districts on the National Register in Delaware.

But, when I update Template:Infobox NRHP with the historic district, the infobox automatically places the article in the less specific Category:Historic district contributing properties in Delaware. I then manually added the more specific category.

How do I get the article to only be in the more specific category? - RevelationDirect (talk) 18:46, 27 May 2024 (UTC)

I don't see a way to automatically place the article in a more specific category, but you can prevent the automatic placement in Category:Historic district contributing properties in STATE by adding a 'nocat=yes' parameter to the NRHP infobox template. You still have to manually add the more specific category, but at least that saves you from having to remove the other. DrOrinScrivello (talk) 13:42, 28 May 2024 (UTC)
Ideally the template would have a value in addition to "CP", like "IL", that would do this automatically. But this approach is easy enough to cut and paste.
Thank you! RevelationDirect (talk) 15:04, 28 May 2024 (UTC)
Looking closer, there is an nrhp_type "indcp" but it automatically places the article in the national Category:Individually listed contributing properties to historic districts on the National Register instead of the state one. So the same workaround is required. Adding this info to the Template talk:Infobox NRHP. - RevelationDirect (talk) 14:39, 1 June 2024 (UTC)

There is a requested move discussion at Talk:Randolph House (Philadelphia, Pennsylvania)#Requested move 10 June 2024 that may be of interest to members of this WikiProject. Safari ScribeEdits! Talk! 01:22, 18 June 2024 (UTC)