[B], [I], [U], [S] - Negrito, itálico, sublinhado e riscado
Torna o texto encadernado em negrito, itálico, sublinhado ou riscado.
Exemplo:
Este é o texto [B]negrito[/B].
Este é o texto [I]itálico[/I].
Este é o texto [U]sublinhado[/U].
Este é o texto [S]riscado[/S].
Saída:
Este é o texto negrito.
Este é o texto itálico.
Este é o texto sublinhado.
Este é o texto riscado.
[COLOR=color], [FONT=name], [SIZE=size] - Cor do texto, Fonte e Tamanho
Altera a cor, a fonte ou o tamanho do texto encapsulado.
Exemplo:
Este é o texto [COLOR=red]vermelho[/COLOR] e [COLOR=#0000cc]azul[/COLOR].
Este é o texto [FONT=Courier New]Courier New[/FONT].
Este é o texto [SIZE=1]pequeno[/SIZE] e [SIZE=7]grande[/SIZE].
Saída:
Este é o texto vermelho e azul.
Este é o texto Courier New.
Este é o texto pequeno e grande.
[URL], [EMAIL] - Vinculando
Cria um link usando o texto encapsulado como o destino.
Marks text as a structured heading to facilitate machine readability.
Exemplo:
[HEADING=1]Major heading[/HEADING]
This text comes under a major heading, used to separate the primary sections of an article.
[HEADING=2]Minor heading[/HEADING]
When you need to subdivide the primary sections of an article, use a level 2 minor heading.
[HEADING=3]Subheading[/HEADING]
If you require additional subdivision, you may drop to level 3.
Saída:
Major heading
This text comes under a major heading, used to separate the primary sections of an article.
Minor heading
When you need to subdivide the primary sections of an article, use a level 2 minor heading.
Subheading
If you require additional subdivision, you may drop to level 3.
[PLAIN] - Texto simples
Desativa a tradução de BBcode no texto encapsulado.
Exemplo:
[PLAIN]Este não é [B]texto em negrito[/B].[/PLAIN]
Saída:
Este não é [B]texto em negrito[/B].
[ATTACH] - Inserção de anexos
Insere um anexo no ponto especificado. Se o anexo for uma imagem, será inserida uma miniatura ou uma versão em tamanho normal. Isso geralmente será inserido clicando no botão apropriado.
- Only registered users who are registered not earlier than 5 days ago are displayed.
[GALLERY=option]
- Gallery embed
BB code for displaying gallery media items and albums.
Exemplo:
[GALLERY=media, X]Gallery BB Code[/GALLERY]
Saída:
[GALLERY=media, X]Gallery BB Code[/GALLERY]
[GROUPS=option]
- For user groups
The tag hides content from people who are not members of X,Y,Z user groups.
Exemplo:
[GROUPS=2]Hello World![/GROUPS] - Displayed only for group members with ID 2.
Saída:
O conteúdo oculto só pode ser visto pelo usuário do grupo: Registered
- Displayed only for group members with ID 2.
[HIDE]
·
[HIDE=option]
- For registered users only
Tag [HIDE] is used for hidden content. If [HIDE=(condition)] is specified, the condition will be applied to the hidden content. Note: After the = sign, you must enclose the conditions in parentheses to indicate the start and end of condition processing. Inside, you can use any condition grouping.
Allowed expressions (tags):
posts: Number of user posts.
likes: User reaction count.
reactions: User reaction count (same as likes).
trophies: Number of user trophies.
days: Number of days since user registration.
isMemberOf(id): User group, for multiple groups you can use comma-separated values.
username: User's username.
user_id: User's identifier.
user_state: User's state.
is_staff: Flag indicating whether the user is a staff member.
is_admin: Flag indicating whether the user is an administrator.
is_moderator: Flag indicating whether the user is a moderator.
Allowed operators:
Arithmetic operators:
Arithmetic operators are used for performing mathematical calculations:
+
-
*
/
% (modulus)
** (exponentiation)
Comparison operators:
Comparison operators are used for comparing values and returning a boolean result:
== (equal to)
=== (strictly equal to)
!= (not equal to)
!== (strictly not equal to)
< (less than)
> (greater than)
<= (less than or equal to)
>= (greater than or equal to)
Logical operators:
Logical operators are used for performing logical operations and returning a boolean result:
and or && (logical AND)
or or || (logical OR)
not or ! (logical NOT)
Bitwise operators:
Bitwise operators are performed on binary representations of numbers:
& (bitwise AND)
| (bitwise OR)
^ (bitwise XOR)
String operators:
The ~ operator is used for string concatenation:
~ (string concatenation)
Array operators:
Array operators are used for checking element membership in an array:
in (element present in array)
not in (element not present in array)
Numeric operators:
The .. operator is used to create a range of numbers:
.. (number range)
Ternary operator:
The ?: operator is used to perform conditional operations in a single line:
?: (ternary operator)
Exemplo:
[HIDE]Hello World![/HIDE] - only registered users see the hidden text
[HIDE=(posts > 1 or likes > 1)]Hello world![/HIDE] - The hidden text "Hello world!" will be displayed if the number of user posts is greater than 1 OR the number of likes is greater than 1.
[HIDE=(posts > 1 and likes > 1)]Hello world![/HIDE] - The hidden text "Hello world!" will be displayed if the number of user posts is greater than 1 AND the number of likes is greater than 1.
[HIDE=(days > 1 or user_state == "valid")]Hello World![/HIDE] - The hidden text "Hello World!" will be displayed if the number of days since user registration is greater than 1 OR the user state is "valid".
[HIDE=(isMemberOf(2) or trophies >= 0)]Hello World![/HIDE] - The hidden text "Hello World!" will be displayed if the user is a member of group 2 OR the number of user trophies is greater than or equal to 0.
[HIDE=(is_staff)]Hello World![/HIDE] - The hidden text "Hello World!" will be displayed if the user is a staff member.
Saída:
O conteúdo oculto está disponível para usuários registrados!
- only registered users see the hidden text
message > 1 (0) or like > 1 (0)
- The hidden text "Hello world!" will be displayed if the number of user posts is greater than 1 OR the number of likes is greater than 1.
message > 1 (0) and like > 1 (0)
- The hidden text "Hello world!" will be displayed if the number of user posts is greater than 1 AND the number of likes is greater than 1.
day > 1 (0) or Estado do usuário is "valid" (valid)
Hello World!
- The hidden text "Hello World!" will be displayed if the number of days since user registration is greater than 1 OR the user state is "valid".
Member group(s): Registered or points >= 0 (0)
Hello World!
- The hidden text "Hello World!" will be displayed if the user is a member of group 2 OR the number of user trophies is greater than or equal to 0.
Staff member
- The hidden text "Hello World!" will be displayed if the user is a staff member.
[LIKES=option]
- Number of likes
Number of likes on the forum, which the user needs to be able to view
Exemplo:
[LIKES=5]Hello World![/LIKES] - Displayed only registered users whose number of reactions on the forum is greater than or equal to 5.
- This tag hides the text until the user clicks the <b>Like button</b> in the message.
[TROPHIES=option]
- Number of trophies
Number of trophies on the forum, which the user needs to be able to view
Exemplo:
[TROPHIES=5]Hello World![/TROPHIES] - It is displayed only to registered users, the number of points for trophies on the forum which is greater than or equal to 5.