Template talk:Johannesburg Stock Exchange

This template is broken. How do we fix this?
I noticed that if you click the link this template generates, you get to the search page of JSE. For example

jse: CPI for Capitec

On the website every stock seems to get a number, but unlike tyo: 38560, this does not work either jse: 3101. I am not sure how official or permanent the number is either. There is no mentioning of this on the page. Could we switch to the format of the template to go to https://www.jse.co.za/jse/instruments/3101 by do something like jse: CPI 3101 ? Is the search page the best compromise? --Orubblig (talk) 05:14, 1 October 2023 (UTC)


 * The template can be updated so that if the second parameter is the database ID it goes direct to the page as suggested, and in cases where it is not present it goes to the search page. This is very common in Category:Ticker symbol templates templates. Svgalbertian (talk) 19:06, 3 October 2023 (UTC)