User:Spacing form/sandbox: Difference between revisions
Content added Content deleted
Spacing form (talk | contribs) (→Tests) Tags: Mobile edit Mobile web edit |
Spacing form (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
Please dont delete this page while I'm still working on it. |
Please dont delete this page while I'm still working on it. |
||
Edit -> [[Module:Sandbox/Spacing form/Point?action=edit]] |
|||
No links... :') |
|||
== |
==Module== |
||
{{#invoke:Point|set|12|34}} |
|||
I've looked into custom Modules aswell, but the thought of learning a new programming language is daunting to me, so ParserFunctions first. |
|||
{{#invoke:Point|print}} |
|||
===String=== |
|||
==Old Tests== |
|||
The word "module" has {{#invoke:String|len|module}} letters. |
The word "module" has {{#invoke:String|len|module}} letters. |
||
Line 18: | Line 20: | ||
I can lazy? {{#len:module}} {{#pos:module|1}} {{#replace:Mississippi|ss|ß}} |
I can lazy? {{#len:module}} {{#pos:module|1}} {{#replace:Mississippi|ss|ß}} |
||
===Variables=== |
|||
{{#vardefine:color|red}} |
{{#vardefine:color|red}} |
||
{{#varexists:color|I saw a {{#var:color}} bull today.|I saw nothing.}}{{#vardefine:color|green}} {{#varexists:action|But then it {{#var:action}}.}} |
{{#varexists:color|I saw a {{#var:color}} bull today.|I saw nothing.}}{{#vardefine:color|green}} {{#varexists:action|But then it {{#var:action}}.}} |
||
===Arrays=== |
|||
{{#arraydefine:arr|12,34,abc}} |
{{#arraydefine:arr|12,34,abc}} |
||
{{#arrayprint:arr}} |
{{#arrayprint:arr}} |
||
===Loops=== |
|||
{{#arraydefine:sizes|36,32,28,24,20,16,12}} |
|||
{{#loop:i|0|7| |<span style="font-size:{{#arrayindex:sizes|{{#var:i}}}}px;">RUMM</span>}} goes the thunder. |
|||
---- |
---- |
Revision as of 11:35, 8 March 2024
Please dont delete this page while I'm still working on it.
Edit -> Module:Sandbox/Spacing form/Point?action=edit
Module
Script error: No such module "Point".
Script error: No such module "Point".
Old Tests
The word "module" has 6 letters.
The character at index 1 is "m"
Supports UTF-8. Mißißippi[1]
A "Scribunto ustring pattern": Penrose is Penrose is Penrose.
I can lazy? 6 Mißißippi
I saw a red bull today.
12, 34, abc
- ↑ (actually incorrect)