Template talk:ED intro

From Xenharmonic Wiki
Revision as of 18:45, 26 March 2025 by ArrowHead294 (talk | contribs) (Reply)
Jump to navigation Jump to search

Step size in cents

The current template includes the step size in cents, but precedes it with "about", which is only relevant when the step size is not a decimal number or has too many significant digits in its decimal expansion (e.g. 0.006103515625 ¢ per step of 196608edo).

We might want to tweak the template so that it detects when the written value of the cents is exact and when it is rounded to change the wording accordingly. I see that the template uses the default value for the sigfig template (3 significant figures), which seems fine to me (although it would be possible to add another parameter to override that if that is desired later). I might look into this when I have some time, but if anyone already knows how to fix this quickly, that would work too. --Fredg999 (talk) 21:11, 5 June 2022 (UTC)

Extract edo from pagename?

Something like the following shown below.

{{#regex:{{{{{1}}}|PAGENAME}}|([0-9]+)}}

It remains untested, however (and I'm not that well-versed with regexes). Ganaram inukshuk (talk) 08:09, 18 December 2023 (UTC)

I got it to work through {{ED title}} which extracts XedY from the page title. [math]\displaystyle{ \overrightarrow{\,\,\scriptsize\text{ArrowHead294}\,\,\,} }[/math] (speak to me) 18:45, 26 March 2025 (UTC)