Forums: Index > Watercooler > Events of year in nation

I have been discussing with Andrei a possible improvement to some of the categories he has recently created, such as Category:1501 in France. I suggested that we could add tables of genealogical events in the same way as we have bdm subpages. I presume that the coding would be almost the same as {{Bdm4}} apart from requiring a page to have a year as well as a place to qualify for listing.

Does anyone foresee any difficulties?

-- Robin Patterson (Talk) 21:52, August 15, 2017 (UTC)

It must go on a page, not the category page, as the category page is not the place for content. See 1901 in the United Kingdom‎ as a quick possibility. Thurstan (talk) 22:01, August 15, 2017 (UTC)
Agreed. So we modify the code for such categories so that they show {{Main}} leading to an existing or proposed article. -- Robin Patterson (Talk) 22:30, August 15, 2017 (UTC)

Example (with just births so far) now at Category:1940 in the United Kingdom, needing to be transferred to an article as noted above. -- Robin Patterson (Talk) 22:30, August 15, 2017 (UTC)

Transferred. -- Robin Patterson (Talk) 23:18, August 15, 2017 (UTC)

Now can one of our smart coders devise a way to strip out the year and nation name so that they can be rendered automatically without the need to type each parameter for each page? -- Robin Patterson (Talk) 22:30, August 15, 2017 (UTC)

It would be easy if all years had 4 digits and we didn't have any optional definite articles, because the pieces would be at fixed places in the page name. I will look into it, though Andrei doesn't seem to have objected to retyping parameters so far. Perhaps we should await his response. Thurstan (talk) 22:36, August 15, 2017 (UTC)
Unless we have a bot to do the whole job, I'd suggest we not go earlier than 1000 AD because of so little data even in UK - maybe it's worth considering decade or century tables for those?. The nation would be "whole page name except first two words and any following "the"; still a problem, I'm sure! -- Robin Patterson (Talk) 23:18, August 15, 2017 (UTC)