Nathan's Mission Blog

Login

YellowBlock Help

The YellowBlock processor places tbwiki-formated text into a colored section on the page, that runs with width of the page. This offsets the material from the rest of the page text. Note that any markup in the block content is interpreted. Section markup should not be used, and any markup that is opened in the block content should be closed within the content as well (or it will bleed into the rest of the page - outside the block content).

If the first line of the content consists of the string 'color=' followed by a color name or code, then that color will be used for the box background instead of light yellow. The color name can be one of the standard web color names, or a 6-digit hex code, preceded by '#'.

For example:

{{{#!YellowBlock
 * This is tbiki-formatted text
 * Here's another text line
}} }

will be shown on a yellow background, like so:

  • This is tbiki-formatted text
  • Here's another text line


{{{#!YellowBlock
color=#ff8080
  This markup ''definitely is''
    interpreted.
}} }

This markup definitely is interpreted.

should show on a red background.


{{{#!YellowBlock
color=lightskyblue
Such a pretty background
color
}} }

Such a pretty background color

should show on a Light Sky Blue background.

See https://www.w3schools.com/colors/colors_names.asp for color names.

TBWiki engine 1.9.2 by Tim Bird