Template talk:Establishment category in country by century
![]() | This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||
|
Parameter to ignore millennium category
[edit]Can we add a parameter to ignore the millennium category in this template? There's a pretty extensive CFD discussion about places that shouldn't need a red-linked or blue-linked useless millennium category and substituting and removing manually is just hideous. I mean, I could just do it all manually or without tables but I'd like to ask if this template and Template:DisestcatCountryCentury could allow for it to be skipped. -- Ricky81682 (talk) 21:25, 27 January 2016 (UTC)
Done and documented! Is this [1] easy enough?
- Alternatively, or additionally, I could make the millennium category only appear on the century categories if it exists. So, once the millennium category is deleted, the redlink for it would disappear from the bottom of the century category pages. They might need a null edit to make that happen, though. I have a preference for the first way I have done it – so that the millennium category will appear on the century page if the parameter is used. – Fayenatic London 21:59, 27 January 2016 (UTC)
- This is good enough. Wikipedia:Database reports/Categories categorized in red-linked categories has plenty more that don't exist, some that should, many that don't. Can the same be done for Template talk:DisestcatCountryCentury? -- Ricky81682 (talk) 22:33, 27 January 2016 (UTC)
Suppressing decades
[edit]This template currently contain a parameter (|decades=yes
) that allows the display of individual years to be suppressed and displays individual decades instead. There are cases, however, where there is not enough content to justify any decade splits, such as Category:11th-century establishments in Sri Lanka. In these cases, what is the preferred approach:
- Continue using this template, and add a parameter to suppress the display of individual decades; or
- Remove this template from the category and use {{CatPair}} instead?
The same issue applies to {{DisestcatCountryCentury}}, and I've left a note at that template's talk page pointing to this thread. Pinging User:Fayenatic london and User:Marcocapelle as active editors in this area. -- Black Falcon (talk) 19:09, 22 November 2017 (UTC)
- IMHO this template is still better than CatPair because of the parent categories that it generates. I intend to have a go at revising it further. Probably not until next week, though. – Fayenatic London 20:57, 22 November 2017 (UTC)
- Alright, then, and thanks. -- Black Falcon (talk) 02:41, 23 November 2017 (UTC)
- Done – that was simpler than I thought! Just append
|no-table=yes
. – Fayenatic London 11:58, 29 November 2017 (UTC)- Thank you for adding this to the code and updating the documentation! Cheers, -- Black Falcon (talk) 04:10, 3 December 2017 (UTC)
- Done – that was simpler than I thought! Just append
- Alright, then, and thanks. -- Black Falcon (talk) 02:41, 23 November 2017 (UTC)
Categories that have individually tailored versions of this template
[edit]These categories have individually tailored versions of this template, which would need manual updating. The tailored versions include only the years for which the country was known by that name.
See also Template talk:DisestcatCountryCentury, Template talk:EstcatCountry2ndMillennium
– Fayenatic London 12:19, 17 April 2018 (UTC)
- Category:Establishments in the Austrian Empire (19th century)
- Category:19th-century establishments in Austria-Hungary
- Category:20th-century establishments in Austria-Hungary
- Category:18th-century establishments in the Batavian Republic
- Category:19th-century establishments in the Batavian Republic
- Category:19th-century establishments in Belgium
- Category:19th-century establishments in the Congo Free State
- Category:20th-century establishments in the Congo Free State
- Category:20th-century establishments in the Belgian Congo
- Category:20th-century establishments in the Democratic Republic of the Congo
- Category:Establishments in Czechoslovakia (20th century)
- Category:20th-century establishments in French Dahomey
- Category:20th-century establishments in French Cameroon
- Category:20th-century establishments in French Equatorial Africa
- Category:20th-century establishments in the Gilbert and Ellice Islands
- Category:19th-century establishments in the Habsburg monarchy
- Category:Establishments in the Kirghiz Soviet Socialist Republic (20th century)
- Category:21st-century establishments in North Macedonia
- Category:Establishments in the Moldavian Soviet Socialist Republic (20th century)
- Category:20th-century establishments in Myanmar
- Category:Establishments in Mandatory Palestine (20th century)
- Category:18th-century establishments in New York (state)
- Category:19th-century establishments in Penang
- Category:20th-century establishments in Rhodesia
- Category:20th-century establishments in Northern Rhodesia
- Category:20th-century establishments in Southern Rhodesia
- Category:Establishments in the Federation of Rhodesia and Nyasaland, also by year (20th century)
- Category:18th-century establishments in Russia
- Category:18th-century establishments in the Russian Empire
- Category:20th-century establishments in the Russian Empire
- Category:20th-century establishments in Russia
- Category:20th-century establishments in Sri Lanka
- Category:18th-century establishments in the Thirteen Colonies
- Category:Establishments in the Turkmen Soviet Socialist Republic (20th century)
- Category:18th-century establishments in the United States
- Category:20th-century establishments in Upper Volta
- Category:20th-century establishments in Western Sahara
Cases using tailored templates, i.e. non-standard Template pages that are (potentially) used on multiple category pages:
- Category:19th-century establishments in South West Africa, Category:19th-century establishments in German South West Africa using Template:19th-century establishments in Namibia
- Category:20th-century establishments in German South West Africa, Category:20th-century establishments in South West Africa, Category:20th-century establishments in Namibia, Category:20th-century disestablishments in South West Africa, Category:20th-century disestablishments in Namibia using Template:20th-century establishments in Namibia (this includes a "dis" parameter)
@Fayenatic london: would it be possible (and easy) to add two optional parameters, "startyear" and "endyear", to this template? E.g. for the Belgium cat above, one would just need to add "Startyear=1830", and the end result would be the same as what the complicated tailored template achieves? Fram (talk) 10:11, 22 September 2021 (UTC)
- @Fram: Some of the templates do more than that, linking to other names for other periods, e.g. see DR Congo. Meanwhile, user:BrownHairedGirl has more detailed plans for wholesale revision of these templates. I'm just doing some minor updates on presentation. – Fayenatic London 10:24, 22 September 2021 (UTC)
- Okay, thanks! Fram (talk) 10:27, 22 September 2021 (UTC)
Category:20th-century establishments in Thailand no longer has an individually tailored template, but uses {{EstcatCountryCentury/resolve}} which resolves category redirects on all decade and year links. However, this requires setting up redirect pages using the new name for all dates before the name change. – Fayenatic London 21:22, 30 January 2022 (UTC)