Template talk:ED intro

Revision as of 22:20, 26 March 2025 by Ganaram inukshuk (talk | contribs) (Extract edo from pagename?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)
This was a problem from one and a half years ago that had already been solved through lua code. If anything, adding ED title adds an unnecessary step. Ganaram inukshuk (talk) 22:20, 26 March 2025 (UTC)
Return to "ED intro" page.