Sandbox_transforms 

TB Wiki

Login

Sandbox in 'raw' format

{{TableOfContents}}

This '''page''' is for testing things.  Please feel free to edit or change
anything here.

= file upload =
 * [[file:foo.txt]]

= test bullets and headers =
 * see [[TestBulletsAndHeaders]]

= IfNotAdmin =
Here is a message showing Admin status:

{{IfAdmin(You ARE an admin)}}
{{IfNotAdmin(You are NOT an admin)}}

Above this line should either be a message about Admins or Non-Admins.

= table with ROUND =
{{{#!Table
is_spreadsheet=1
||number    ||formula      ||result||expected||
||12.00001  ||f=ROUND($.number,2)||=ROUND($.number,2)||12.00||
||15.12468  ||f=ROUND($.number,1)||=ROUND($.number,1)||15.1||
||15.12468  ||f=ROUND($.number,2)||=ROUND($.number,2)||15.12||
||15.12468  ||f=ROUND($.number,3)||=ROUND($.number,3)||15.125||
||15.12468  ||f=ROUND($.number,4)||=ROUND($.number,4)||15.1247||
||literal   ||f=ROUND(23.149,1)  ||=ROUND(23.149,1)  ||23.1||
||literal   ||f=ROUND(23.149,2)  ||=ROUND(23.149,2)  ||23.15||
}}}

= ExternalCmdExample =
Here is an example of running the ExternCmdExample processor:

Here is an 'ls' example:
{{{#!ExternalCmdExample
cmd=ls
long=1
}}}

----
Here is a 'bc' example:
{{{#!ExternalCmdExample
cmd=bc
----
12.6 * 3.14159
}}}

The line above should show: 39.58403

----
Here is a 'cat' example:
{{{#!ExternalCmdExample
cmd=cat
----
This data goes into a temp file, which is cat'ed back out.
}}}

The line above should read "This data goes into a temp file, which is cat'ed back out.
Here is more stuff I added in the processor.



Help page: [[https://bird.org/tbwiki/Sandbox?action=ExternalCmdExample.help|ExternalCmdExample.help]]
= section 1 =

This is section 1
Here is a link to section 3:
 * [[Sandbox#section_3|section 3]]

Here is another link to section 3:
 * [[#section_3|section 3]]

The above anchor link to the same page should work, and it does!

= section 2 =

This is section 2.  It has a block with lots of lines in it.

{{{
lots more text in a block to cause lots of lines
lots more text in a block to cause lots of lines
lots more text in a block to cause lots of lines
lots more text in a block to cause lots of lines
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
abc
}}}


= section 3 =

This is section 3

Some more test material

= section 4 =

This tests a compact hidden block:

There is a block between this line

{{{# compact hidden block
}}}

and this line

= try some data elements =
 * TBWIKI git_describe = %(git_describe)s






TBWiki engine 2.0.1 by Tim Bird