.
require_once("../inc/util.inc");
check_get_args(array());
page_head(tra("BBCode tags"));
echo "
".tra("BBCode tags let you format text in your profile and message-board postings.
It's similar to HTML, but simpler. The tags start with a [ (where you would
have used %1 in HTML) and end with ] (where you would have used %2 in
HTML).", "<", ">")."
";
start_table();
row1(tra("Examples"));
row2_plain("[b]".tra("Bold")."[/b]", "".tra("Bold")."");
row2_plain("[i]".tra("Italic")."[/i]", "".tra("Italic")."");
row2_plain("[u]".tra("Underline")."[/u]", "".tra("Underline")."");
row2_plain("[s]".tra("Strikethrough")."[/s]", "".tra("Strikethrough")."");
row2_plain("[sup]".tra("Superscript")."[/sup]", "X".tra("Superscript")."");
row2_plain("[size=15]".tra("Big text")."[/size]", "".tra("Big text")."");
row2_plain("[color=red]".tra("Red text")."[/color]", "".tra("Red text")."");
row2_plain("[url=http://google.com/]".tra("link to website")."[/url]", "".tra("link to website")."");
row2_plain("[quote]".tra("Quoted text")."[/quote]", tra("use for quoted blocks of text"));
row2_plain("[img]http://example.com/pic.jpg[/img]", tra("use to display an image"));
row2_plain("[code]".tra("Code snippet here")."[/code]", tra("use to display some code"));
row2_plain("[pre]".tra("Pre-formatted text")."[/pre]", tra("use to display pre-formatted (usually monospaced) text"));
row2_plain("[list]
* ".tra("Item 1")."
* ".tra("Item2")."
[/list]", "- ".tra("Item 1")."
- ".tra("Item 2")."
");
row2_plain("[trac]#1[/trac] or [trac]ticket:1[/trac]",
tra("use to link to Trac ticket on BOINC website").": #1");
row2_plain("[trac]wiki:WebForum[/trac]",
tra("use to link to Trac Wiki on BOINC website").": WebForum");
end_table();
echo "
".tra("If you don't close a tag or don't specify a parameter correctly,
the raw tag itself will display instead of the formatted text.")."
";
page_tail();
?>