User:Xenwolf/SandBox
Testing User:Xenwolf/Template:Cents
1901.955
1901.95500
Alignment of Table columns
{| class="wikitable left-1 center-2 right-3" |- ! Left-aligned ! Center-aligned ! Right-aligned |- | Word | 3/2 | 0.234 |- | More words | style="text-align:left" | 129/128 | 123.456 |}
Left-aligned | Center-aligned | Right-aligned |
---|---|---|
Word | 3/2 | 0.234 |
More words | 129/128 | 123.456 |
Number of active users
The value 2 of {{NUMBEROFACTIVEUSERS}}
is obviously wrong (also on Special:Statistics), see Special:ActiveUsers for active users.
maybe related to:
- {{NUMBEROFACTIVEUSERS}} remains stuck at 0 on Project:Support desk
- ⚓ T140079 {{NUMBEROFACTIVEUSERS}} doesn’t get updated when $wgMiserMode = false
Testing User:Xenwolf/Template:Primes in EDO
Prime number | 2 | 3 | 5 | 7 | 11 | 13 | 17 | 19 | 23 | |
---|---|---|---|---|---|---|---|---|---|---|
Error | absolute (¢) | 0.0 | -23.7 | -21.1 | +22.5 | +22.6 | -5.7 | -0.6 | +15.5 | -2.2 |
relative (%) | 0.0 | -45.4 | -40.4 | +43.1 | +43.3 | -11.0 | -1.2 | +29.8 | -4.2 | |
Degree (reduced) | 23 (0) | 36 (13) | 53 (7) | 65 (19) | 80 (11) | 85 (16) | 94 (2) | 98 (6) | 104 (12) |
Prime number | 2 | 3 | 5 | 7 | 11 | 13 | 17 | 19 | 23 | |
---|---|---|---|---|---|---|---|---|---|---|
Error | absolute (¢) | 0.0 | -9.6 | -17.1 | +0.4 | +2.5 | -9.8 | -12.6 | -20.6 | +17.9 |
relative (%) | 0.0 | -20.9 | -37.0 | +0.9 | +5.5 | -21.1 | -27.4 | -44.6 | +38.7 | |
Degree (reduced) | 26 (0) | 41 (15) | 60 (8) | 73 (21) | 90 (12) | 96 (18) | 106 (2) | 110 (6) | 118 (14) |
Prime number | 2 | 3 | 5 | 7 | 11 | 13 | 17 | 19 | 23 | |
---|---|---|---|---|---|---|---|---|---|---|
Error | absolute (¢) | 0.0 | +11.6 | +2.9 | +4.1 | 0.0 | +2.7 | -7.7 | -5.6 | -12.1 |
relative (%) | 0.0 | +35.6 | +8.9 | +12.8 | +0.1 | +8.4 | -23.6 | -17.3 | -37.2 | |
Degree (reduced) | 37 (0) | 59 (22) | 86 (12) | 104 (30) | 128 (17) | 137 (26) | 151 (3) | 157 (9) | 167 (19) |
This (or something similar) could be transformed into a subst template now. See Wikipedia: Help:Substitution for more on substitution.
Testing Template:Primes in edo
Prime number | 2 | 3 | 5 | 7 | 11 | 13 | 17 | 19 | 23 | |
---|---|---|---|---|---|---|---|---|---|---|
Error | absolute (¢) | +0.0 | -23.7 | -21.1 | +22.5 | +22.6 | -5.7 | -0.6 | +15.5 | -2.2 |
relative (%) | +0 | -45 | -40 | +43 | +43 | -11 | -1 | +30 | -4 | |
Steps (reduced) | 23 (0) | 36 (13) | 53 (7) | 65 (19) | 80 (11) | 85 (16) | 94 (2) | 98 (6) | 104 (12) |
Prime number | 2 | 3 | 5 | 7 | 11 | 13 | 17 | 19 | 23 | |
---|---|---|---|---|---|---|---|---|---|---|
Error | absolute (¢) | +0.0 | -9.6 | -17.1 | +0.4 | +2.5 | -9.8 | -12.6 | -20.6 | +17.9 |
relative (%) | +0 | -21 | -37 | +1 | +5 | -21 | -27 | -45 | +39 | |
Steps (reduced) | 26 (0) | 41 (15) | 60 (8) | 73 (21) | 90 (12) | 96 (18) | 106 (2) | 110 (6) | 118 (14) |
Prime number | 2 | 3 | 5 | 7 | 11 | 13 | 17 | 19 | 23 | |
---|---|---|---|---|---|---|---|---|---|---|
Error | absolute (¢) | +0.0 | +11.6 | +2.9 | +4.1 | +0.0 | +2.7 | -7.7 | -5.6 | -12.1 |
relative (%) | +0 | +36 | +9 | +13 | +0 | +8 | -24 | -17 | -37 | |
Steps (reduced) | 37 (0) | 59 (22) | 86 (12) | 104 (30) | 128 (17) | 137 (26) | 151 (3) | 157 (9) | 167 (19) |
Testing Template:Signed
- +6
- +6.5
- 0
- -0.5
- -5
Testing factor notation
This solution requires valid (and sensible) input, there is no intelligence on board that would be able to detect zero divisions like 0^-1
.
1st version with mandatory exponents
- Input:
2^-4 * 3^4 * 5^-1
- Code:
{{#replace:{{#regex: 2^-4 * 3^4 * 5^-1|/(\d+)\s*\^\s*(-?\d+)(\s*\*\s*)?/|\1<sup>\2</sup> \3 }}|*|⋅}}
- Output: 2-4 ⋅ 34 ⋅ 5-1
2nd version with optional exponents
- Input:
2^2 * 5 * 11^-1
- Code:
{{#replace:{{#regex: 2^2 * 5 * 11^-1|/(\d+)(?:\s*\^\s*(-?\d+))?(\s*\*\s*)?/|\1<sup>\2</sup> \3 }}|*|⋅}}
- Output: 22 ⋅ 5 ⋅ 11-1
User:Arseniiv/Factorization
* {{User:Arseniiv/Factorization| 2^-4 * 3^4 * 5^-1 }} * {{User:Arseniiv/Factorization|2^-4*3^4*5^-1}} * {{User:Arseniiv/Factorization| 2^2 * 5 * 11^-1 }} * {{User:Arseniiv/Factorization|2^2*5*11^-1}} * {{User:Arseniiv/Factorization |2^2* 5* 11^-1 }} * {{User:Arseniiv/Factorization |2 ^ 2 * 5 * 11 ^ -1 }}
- 2−4 ⋅ 34 ⋅ 5−1
- 2−4 ⋅ 34 ⋅ 5−1
- 22 ⋅ 5 ⋅ 11−1
- 22 ⋅ 5 ⋅ 11−1
- 22 ⋅ 5 ⋅ 11−1
- 22 ⋅ 5 ⋅ 11−1
Is this possible at all?
ImageMap
This is just a short check, not an elaborated example, that's why I use only rectangles, not polygons to surround people and guitar. Also the positions are all but exact.
Image maps kind of work, but the there is something wrong with the info icon. Also the appearance on Special:Version is a bit strange, there is no version information for ImageMap. I'd guess there is a bad interference with EmbedVideo. Also, when using it with thumb or frame, there is no icon in the description (as is observable with all images on this wiki).
Color notation map
links to same page
Flag Emojis
Emoji | 1st part | 2nd part |
---|---|---|
🇷🇺 | 🇷 U+1F1F7 | 🇺 U+1F1FA |
🇬🇧 | 🇬 U+1F1EC | 🇧 U+1F1E7 |
🇻🇪 | 🇻 U+1F1FB | 🇪 U+1F1EA |
🇫🇷 | 🇫 U+1F1EB | 🇷 U+1F1F7 |
🇸🇪 | 🇸 U+1F1F8 | 🇪 U+1F1EA |
🇳🇴 | 🇳 U+1F1F3 | 🇴 U+1F1F4 |
🇦🇺 | 🇦 U+1F1E6 | 🇺 U+1F1FA |
🇦🇹 | 🇦 U+1F1E6 | 🇹 U+1F1F9 |
🇩🇪 | 🇩 U+1F1E9 | 🇪 U+1F1EA |
🇨🇳 | 🇨 U+1F1E8 | 🇳 U+1F1F3 |
🇺🇳 | 🇺 U+1F1FA | 🇳 U+1F1F3 |
🇺🇸 | 🇺 U+1F1FA | 🇸 U+1F1F8 |
🇮🇹 | 🇮 U+1F1EE | 🇹 U+1F1F9 |
🇪🇸 | 🇪 U+1F1EA | 🇸 U+1F1F8 |
🇯🇵 | 🇯 U+1F1EF | 🇵 U+1F1F5 |
🇨🇱 | 🇨 U+1F1E8 | 🇱 U+1F1F1 |
🇪🇺 | 🇪 U+1F1EA | 🇺 U+1F1FA |
In Unicode, these icons are displayed for valid combinations of Regional indicator symbols.
Icon | Code point |
---|---|
🇦 | U+1F1E6 |
🇧 | U+1F1E7 |
🇨 | U+1F1E8 |
🇩 | U+1F1E9 |
🇪 | U+1F1EA |
🇫 | U+1F1EB |
🇬 | U+1F1EC |
🇭 | U+1F1ED |
🇮 | U+1F1EE |
🇯 | U+1F1EF |
🇰 | U+1F1F0 |
🇱 | U+1F1F1 |
🇲 | U+1F1F2 |
🇳 | U+1F1F3 |
🇴 | U+1F1F4 |
🇵 | U+1F1F5 |
🇶 | U+1F1F6 |
🇷 | U+1F1F7 |
🇸 | U+1F1F8 |
🇹 | U+1F1F9 |
🇺 | U+1F1FA |
🇻 | U+1F1FB |
🇼 | U+1F1FC |
🇽 | U+1F1FD |
🇾 | U+1F1FE |
🇿 | U+1F1FF |
Calculate EDO props for boilerplate code
For boilerplates:
{{subst:#regex:{{subst:PAGENAME}}|/(\S+)\/(\S+)/|\1-\2}}
- Steps from page name
Codes:
{{#regex:12edo|/(\d+)-?EDO/i|\1}}
{{#regex:13-EDO|/(\d+)-?EDO/i|\1}}
Results:
- 12
- 13
- Step size from page name
Codes:
{{#number_format:{{#expr:1200/{{#regex:12edo|/(\d+)-?EDO/i|\1}}}}|3}}
{{#number_format:{{#expr:1200/{{#regex:13-EDO|/(\d+)-?EDO/i|\1}}}}|3}}
Results
- 100.000
- 92.308
Finding Step size
parameter values with units attached
* 1 {{#if:{{#regex:{{{Step size|12.7¢}}}|/[\d.]+(.*)/|\1}}|YES!}} * 2 {{#if:{{#regex:12.7|/[\d.]+(.*)/|\1}}|YES!}} * 3 {{#if:{{#regex:|/[\d.]+(.*)/|\1}}|YES!}}
Output:
- 1 YES!
- 2
- 3
Include File:Space Tour.mp3/Description
By placing {{File:Space Tour.mp3/Description}}
into a page, the content gets included:
This song has a story to go with it, and the story goes like this:
You pay to get on a spaceship to take a tour of some parts of space, and as you're getting ready, you imagine all the kinds of sights you'll see and that you'll have the experience of a lifetime, but after you arrive at the spaceport, you hear rumors about the company running the tour, and not the good kind. As you see many and various beautiful sights, ranging from nebulae, to strange planets and other things at different stops along the tour, and even take your share of pictures, you take time to reflect on what you'll tell your family back home about what you've seen. At the same time, you can't help but wonder about the rumors floating around. Eventually you overhear some of the staff talking about problems with the ship, and dissing the company for negligence. Sure enough, the ship is forced to turn around and head back to Earth, but as they arrive, suddenly, things start going wrong with the ship, and you're forced to get into an escape pod. After ejecting from the ship, your escape pod lands in the forest somewhere in Canada, and worse, the GPS on the escape pod that would otherwise alert rescuers to your position is busted, so you're effectively stranded. Eventually, however, you are found, and after a long string of interviews about your experience, you finally return home in one piece, but not without having had the experience of a lifetime and acquiring a mild case of PTSD.
As to which EDO is being used or mimicked where:
00:00-00:14 | 1edo | |
00:14-01:12 | 12edo | |
01:12-01:27 | 2edo | |
01:27-02:25 | 14edo | |
02:25-02:39 | 1edo | |
02:39-03:54 | 17edo | |
03:54-04:53 | 19edo | |
04:53-05:07 | 1edo | |
05:07-07:16 | 22edo | |
07:16-07:30 | 1edo | |
07:30-09:29 | 24edo | |
09:29-09:43 | 1edo | |
09:43-10:41 | 27edo | |
10:41-10:56 | 1edo | |
10:56-11:53 | 31edo | |
11:53-12:07 | 159edo | tonicization of note located roughly 11/8 above the original tonic |
12:07-13:19 | 35edo | |
13:19-14:32 | 41edo | |
14:32-14:52 | 159edo | tonicization of note located roughly 224/135 above the original tonic |
14:52-17:04 | 53edo | |
17:04-17:22 | 159edo | tonicization of original tonic |
17:22-20:21 | 159edo | diatonic key with added 11/8, 13/8, and 55/32 |
At the end of the day, it appears that 159edo really is quite a sophisticated and expressive music system.
Autofill parameters for template:Infobox ET
todo.
All parameters could be omitted:
- Step count (P8) can be extracted from the page name
- Step size can be calculated := 1200/P8
- Fifth (P5) can be calculated, it's the patent fifth: P5 := round(log2(3/2) * P8)
- M2, m2, and A1 can be calculated from P8 and P5
Some EDOs may have an auxiliary Fifth!
✎ User:Xenwolf/SandBox (section)
✎ User:Xenwolf/SandBox (section)
Testing User:Xenwolf/Template:TestDefPar
Prime number | 2 | 3 | 5 | 7 | 11 | 13 | 17 | 19 | |
---|---|---|---|---|---|---|---|---|---|
Error | absolute (¢) | +0.0 | -9.6 | +6.0 | +0.4 | +2.5 | -9.8 | +10.4 | +2.5 |
relative (%) | +0 | -42 | +26 | +2 | +11 | -42 | +45 | +11 | |
Steps (reduced) | 52 (0) | 82 (30) | 121 (17) | 146 (42) | 180 (24) | 192 (36) | 213 (5) | 221 (13) |
Prime number | 2 | 3 | 5 | 7 | 11 | 13 | 17 | 19 | |
---|---|---|---|---|---|---|---|---|---|
Error | absolute (¢) | +0.00 | -0.07 | -1.41 | +4.76 | -7.92 | -2.79 | +8.25 | -3.17 |
relative (%) | +0 | -0 | -6 | +21 | -35 | -12 | +36 | -14 | |
Steps (reduced) | 53 (0) | 84 (31) | 123 (17) | 149 (43) | 183 (24) | 196 (37) | 217 (5) | 225 (13) |
Prime number | 2 | 3 | 5 | 7 | 11 | 13 | 17 | 19 | |
---|---|---|---|---|---|---|---|---|---|
Error | absolute (¢) | +0.00 | +0.71 | -0.76 | +0.76 | +0.77 | -0.98 | -0.01 | -0.94 |
relative (%) | +0 | +31 | -33 | +33 | +34 | -43 | -1 | -41 | |
Steps (reduced) | 526 (0) | 834 (308) | 1221 (169) | 1477 (425) | 1820 (242) | 1946 (368) | 2150 (46) | 2234 (130) |
Prime number | 2 | 3 | 5 | 7 | 11 | 13 | 17 | 19 | |
---|---|---|---|---|---|---|---|---|---|
Error | absolute (¢) | +0.000 | -0.627 | +0.783 | -1.084 | -0.274 | -0.300 | -0.212 | +0.779 |
relative (%) | +0 | -28 | +34 | -48 | -12 | -13 | -9 | +34 | |
Steps (reduced) | 527 (0) | 835 (308) | 1224 (170) | 1479 (425) | 1823 (242) | 1950 (369) | 2154 (46) | 2239 (131) |
Prime number | 2 | 3 | 5 | 7 | 11 | 13 | 17 | 19 | |
---|---|---|---|---|---|---|---|---|---|
Error | absolute (¢) | +0.000 | +0.078 | -0.070 | -0.025 | +0.003 | -0.094 | -0.072 | +0.036 |
relative (%) | +0 | +34 | -31 | -11 | +1 | -41 | -32 | +16 | |
Steps (reduced) | 5263 (0) | 8342 (3079) | 12220 (1694) | 14775 (4249) | 18207 (2418) | 19475 (3686) | 21512 (460) | 22357 (1305) |
Prime number | 2 | 3 | 5 | 7 | 11 | 13 | 17 | 19 | |
---|---|---|---|---|---|---|---|---|---|
Error | absolute (¢) | +0.0000 | -0.0553 | +0.0845 | +0.0191 | -0.1021 | -0.0261 | -0.0922 | -0.0206 |
relative (%) | +0 | -24 | +37 | +8 | -45 | -11 | -40 | -9 | |
Steps (reduced) | 5264 (0) | 8343 (3079) | 12223 (1695) | 14778 (4250) | 18210 (2418) | 19479 (3687) | 21516 (460) | 22361 (1305) |