User:Xenwolf/SandBox

Revision as of 16:02, 3 December 2020 by Xenwolf (talk | contribs) (Flag Emojis: new section)

Testing User:Xenwolf/Template:Cents

1901.955

1901.95500

10/9

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 47 of {{NUMBEROFACTIVEUSERS}} is obviously wrong (also on Special:Statistics), see Special:ActiveUsers for active users.

maybe related to:

Testing User:Xenwolf/Template:Primes in EDO

Approximation of primary intervals in 23 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)
Approximation of primary intervals in 26 EDO
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)
Approximation of primary intervals in 37 EDO
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:Signed

  • +6
  • +6.5
  • 0
  • -0.5
  • -5

Testing User:Xenwolf/Template:EDOs

I evaluate option(s) to only generate links to existing pages as a feature of Template:EDOs. Answer: No.

User:Xenwolf/Template:EDOs

  • done: leading zeros removed

101 1001edo

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&nbsp;}}|*|⋅}}
Output: {{#regex: 2^-4 ⋅ 3^4 ⋅ 5^-1|/(\d+)\s⋅\^\s⋅(-?\d+)(\s⋅\⋅\s⋅)?/|\1\2 \3 }}

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&nbsp;}}|*|⋅}}
Output: {{#regex: 2^2 ⋅ 5 ⋅ 11^-1|/(\d+)(?:\s⋅\^\s⋅(-?\d+))?(\s⋅\⋅\s⋅)?/|\1\2 \3 }}


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
}}
  • {{#regex: 2^−4 ⋅  3^4 ⋅  5^−1 |/(\d+)\s⋅ (?:(?:\⋅ \⋅ |\^)\s⋅ ([−−]?\d+))?\s⋅ (?:(\⋅ )\s⋅ |$)/u|\1\2 \3}}
  • {{#regex: 2^−4⋅ 3^4⋅ 5^−1|/(\d+)\s⋅ (?:(?:\⋅ \⋅ |\^)\s⋅ ([−−]?\d+))?\s⋅ (?:(\⋅ )\s⋅ |$)/u|\1\2 \3}}
  • {{#regex: 2^2 ⋅  5 ⋅  11^−1 |/(\d+)\s⋅ (?:(?:\⋅ \⋅ |\^)\s⋅ ([−−]?\d+))?\s⋅ (?:(\⋅ )\s⋅ |$)/u|\1\2 \3}}
  • {{#regex: 2^2⋅ 5⋅ 11^−1|/(\d+)\s⋅ (?:(?:\⋅ \⋅ |\^)\s⋅ ([−−]?\d+))?\s⋅ (?:(\⋅ )\s⋅ |$)/u|\1\2 \3}}
  • {{#regex: 2^2⋅ 

5⋅  11^−1 |/(\d+)\s⋅ (?:(?:\⋅ \⋅ |\^)\s⋅ ([−−]?\d+))?\s⋅ (?:(\⋅ )\s⋅ |$)/u|\1\2 \3}}

  • {{#regex: 2

^ 2 ⋅  5 ⋅  11 ^ −1 |/(\d+)\s⋅ (?:(?:\⋅ \⋅ |\^)\s⋅ ([−−]?\d+))?\s⋅ (?:(\⋅ )\s⋅ |$)/u|\1\2 \3}}

Initially hidden elements made visible

Is this possible at all?

ImageMap

 
the image being used

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.

 Kite GiedraitisJacob CollierAaron WolfCaleb RamseyKite Guitar
some text as description
 Kite GiedraitisJacob CollierAaron WolfCaleb RamseyKite Guitar
some text as description

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

 10/95/35/415/840/2110/715/1414/97/67/421/1616/94/31/13/29/832/218/712/79/728/157/521/2016/158/56/59/5

links to same page

(selflink) User:Xenwolf

Flag Emojis

https://emojipedia.org/flags/

Some Example Flags
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

In Unicode, these icons are displayed for valid combinations of Regional indicator symbols.

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