Translate to English!

Voltar   MadTech - notícias, informática, reviews, tecnologia, descomplicadas! > Perguntas Frequentes

BB Code
BB code is a set of tags based on the HTML language that you may already be familiar with. They allow you to add formatting to your messages in the same way as HTML does, but have a simpler syntax and will never break the layout of the pages you are viewing. The ability to use BB code is set on a forum-by-forum basis by the administrator, so you should check the forum rules when you post a new message.

Below is a list of the BB code tags you can use to format your messages.
Lista de Códigos vB
[b], [i], [u] Bold / Italic / Sublinhado
[color] Cores
[size] Tamanho
[font] Fonte
[highlight] Destaque
[left], [right], [center] Left / Right / Center
[indent] Recorte
[email] Email
[url] Hiperligação
[thread] Thread Linking
[post] Post Linking
[list] Bulleted Lists / Advanced Lists
[img] Imagens
[code] Código
[php] Código PHP
[html] Código HTML
[quote] Quote
[noparse] Stop BB Code Parsing
[attach] Anexo
[flash] Flash
[hr] HR
[quicktime] Quicktime
[spoiler] Spoiler
[thumb] Thumbnailer2
[thumb] Thumbnailer
[youtube] YouTube
Incorrect BB Code Usage:
  • [url] www.example.com [/url] - don't put spaces between the bracketed code and the text you are applying the code to.
  • [email]myname@domain.com[email] - the end brackets must include a forward slash ([/email])

Bold / Italic / Sublinhado
Com os códigos [b], [i] e [u] você pode criar texto em bold, italic e sublinhado.
Use [b]valor[/b]
[i]valor[/i]
[u]valor[/u]
Exemplo de Uso [b]texto em bold[/b]
[i]texto em italic[/i]
[u]texto sublinhado[/u]
Como fica texto em bold
texto em italic
texto sublinhado

Cores
As tags [color] permitem-lhe que altere as cores do seu texto.
Use [color=Opção]valor[/color]
Exemplo de Uso [color=blue]este texto é azul[/color]
Como fica este texto é azul

Tamanho
A tag [size] permite-lhe escolher o tamanho do texto.
Use [size=Opção]valor[/size]
Exemplo de Uso [size=+2]texto duas vezes superior ao normal[/size]
Como fica texto duas vezes superior ao normal

Fonte
A tag [font] permite-lhe alterar a fonte do seu texto.
Use [font=Opção]valor[/font]
Exemplo de Uso [font=courier]texto usando a fonte courier[/font]
Como fica texto usando a fonte courier

Destaque
A tag [highlight] permite-lhe destacar o seu texto.
Use [highlight]valor[/highlight]
Exemplo de Uso [highlight]este texto está destacado[/highlight]
Como fica este texto está destacado

Left / Right / Center
As tags [left], [right] e [center] permitem-lhe escolher o alinhamento do texto.
Use [left]valor[/left]
[center]valor[/center]
[right]valor[/right]
Exemplo de Uso [left]texto alinhado à esquerda[/left]
[center]texto alinhado ao centro[/center]
[right]texto alinhado à direita[/right]
Como fica
texto alinhado à esquerda
texto alinhado ao centro
texto alinhado à direita

Recorte
A tag [indent] permite-lhe recortar o texto.
Use [indent]valor[/indent]
Exemplo de Uso [indent]este texto é recortado[/indent]
Como fica
este texto é recortado

Email
A tag [email] permite-lhe criar um link a um endereço de email. Pode também criar um parâmetro adicional para dar um 'nome' ao seu link.
Use [email]valor[/email]
[email=Opção]valor[/email]
Exemplo de Uso [email]j.doe@example.com[/email]
[email=j.doe@example.com]Clique aqui para me enviar um Email [/email]
Como fica j.doe@example.com
Clique aqui para me enviar um Email

Hiperligação
A tag [url] permite-lhe a ligação a outros websites e ficheiros. Pode ainda incluir um parâmetro adicional com o 'nome' do seu link.
Use [url]valor[/url]
[url=Opção]valor[/url]
Exemplo de Uso [url]http://www.madtech.com.pt/forum[/url]
[url=http://www.madtech.com.pt/forum]MadTech - notícias, informática, reviews, tecnologia, descomplicadas![/url]
Como fica http://www.madtech.com.pt/forum
MadTech - notícias, informática, reviews, tecnologia, descomplicadas!

Thread Linking
The [thread] tag allows you to link to threads by specifying the thread id. You can include an optional parameter to 'name' your link.
Use [thread]threadid[/thread]
[thread=threadid]valor[/thread]
Exemplo de Uso [thread]42918[/thread]
[thread=42918]Click Me![/thread]
(Note: The threadid/postid is just an example and may not link to a valid thread/post.)
Como fica http://www.madtech.com.pt/forum/showthread.php?t=42918
Click Me!

Post Linking
The [post] tag allows you to link to posts by specifying the post id. You can include an optional parameter to 'name' your link.
Use [post]postid[/post]
[post=postid]valor[/post]
Exemplo de Uso [post]269302[/post]
[post=269302]Click Me![/post]
(Note: The threadid/postid is just an example and may not link to a valid thread/post.)
Como fica http://www.madtech.com.pt/forum/showthread.php?p=269302#post269302
Click Me!

Bulleted Lists
The [list] tag allows you to create simple, bulleted lists without specifying an option. Within the value portion, each bullet is denoted by the [*] tag.
Use [list]valor[/list]
Exemplo de Uso [list]
[*]list item 1
[*]list item 2
[/list]
Como fica
  • list item 1
  • list item 2

Advanced Lists
The [list] tag allows you to create advanced lists by specifying an option. The option should have a value of 1 (for a numbered list) or A (for an alphabetic with capital letters list) or a (for an alphabetic with lowercase letters list) or I (for a numbered with capital Roman numeral list) or i (for a numbered with small Roman numeral list).
Use [list=Opção]valor[/list]
Exemplo de Uso [list=1]
[*]list item 1
[*]list item 2
[/list]

[list=a]
[*]list item 1
[*]list item 2
[/list]
Como fica
  1. list item 1
  2. list item 2
  1. list item 1
  2. list item 2

Imagens
A tag [img] permite que você coloque imagens nas suas mensagens. Também pode combinar esta tag com um [url] para criar links em imagens.
Use [img]valor[/img]
Exemplo de Uso [img]http://www.madtech.com.pt/forum/blueworld/statusicon/forum_new.gif[/img] (Sem ligação)

[url=http://www.example.com] [img]http://www.madtech.com.pt/forum/blueworld/statusicon/forum_new.gif[/img] [/url] (Com ligação)
Como fica (Sem ligação)

(Com ligação)

Código
The [code] tag switches to a fixed-width (monospace) font and preserves all spacing.
Use [code]valor[/code]
Exemplo de Uso [code]
<script type="text/javascript">
<!--
    alert("Hello world!");
//-->
</script>
[/code]
Como fica
Código:
<script type="text/javascript">
<!--
	alert("Hello world!");
//-->
</script>

Código PHP
The [php] tag performs the same function as the [code] tag, but also adds syntax highlighting for PHP code. Although it is designed for PHP, it may correctly highlight some other C-like languages.
Use [php]valor[/php]
Exemplo de Uso [php]
$myvar = 'Hello World!';
for ($i = 0; $i < 10; $i++)
{
    echo $myvar . "\n";
}
[/php]
Como fica
Código PHP :
$myvar 'Hello World!';
for (
$i 0$i 10$i++)
{
    echo 
$myvar "\n";


Código HTML
The [html] tag allows you to perform syntax highlighting for HTML code.
Use [html]valor[/html]
Exemplo de Uso [html]
<img src="image.gif" alt="image" />
<a href="testing.html" target="_blank">Testing</a>
[/html]
Como fica
Código HTML:
<img src="image.gif" alt="image" />
<a href="testing.html" target="_blank">Testing</a>

Quote
The [quote] tag allows you to attribute text to someone else.
Use [quote]Quote[/quote]
[quote=Nome]valor[/quote]
Exemplo de Uso [quote]Lorem ipsum dolor sit amet[/quote]
[quote=John Doe]Lorem ipsum dolor sit amet[/quote]
[quote=John Doe;83095]Lorem ipsum dolor sit amet[/quote]
Como fica
Quote:
Lorem ipsum dolor sit amet
Quote:
Mensagem Original de John Doe
Lorem ipsum dolor sit amet
Quote:
Mensagem Original de John Doe Ver Mensagem
Lorem ipsum dolor sit amet

Stop BB Code Parsing
The [noparse] tag allows you to stop the parsing of BB code.
Use [noparse][b]valor[/b][/noparse]
Exemplo de Uso [noparse][b]Lorem ipsum dolor sit amet[/b][/noparse]
Como fica [b]Lorem ipsum dolor sit amet[/b]

Anexo
The [attach] tag allows you to display an attachment in your post rather than at the bottom. It will only display attachments that belong to the post in which it is utilized.
Use [attach]attachmentid[/attach]
Exemplo de Uso [attach]12345[/attach]
Como fica

Flash
Introduz um ficheiro flash no fórum!
Use [flash=Opção]valor[/flash]
Exemplo de Uso [flash="width='480px' height='362px'"]http://www.xml.com/2002/01/23/svg/cubes.swf[/flash]
Como fica

HR
Use [hr]valor[/hr]
Exemplo de Uso [hr][/hr]
Como fica

Quicktime
Incluir videos quicktime no fórum
Use [quicktime]valor[/quicktime]
Exemplo de Uso [quicktime]http://movies.apple.com/movies/universal/wanted/wanted-tlr5_h.320.mov[/quicktime]
Como fica

Spoiler
Fará que o texto fique oculto até alguém passar o rato por cima!
Use [spoiler]valor[/spoiler]
Exemplo de Uso [spoiler]You can't see me![/spoiler]
Como fica SPOILER:
You can't see me!

Thumbnailer2
Insere um thumbnail na página
Use [thumb]valor[/thumb]
Exemplo de Uso [thumb]http://www.madtech.com.pt/forum/blueworld/gradients/mascote.png[/thumb]
Como fica

Thumbnailer
Gera um thumbnail de uma imagem grande
Use [thumb=Opção]valor[/thumb]
Exemplo de Uso [thumb="teste"]http://www.madtech.com.pt/forum/blueworld/gradients/mascote.png[/thumb]
Como fica

YouTube
Introduz um video Youtube no fórum!
Use [youtube]valor[/youtube]
Exemplo de Uso [youtube]V0ZIYvbiHdk[/youtube]
Como fica


São agora 20:00.


Powered by vBulletin Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
:: MadTech Team ® 2004-2010 ::