FrontPage 

TB Wiki

Login

TestProcessorTestBlockName in 'raw' format

Here is the test page for the 'YellowBlock' processor.

This processor puts the block contents into a fancy pale yellow box,
to higlight it.  Note that it processes the markup in the content.

== test named block ==
Here is the processor block:
{{{
{{{#!TestBlockName:myblock
block with a name - should have the name 'myblock'
}} }
}}}

The following sections should match:
----
Expected:

{{HTML(<pre>)}}block_name='TestProcessorTestBlockName:myblock'
Block content:
block with a name - should have the name 'myblock'
{{HTML(</pre>)}}

----
Got:

{{{#!TestBlockName:myblock
block with a name - should have the name 'myblock'
}}}

----

== test unnamed block ==
Here is the processor block:
{{{
{{{#!TestBlockName
block with no name - should have a numbered block name
}} }
}}}

The following sections should match:
----
Expected:

{{HTML(<pre>)}}block_name='TestProcessorTestBlockName:__block4'
Block content:
block with no name - should have a numbered block name
{{HTML(</pre>)}}

----
Got:

{{{#!TestBlockName
block with no name - should have a numbered block name
}}}
----











TBWiki engine 1.9.1 by Tim Bird