Sandbox: Difference between revisions

From NixOS Wiki
imported>Fadenb
testing if as described on https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23if
imported>Fadenb
let's see if this kills the wiki irc bot (again :P )
Line 42: Line 42:
</nowiki>}}
</nowiki>}}


{{#if: | yes | no}}
{{#if: string | yes | no}}
{{#if:      | yes | no}}
{{#if: | yes | no}}
{{#if: string | yes | no}}
{{#if:      | yes | no}}
{{#if: | yes | no}}
{{#if: | yes | no}}
{{#if: string | yes | no}}
{{#if: string | yes | no}}
{{#if:      | yes | no}}
{{#if:      | yes | no}}

Revision as of 17:29, 6 September 2017

Sandbox

What is a sandbox?

The sandbox page in this wiki is intended to test thing and toy around with syntax and features. Do not expect your content to stay here very long as any registered user can overwrite it at any time.

Please keep this header intact and do all you testing below :)

test

Warning: Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.

Template:Notice This is a link to the meta-article Discussion: Discussion

Sand that box Shoop da whoop! Herp Derp


Pything highlighting test

def quickSort(arr): 
	less = []
	pivotList = []
	more = []
	if len(arr) <= 1:
		return arr
	else:
		pass
test.py
def quickSort(arr): 
	less = []
	pivotList = []
	more = []
	if len(arr) &lt;= 1:
		return arr
	else:
		pass

no yes no no yes no no yes no