Template talk:SubjectCategory

From ProofWiki
Jump to navigation Jump to search

Adding another parameter to the template

On a category page like Category:Convergent Sequences (Normed Vector Spaces) , the context parameter is given as "Normed Vector Spaces", which only exist as a definition in the singular form Definition:Normed Vector Space. As this occurs on multiple categories, it is a source of eight red links of Definition:Normed Vector Spaces.

Could we add another optional parameter contextdisp, which will display the context, so the context parameter can be the link? I can edit the template if approved, and add the explanation to the page. --Anghel (talk) 12:35, 26 January 2023 (UTC)

Certainly. Odd because I was convinced this had already been done.
It's such a common structure that I wonder whether we could subclass it out in a similar way that we do with {{AuthorList}}. --prime mover (talk) 13:12, 26 January 2023 (UTC)