User:Spacing form/sandbox: Difference between revisions

From TestWiki
Content added Content deleted
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
 
(12 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.
More red errors to come... not afraid (2666.png)


<svg xmlns="https://www.w3.org/2000/svg" width="100" height="100" style="border:1px solid black">
{{#invoke:Sandbox/Spacing_form/Point|setCoords|77|153}}{{#invoke:Sandbox/Spacing_form/Point|printCoords}}
<rect x="10" y="10" width="50" height="50" stroke="blue" fill="purple"/>
<text>Why</text></svg>


(The one below is wrong)
{{#invoke:Sandbox/Spacing_form/Point|printRepr|27279|-27916}}


{{#invoke:Sandbox/Spacing form/Point|printRepr|12|34}}
{{#invoke:Sandbox/Spacing_form/Point|displayGlyph|ba}}


----
'''Contents of the module table'''


{{#invoke:Sandbox/Spacing_form/Point|printContent}}
{{#invoke:Sandbox/Spacing_form/Point|printDiv}}


{{#invoke:Sandbox/Spacing_form/Point|printParagraphs|The Logs are delicious.|Now that's what a real Wikipeian would say.}}
===Todo===


The thunder went {{#invoke:Sandbox/Spacing_form/Point|printRepeat|rumble|6}}.
*Try out <code>mw .loadData()</code>
*Check the manual about Scribunto-wikitable integration (or something along these lines)
*Fun, e.g. <code>@keyframes</code> (will not actually be used on a serious page)


{{#invoke:Sandbox/Spacing_form/Point|printRepr|246400|-17200|Bob}}
==Old Tests==


{{#invoke:Sandbox/Spacing_form/Point|printRepr|-46800|-129200|name=Potato}}
The word "module" has {{#invoke:String|len|module}} letters.


{{#invoke:Sandbox/Spacing_form/Point|printRepr|name=Potatoe|x=-46800|y=-129200}}
The character at index 1 is "{{#invoke:String|pos|module|1}}"


----
Supports UTF-8. {{#invoke:String|replace|Mississippi|ss|ß}}<ref>(actually incorrect)</ref>


{{#len:module}} {{#pos:module|1}} {{#replace:Mississippi|ss|ß}}
A "Scribunto ustring pattern": {{#invoke:String|replace|A rose is a rose is a rose.|[Aa]%s|Pen|plain=false}}


{{#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}}.}}
I can lazy? {{#len:module}} {{#pos:module|1}} {{#replace:Mississippi|ss|ß}}


<!-- #arraydefine, #arrayprint... -->
{{#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}}.}}

{{#arraydefine:arr|12,34,abc}}
{{#arrayprint:arr}}

----

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.