Ви використовуєте застарілий браузер. Цей та інші сайти можуть відображатися в ньому некоректно. Необхідно оновити браузер або спробувати використовувати інший.
[B], [I], [U], [S] - Жирний, курсивний, підкреслений і закреслений
Робить відображення тексту жирним, курсивом, підкресленим або закресленим.
Приклад:
Це [B]жирний[/B] текст.
Це [I]курсивний[/I] текст.
Це [U]підкреслений[/U] текст.
Це [S]закреслений[/S] текст.
Результат:
Це жирний текст.
Це курсивний текст.
Це підкреслений текст.
Це закреслений текст.
[COLOR=колір], [FONT=назва], [SIZE=розмір] - Колір тексту, Шрифт та Розмір
Змінює колір, шрифт або розмір виділеного тексту.
Приклад:
Це текст [COLOR=red]червоного[/COLOR] та [COLOR=#0000cc]синього[/COLOR] кольорів.
Це текст написаний шрифтом [FONT=Courier New]Courier New[/FONT].
Це [SIZE=1]малий[/SIZE] та [SIZE=7]великий[/SIZE] розмір тексту.
Результат:
Це текст червоного та синього кольорів.
Це текст написаний шрифтом Courier New.
Це малий та великий розмір тексту.
Маркує текст як структурований заголовок для полегшення читання.
Приклад:
[HEADING=1]Основний заголовок[/HEADING]
Цей текст йде під основним заголовком, використовується для поділу основних розділів статті (рівень 1).
[HEADING=2]Другорядний заголовок[/HEADING]
Коли Вам потрібно розділити основні розділи статті, використовуйте другорядний заголовок (рівень 2).
[HEADING=3]Підзаголовок[/HEADING]
Коли Вам потрібен додатковий підрозділ, використовуйте підзаголовок (рівень 3).
Результат:
Основний заголовок
Цей текст йде під основним заголовком, використовується для поділу основних розділів статті (рівень 1).
Другорядний заголовок
Коли Вам потрібно розділити основні розділи статті, використовуйте другорядний заголовок (рівень 2).
Підзаголовок
Коли Вам потрібен додатковий підрозділ, використовуйте підзаголовок (рівень 3).
[PLAIN] - звичайний текст
Вимикає розпізнавання BB-кодів всередині виділеного тексту.
Приклад:
[PLAIN]Це не [B]жирний[/B] текст.[/PLAIN]
Результат:
Це не [B]жирний[/B] текст.
[ATTACH] - вставка вкладень
Вставляє вкладення у відповідному місці. Якщо вкладення є зображенням, буде вставлена його зменшена або повнорозмірна версія. Для цього потрібно натиснути на відповідну кнопку.
Приклад:
Мініатюра: [ATTACH]123[/ATTACH]
Повний розмір: [ATTACH=full]123[/ATTACH]
Результат:
Вміст вкладень з'явиться тут.
[DAYS=option]
- Кількість днів
Кількість днів з дати реєстрації на форумі, яку користувач повинен мати можливість переглядати
Приклад:
[DAYS=5]Hello World![/DAYS] - Only registered users who are registered not earlier than 5 days ago are displayed.
- Only registered users who are registered not earlier than 5 days ago are displayed.
[HIDE]
·
[HIDE=option]
- Тільки для реєстрації
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)
Приклад:
[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.
Результат:
View hidden content is available for registered users!
- 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 Стан користувача 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 point >= 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.
Команда форуму
- The hidden text "Hello World!" will be displayed if the user is a staff member.
[LIKES=option]
- Кількість лайків
Number of like on the forum, which the user needs to be able to view
Приклад:
[LIKES=5]Hello World![/LIKES] - Displayed only registered users whose number of reactions on the forum is greater than or equal to 5.