BB Codes

  • [B], [I], [U], [S] - Gras, italique, souligné et barré

    Changer le texte de l'enveloppe en gras, italique, souligné ou barré
    Exemple:
    C'est du texte [B]gras[/B].
    C'est un texte [I]italique[/I].
    C'est un texte [U]souligné[/U].
    C'est un texte [S]barré[/S].
    Résultat:
    C'est du texte gras.
    C'est un texte italique.
    C'est un texte souligné.
    C'est un texte barré.
  • [COLOR=couleur], [FONT=nom], [SIZE=taille] - Couleur du texte, police, et taille

    Changer la couleur, la police ou la taille du texte enveloppé
    Exemple:
    C'est un texte [COLOR=red]Rouge[/COLOR] et [COLOR=#0000cc]bleu[/COLOR].
    C'est la police [FONT=Courier New]Courier New[/FONT].
    C'est le texte [SIZE=1]Petit[/SIZE] et [SIZE=7]Grand[/SIZE].
    Résultat:
    C'est un texte Rouge et bleu.
    C'est la police Courier New.
    C'est le texte Petit et Grand.
  • [URL], [EMAIL] - Liaison

    Créer un lien en utilisant le texte enveloppé comme cible.
    Exemple:
    [URL]https://www.example.com[/URL]
    [EMAIL][email protected][/EMAIL]
    Résultat:
  • [URL=lien], [EMAIL=adresse] - Liaison (avancé)

    Relie le texte enveloppé par la page web indiquée ou l'adresse e-mail.
    Exemple:
    [URL=https://www.example.com]Allez sur example.com[/URL]
    [[email protected]]M'envoyer un e-mail[/EMAIL]
    Résultat:
  • [USER=ID] - Profil lié

    Liens vers le profil d'un utilisateur. Ceci est généralement inséré automatiquement quand un utilisateur est mentionné.
    Exemple:
    [USER=1]Nom d'utilisateur[/USER]
    Résultat:
  • [IMG] - Image

    Afficher une image en utilisant le texte enveloppé comme l'URL
    Exemple:
    [IMG]https://data.leakforum.fr/icon.png[/IMG]
    Résultat:
    icon.png
  • [MEDIA=site] - Media intégré

    Intègre les médias à partir de sites approuvés dans votre message. Il est recommandé d'utiliser le bouton médias dans la barre d'outils de l'éditeur.
    Sites approuvés: Apple Music, Dailymotion, Facebook, Flickr, Giphy, Imgur, Instagram, Pinterest, Reddit, SoundCloud, Spotify, TikTok, Tumblr, Twitch, Twitter, Vimeo, YouTube
    Exemple:
    [MEDIA=youtube]kQ0Eo1UccEE[/MEDIA]
    Résultat:
    Un lecteur intégré YouTube semble apparaître ici.
  • [LIST] - Listes

    Affiche une liste à puces ou numérotées.
    Exemple:
    [LIST]
    [*]Texte 1
    [*]Texte 2
    [/LIST]
    [LIST=1]
    [*]Ligne 1
    [*]Ligne 2
    [/LIST]
    Résultat:
    • Texte 1
    • Texte 2
    1. Ligne 1
    2. Ligne 2
  • [LEFT], [CENTER], [RIGHT] - Alignement du texte

    Changer l'alignement du texte
    Exemple:
    [LEFT]Aligné à gauche[/LEFT]
    [CENTER]Aligné au centre[/CENTER]
    [RIGHT]Aligné à droite[/RIGHT]
    Résultat:
    Aligné à gauche​
    Aligné au centre​
    Aligné à droite​
  • [QUOTE] - Texte cité

    Affiche un texte qui est cité par une autre source. Vous pouvez également attribuer le nom de la source.
    Exemple:
    [QUOTE]Texte cité[/QUOTE]
    [QUOTE=Une personne]Quelque chose qu'ils ont dit[/QUOTE]
    Résultat:
    Une personne a dit:
    Quelque chose qu'ils ont dit
  • [SPOILER] - Texte contenu dans les spoilers

    Masque un texte par des spoilers de sorte qu'il doit être cliqué pour être affiché au lecteur.
    Exemple:
    [SPOILER]Simple spoiler[/SPOILER]
    [SPOILER=Titre du spoiler]Spoiler avec un titre[/SPOILER]
    Résultat:
    Simple spoiler
    Spoiler avec un titre
  • [ISPOILER] - Texte en ligne contenant des spoilers

    Vous permet d'afficher du texte en ligne dans le contenu normal, ce qui masque le texte pouvant contenir des spoilers et sur lequel le visualiseur doit cliquer pour être vu.
    Exemple:
    Vous devez cliquer sur le [ISPOILER]mot[/ISPOILER] pour voir le contenu.
    Résultat:
    Vous devez cliquer sur le mot pour voir le contenu.
  • [CODE] - Affichage du code de programmation

    Afficher le texte dans l'un des langages de programmation, en mettant la syntaxe en évidence quand c'est possible.
    Exemple:
    Code général:
    [CODE]Code général[/CODE]

    Code Rich:
    [CODE=rich][COLOR=red]Rich[/COLOR][/CODE]

    Code PHP:
    [CODE=php]echo $hello . 'Bonjour';[/CODE]

    Code JS:
    [CODE=javascript]var hello = 'Bonjour';[/CODE]
    Résultat:
    Code général:
    Code:
    Code général

    Code Rich:
    Avancé (BB Code):
    Rich

    Code PHP:
    PHP:
    echo $hello . 'Bonjour';

    Code JS:
    JavaScript:
    var hello = 'Bonjour';
  • [ICODE] - Affichage du code de programmation en ligne

    Vous permet d'afficher le code en ligne parmi le contenu normal de la publication. La syntaxe ne sera pas mise en surbrillance.
    Exemple:
    Les blocs de code en ligne [ICODE]constituent un moyen pratique[/ICODE] d'afficher du code en ligne.
    Résultat:
    Les blocs de code en ligne constituent un moyen pratique d'afficher du code en ligne.
  • [INDENT] - Retrait du texte

    Retirer le texte enveloppé par celui qui peut être imbriqué pour les alinéas les plus grands.
    Exemple:
    Texte d'origine
    [INDENT]Texte en retrait
    [INDENT]Plus en retrait[/INDENT]
    [/INDENT]
    Résultat:
    Texte d'origine
    Texte en retrait
    Plus en retrait​
  • [TABLE] - Tables

    Balisage spécial pour afficher des tableaux dans votre contenu.
    Exemple:
    [TABLE]
    [TR]
    [TH]En-tête 1[/TH]
    [TH]En-tête 2[/TH]
    [/TR]
    [TR]
    [TD]Contenu 1[/TD]
    [TD]Contenu 2[/TD]
    [/TR]
    [/TABLE]
    Résultat:
    En-tête 1En-tête 2
    Contenu 1Contenu 2
  • [HEADING=niveau] - Titres niveaux 1 à 3

    Marque le texte comme un en-tête structuré pour faciliter la lecture.
    Exemple:
    [HEADING=1]Titre principal[/HEADING]
    Ce texte s'inscrit dans une rubrique principale, utilisée pour séparer les sections principales d'un article.

    [HEADING=2]Titre mineur[/HEADING]
    Lorsque vous devez subdiviser les sections principales d'un article, utilisez un titre mineur de niveau 2.

    [HEADING=3]Sous-titre[/HEADING]
    Si vous avez besoin d'une subdivision supplémentaire, vous pouvez passer au niveau 3.
    Résultat:

    Titre principal​

    Ce texte s'inscrit dans une rubrique principale, utilisée pour séparer les sections principales d'un article.

    Titre mineur​

    Lorsque vous devez subdiviser les sections principales d'un article, utilisez un titre mineur de niveau 2.

    Sous-titre​

    Si vous avez besoin d'une subdivision supplémentaire, vous pouvez passer au niveau 3.
  • [PLAIN] - Texte brut

    Désactiver la traduction du BB Code
    Exemple:
    [PLAIN]Ceci n'est pas un texte [B]gras[/B].[/PLAIN]
    Résultat:
    Ceci n'est pas un texte [B]gras[/B].
  • [ATTACH] - Insertion de la pièce jointe

    Insérer une pièce jointe au point spécifié. Si la pièce jointe est une image, une miniature ou une version complète sera insérée. Ceci sera généralement inséré en cliquant sur le bouton approprié.
    Exemple:
    Miniature: [ATTACH]123[/ATTACH]
    Taille complète: [ATTACH=full]123[/ATTACH]
    Résultat:
    Le contenu des pièces jointes apparait ici.
  • [CLUB] - For club members

    The information inside the code is displayed only to members of the club.
    Exemple:
    [CLUB]Hello World![/CLUB] - Hidden text for club members
    Résultat:
    - Hidden text for club members
  • [DAYS=option] - Number of days

    Number of days from the date of registration on the forum, which the user needs to be able to view
    Exemple:
    [DAYS=5]Hello World![/DAYS] - Only registered users who are registered not earlier than 5 days ago are displayed.
    Résultat:
    - Only registered users who are registered not earlier than 5 days ago are displayed.
  • [GROUPS=option] - For user groups

    The tag hides content from people who are not members of X,Y,Z user groups.
    Exemple:
    [GROUPS=2]Hello World![/GROUPS] - Displayed only for group members with ID 2.
    Résultat:
    Content of this hidden block can only be seen by members of: Registered
    - Displayed only for group members with ID 2.
  • [HIDE] [HIDE=option] - Pour les utilisateurs enregistrés uniquement

    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)
    Exemple:
    [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.
    Résultat:
    Voir le contenu caché est disponible pour les utilisateurs enregistrés !
    - 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 Etat de l'utilisateur 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.
    Membre du personnel
    - 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
    Exemple:
    [LIKES=5]Hello World![/LIKES] - Displayed only registered users whose number of reactions on the forum is greater than or equal to 5.
    Résultat:
    - Displayed only registered users whose number of reactions on the forum is greater than or equal to 5.
  • [POSTS=option] - Number of posts

    Number of posts on the forum, which the user needs to be able to view
    Exemple:
    [POSTS=5]Hello World![/POSTS] - Displays users who have 5 or more posts on the forum.
    Résultat:
    - Displays users who have 5 or more posts on the forum.
  • [REACTS=option] - By the reactions

    Hidden text for which you need to select a specific reaction
    Exemple:
    [REACTS=1]Hello World![/REACTS] - displayed for those who clicked the 'Like' reaction.
    Résultat:
    - displayed for those who clicked the 'Like' reaction.
  • [REPLY] - Répond au fil

    Hidden text until the user answers the thread.
    Exemple:
    [REPLY]Hello World![/REPLY] - Displayed to users when they reply to the thread.
    Résultat:
    - Displayed to users when they reply to the thread.
  • [REPLYANDTHANKS] - Répondez et cliquez sur J'aime

    Hidden text until the user responds to the thread and clicks Like on this message.
    Exemple:
    [REPLYANDTHANKS]Hello World![/REPLYANDTHANKS] - It is displayed to users when they reply to the thread and click "I like".
    Résultat:
    - It is displayed to users when they reply to the thread and click "I like".
  • [REPLYTHANKS] - Répondez ou cliquez sur J'aime

    Hidden text until the user responds to the thread or clicks Like on this message.
    Exemple:
    [REPLYTHANKS]Hello World![/REPLYTHANKS] - It is displayed to users when they reply to the thread or click "I like".
    Résultat:
    - It is displayed to users when they reply to the thread or click "I like".
  • [THANKS] - Cliquez sur "J'aime"

    This tag hides the text until the user clicks the Like button in the message.
    Exemple:
    [THANKS]Hello World![/THANKS] - This tag hides the text until the user clicks the Like button in the message.
    Résultat:
    - 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
    Exemple:
    [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.
    Résultat:
    - It is displayed only to registered users, the number of points for trophies on the forum which is greater than or equal to 5.
  • [USERS=option] - For users

    Hides the text from users, except for the parameters listed in the list of BB-code.
    Exemple:
    [USERS=Alex,John,Bryan]Hello World![/USERS] - Displayed only by user Alex, John, Bryan.
    Résultat:
    Hidden text for users:
    - Displayed only by user Alex, John, Bryan.
  • [USERSEXC=option] - Exclude users

    Hides the text from users that is listed in the list of parameters of the BB-code.
    Exemple:
    [USERSEXC=Alex,John,Bryan]Hello World![/USERSEXC] - Displayed to all users except Alex, John, Bryan.
    Résultat:
    - Displayed to all users except Alex, John, Bryan.
  • [USERSID=option] - Users by id

    Hides the text from users by id, except for the parameters listed in the list of BB-code.
    Exemple:
    [USERIDS=1,2,3]Hello World![/USERIDS] - Appears only for users with ids 1, 2, 3.
    Résultat:
    [USERIDS=1,2,3]Hello World![/USERIDS] - Appears only for users with ids 1, 2, 3.
  • [USERSIDEXC=option] - Exclude users by id

    Hides the text from users by id that are listed in the list of parameters of the BB-code.
    Exemple:
    [USERSIDEXC=1,2,3]Hello World![/USERSIDEXC] - Appears only for all users except with ids 1, 2, 3.
    Résultat:
    - Appears only for all users except with ids 1, 2, 3.
Retour
Haut