User:Spacing form/sandbox: Difference between revisions

From TestWiki
Content added Content deleted
(→‎Module: Added Todo's)
Tags: Mobile edit Mobile web edit
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Note: the parser #css seems to be deprecated, will search for a up-to-date solution -->
Please dont delete this page while I'm still working on it.
{{#css:
.kename {
color: green;
font-family: Times;
}
.larame {
border: 2px dotted green;
}
}}


Will continue to edit this on and off for a while.
Edit -> [[Module:Sandbox/Spacing form/Point]]

Using [[Module:Sandbox/Spacing form/Point]] and [[Module:Sandbox/Spacing form/Point/pivots]]


==Module==
==Module==


Sometimes the page uses cached data and shows outdated result. To update the contents, purge, refresh, or make a faux edit.
The red error text is starting to creep into my nightmares. Good thing the function is finally working.


<svg xmlns="https://www.w3.org/2000/svg" width="100" height="100" style="border:1px solid black">
Verified: {{#invoke:Sandbox/Spacing form/Point|printRepr|12|34}}
<rect x="10" y="10" width="50" height="50" stroke="blue" fill="purple"/>
<text>Why</text></svg>


(The one below is wrong)
===Todo===


{{#invoke:Sandbox/Spacing_form/Point|displayGlyph|ba}}
*Try out <code>mw .loadData()</code>
*Check the manual about Scribunto-wikitable integration (or something along these lines)
*Carry tests offline. I've installed Lua on my machine, but it seems I have to connect it to a Scribunto/MediaWiki emulator.
*Fun, e.g. <code>@keyframes</code> (will not actually be used on a serious page)


----
==Old Tests==


{{#invoke:Sandbox/Spacing_form/Point|printDiv}}
The word "module" has {{#invoke:String|len|module}} letters.


{{#invoke:Sandbox/Spacing_form/Point|printParagraphs|The Logs are delicious.|Now that's what a real Wikipeian would say.}}
The character at index 1 is "{{#invoke:String|pos|module|1}}"


The thunder went {{#invoke:Sandbox/Spacing_form/Point|printRepeat|rumble|6}}.
Supports UTF-8. {{#invoke:String|replace|Mississippi|ss|ß}}<ref>(actually incorrect)</ref>


{{#invoke:Sandbox/Spacing_form/Point|printRepr|246400|-17200|Bob}}
A "Scribunto ustring pattern": {{#invoke:String|replace|A rose is a rose is a rose.|[Aa]%s|Pen|plain=false}}


{{#invoke:Sandbox/Spacing_form/Point|printRepr|-46800|-129200|name=Potato}}
I can lazy? {{#len:module}} {{#pos:module|1}} {{#replace:Mississippi|ss|ß}}


{{#invoke:Sandbox/Spacing_form/Point|printRepr|name=Potatoe|x=-46800|y=-129200}}
{{#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}}.}}


{{#len:module}} {{#pos:module|1}} {{#replace:Mississippi|ss|ß}}
{{#arraydefine:arr|12,34,abc}}
{{#arrayprint:arr}}


{{#vardefine:color|red}}{{#varexists:color|I saw a {{#var:color}} bull today.|I saw nothing.}}{{#vardefine:color|green}} {{#varexists:color|But then it turned {{#var:color}}.}}
----

<!-- #arraydefine, #arrayprint... -->

Latest revision as of 15:51, 26 April 2024


Will continue to edit this on and off for a while.

Using Module:Sandbox/Spacing form/Point and Module:Sandbox/Spacing form/Point/pivots

Module

Sometimes the page uses cached data and shows outdated result. To update the contents, purge, refresh, or make a faux edit.

<svg xmlns="https://www.w3.org/2000/svg" width="100" height="100" style="border:1px solid black"> <rect x="10" y="10" width="50" height="50" stroke="blue" fill="purple"/> <text>Why</text></svg>

(The one below is wrong)

Lua error in Module:Sandbox/Spacing_form/Point at line 54: attempt to index global 'args' (a nil value).


Don't reinvent the wheel. Exceptions can be made.

The Logs are delicious.

Now that's what a real Wikipeian would say.

The thunder went rumblerumblerumblerumblerumblerumble.

(246400,-17200) is Bob's latest position


(-46800,-129200) is Potato's latest position


(-46800,-129200) is Potatoe's latest position



6 Mißißippi

I saw a red bull today. But then it turned green.