mirror of https://github.com/BOINC/boinc.git
34 lines
1.3 KiB
PHP
34 lines
1.3 KiB
PHP
|
<?php
|
||
|
require_once("../inc/util.inc");
|
||
|
|
||
|
page_head("BBCode tags");
|
||
|
?>
|
||
|
|
||
|
<p>BBCode tags are a way to specify what kind of formatting you want where on various
|
||
|
pages on this project. It's similar to HTML, although simplified for use here. The
|
||
|
tags start with a [ (where you would have used < in HTML) and stop with ] (where
|
||
|
you would have used > in HTML).</p>
|
||
|
<p>Examples:</p>
|
||
|
<ul>
|
||
|
<li>[b]Bold[/b] to <b>Bold</b></li>
|
||
|
<li>[i]Italic[/i] to <i>Italic</i></li>
|
||
|
<li>[u]Underline[/u] to <u>Underline</u></li>
|
||
|
<li>[size=15]Big text[/size] to <span style="font-size: 15px">Big text</span></li>
|
||
|
<li>[color=red]Red text[/color] to <font color="red">Red text</font></li>
|
||
|
<li>[url=http://google.com/]Google[/url] to <a href="http://google.com/">Google</a></li>
|
||
|
<li>[quote]Quoted[/quote] for quoted blocks of text</li>
|
||
|
<li>[img]http://some.web.site/pic.jpg[/img] to display an image</li>
|
||
|
<li>[code]Code snippet here[/code] to display some code</li>
|
||
|
<li>[pre]Pre-formatted text here[/pre] to display some pre-formatted text</li>
|
||
|
</ul>
|
||
|
<p>Lists are also possible:<br/>[list]<br/>*Item 1<br/>*Item 2<br/>[/list] to:</p>
|
||
|
<ul>
|
||
|
<li>Item 1</li>
|
||
|
<li>Item 2</li>
|
||
|
</ul>
|
||
|
<p>Please note if you mess up and don't close a tag or don't specify a parameter
|
||
|
correctly, the raw tag itself will display instead of the formatted text.</p>
|
||
|
<?
|
||
|
page_tail();
|
||
|
?>
|