FrontPage 

TB Wiki

Login

TestBlocks in 'raw' format

This page shows examples of text in a block, using the
triple-brace method of marking the block.

{{TableOfContents}}

= markup outside a block (non-preformat) =
This text should be displayed using
regular HTML formatting here (based on stardard TBWiki markup).
 * here's a '''bold''' bullet list item

The following should be shown:

= Preformat block =
{{{
This should be in preformat
    with indents and all

 * This should NOT be a '''bold''' bullet list item

here
 is
  a
   staircase
    of
     indents
}}}

= comment block / hidden block =
Now, try showing with a comment block:

In this section, there is a block in the page source.

The first line starts with a '#' symbol, which means the whole block is a
comment (or that it is hidden)

This is text '''before''' the comment/hidden block.

{{{#This is a comment that should be hidden on the page.

this text inside the block should not appear on the page,
except in raw and edit modes.

}}}

This is the text '''after''' the hidden block




= named block =

{{{Block1
This text is part of "Block1"
You could refer to externally as TestBlocks:Block1
}}}

there is also a hidden named block, right after this line:
{{{#Block2
This text will not appear, because of the leading '#' on the first line.
}}}

This block could be referred to externally as TestBlocks:Block2


= block start mid-line =

hi there {{{this is a block
}}}

This doesn't seem to be supported.

= block end mid-line =
{{{
a traditional opening, then ending
the block}}} in the middle of a line

Just in case that didn't work, put a close here:
}}}


= See also ==
See also [[TestProcessorGetBlock]]




TBWiki engine 1.9.2 by Tim Bird