User:Xenwolf/SandBox: Difference between revisions
→Testing User:Xenwolf/Template:TestDefPar: new section |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 54: | Line 54: | ||
This (or something similar) could be transformed into a subst template now. See [[Wikipedia: Help:Substitution]] for more on substitution. | 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]] == | |||
{{Primes in edo|columns=9|23}} | |||
{{Primes in edo|columns=9|26}} | |||
{{Primes in edo|columns=9|37}} | |||
== Testing [[Template:Signed]] == | == Testing [[Template:Signed]] == | ||
Line 62: | Line 68: | ||
* {{signed|-0.5}} | * {{signed|-0.5}} | ||
* {{signed|-5}} | * {{signed|-5}} | ||
== Testing factor notation == | == Testing factor notation == | ||
Line 263: | Line 254: | ||
|- | |- | ||
| 🇨🇱 || 🇨 U+1F1E8 || 🇱 U+1F1F1 | | 🇨🇱 || 🇨 U+1F1E8 || 🇱 U+1F1F1 | ||
|- | |||
| 🇪🇺 || 🇪 U+1F1EA || 🇺 U+1F1FA | |||
|} | |} | ||
Line 348: | Line 341: | ||
Finding <code>Step size</code> parameter values with units attached | Finding <code>Step size</code> parameter values with units attached | ||
<nowiki>{{#regex: | <nowiki>* 1 {{#if:{{#regex:{{{Step size|12.7¢}}}|/[\d.]+(.*)/|\1}}|YES!}} | ||
{{#regex:12|/\d+(.*)/|\1}} | * 2 {{#if:{{#regex:12.7|/[\d.]+(.*)/|\1}}|YES!}} | ||
</nowiki> | * 3 {{#if:{{#regex:|/[\d.]+(.*)/|\1}}|YES!}}</nowiki> | ||
Output: | |||
* 1 {{#if:{{#regex:{{{Step size|12.7¢}}}|/[\d.]+(.*)/|\1}}|YES!}} | |||
* 2 {{#if:{{#regex:12.7|/[\d.]+(.*)/|\1}}|YES!}} | |||
* 3 {{#if:{{#regex:|/[\d.]+(.*)/|\1}}|YES!}} | |||
== Include [[:File:Space Tour.mp3/Description]] == | |||
By placing <code><nowiki>{{File:Space Tour.mp3/Description}}</nowiki></code> into a page, the content gets included: | |||
{{File:Space Tour.mp3/Description}} | |||
== 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! | |||
== <abbr title="You are editing">✎</abbr> User:Xenwolf/SandBox (section) == | |||
<abbr title="You are editing">✎</abbr> User:Xenwolf/SandBox (section) | |||
== Testing [[User:Xenwolf/Template:TestDefPar]] == | |||
{{ | {{User:Xenwolf/Template:TestDefPar|52}} | ||
{{ | {{User:Xenwolf/Template:TestDefPar|53}} | ||
{{User:Xenwolf/Template:TestDefPar|526}} | |||
{{User:Xenwolf/Template:TestDefPar|527}} | |||
{{User:Xenwolf/Template:TestDefPar|5263}} | |||
{{User:Xenwolf/Template:TestDefPar|5264}} |