TestProcessorTestBlockName in split format
Here is the test page for the 'YellowBlock' processor.
|
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.
|
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:
|
The following sections should match:
----
Expected:
|
block_name='TestProcessorTestBlockName:myblock'
Block content:
block with a name - should have the name 'myblock'
|
{{HTML(<pre>)}}block_name='TestProcessorTestBlockName:myblock'
Block content:
block with a name - should have the name 'myblock'
{{HTML(</pre>)}}
|
----
Got:
|
----
Got:
|
block_name='TestProcessorTestBlockName:myblock
block with a name - should have the name 'myblock'
}}}'
Block content:
|
{{{#!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:
|
The following sections should match:
----
Expected:
|
block_name='TestProcessorTestBlockName:__block4'
Block content:
block with no name - should have a numbered block name
|
{{HTML(<pre>)}}block_name='TestProcessorTestBlockName:__block4'
Block content:
block with no name - should have a numbered block name
{{HTML(</pre>)}}
|
----
Got:
|
----
Got:
|
|
{{{#!TestBlockName
block with no name - should have a numbered block name
}}}
----
|