Template talk:ChartDisplay
Appearance
(Redirected from Template talk:ChartDisplay/sandbox)
Parameter case
[edit]@GalStar I'm going to go ahead and change all the parameters to lowercase, since that is the standard in the vast majority of template (including {{Graph:Chart}}). I'll also update the handful of pages that transclude the template. --Ahecht (TALK
PAGE) 21:22, 4 June 2025 (UTC)
- I would also recommend moving this template to something like {{Chart display}} per WP:TPN, which says
template names are easiest to remember if they follow standard English spelling, spacing, and capitalization
. You might even want to look unto usurping {{Chart}} (which is currently an alias for {{Tree chart}}), but that would require updating 900 articles. --Ahecht (TALK
PAGE) 21:32, 4 June 2025 (UTC)- Yeah my original intent was to create a template called chart. I'll ask for a bot to usurp it. GalStar (talk) 23:58, 4 June 2025 (UTC)
Sandbox version
[edit]@GalStar I made a sandbox version at Template:ChartDisplay/sandbox that copies a lot of code from {{Graph:Lines}} and enables a thumbnail version. You can see it in action (and the syntax) at Template:ChartDisplay/testcases. I could probably pretty up the code a little, but it works for now. Only tricky bit was getting the thumbnail version to be well-behaved if a width wasn't specified. --Ahecht (TALK
PAGE) 01:32, 5 June 2025 (UTC)
- Thanks so much, I'm not really experienced in templates myself. I'll just copy it over. GalStar (talk) 02:54, 5 June 2025 (UTC)