BB Kodları

  • [B], [I], [U], [S] - Kalın, italik, altı çizili ve vurgulu

    Sarılı metni kalın, italik, altı çizili veya üstü çizili yapar.
    Örnek:
    Bu [B]kalın[/B] bir metindir.
    Bu [I]italik[/I] bir metindir.
    Bu [U]altı çizili[/U] bir metindir.
    Bu [S]üstü çizili[/S] bir metindir.
    Çıktı:
    Bu kalın bir metindir.
    Bu italik bir metindir.
    Bu altı çizili bir metindir.
    Bu üstü çizili bir metindir.
  • [COLOR=color], [FONT=name], [SIZE=size] - Metin Rengi, Yazı Tipi ve Boyutu

    Sarılı metnin rengini, yazı tipini veya boyutunu değiştirir.
    Örnek:
    Bu [COLOR=red]kırmızı[/COLOR] ve [COLOR=#0000cc]mavi[/COLOR] metin.
    Bu [FONT=Courier New]Courier New[/FONT] metin.
    Bu [SIZE=1]küçük[/SIZE] ve [SIZE=7]büyük[/SIZE] metin.
    Çıktı:
    Bu kırmızı ve mavi metin.
    Bu Courier New metin.
    Bu küçük ve büyük metin.
  • [URL], [EMAIL] - Bağlantı

    Sarılı metni hedef olarak kullanarak bir bağlantı oluşturur.
    Örnek:
    [URL]https://www.example.com[/URL]
    [EMAIL]example@example.com[/EMAIL]
    Çıktı:
  • [URL=bağlantı], [EMAIL=adres] - Bağlantı (Gelişmiş)

    Sarılmış metni belirtilen web sayfasına veya e-posta adresine bağlar.
    Örnek:
    [URL=https://www.example.com]example.com adresine git[/URL]
    [EMAIL=example@example.com]Bana e-posta gönder[/EMAIL]
    Çıktı:
  • [USER=ID] - Profil Bağlantısı

    @kullanıcı-adı ile
    Örnek:
    [USER=1]Kullanıcı Adı[/USER]
    Çıktı:
  • [IMG] - Resim

    Metni URL olarak kullanarak bir resim görüntüle.
    Örnek:
    [IMG]https://dragonhackerz.com/data/assets/logo_default/5g036cm.png[/IMG]
    Çıktı:
    5g036cm.png
  • [MEDIA=site] - Gömülü Medya

    Onaylanmış sitelerden medyayı mesajınıza gömer. Editör araç çubuğundaki medya düğmesini kullanmanız önerilir.
    Onaylı siteler: Apple Music, Bluesky, Dailymotion, Facebook, Flickr, Giphy, Imgur, Instagram, Pinterest, Reddit, SoundCloud, Spotify, TikTok, Tumblr, Twitch, X, Vimeo, YouTube
    Örnek:
    [MEDIA=youtube]kQ0Eo1UccEE[/MEDIA]
    Çıktı:
    YouTube oynatıcısı burada görünecektir.
  • [LIST] - Listeler

    Madde işaretli veya numaralı liste görüntüler.
    Örnek:
    [LIST]
    [*]Madde 1
    [*]Madde 2
    [/LIST]
    [LIST=1]
    [*]Giriş 1
    [*]Giriş 2
    [/LIST]
    Çıktı:
    • Madde 1
    • Madde 2
    1. Giriş 1
    2. Giriş 2
  • [SOL], [ORTA], [SAĞ] - Metin hizalama

    Sarılı metnin hizalamasını değiştirir.
    Örnek:
    [LEFT]Sola hizalı[/LEFT]
    [CENTER]Ortaya hizalı[/CENTER]
    [RIGHT]Sağa hizalı[/RIGHT]
    Çıktı:
    Sola hizalı​
    Ortaya hizalı​
    Sağa hizalı​
  • [ALINTI] - Alıntı yapılan metin

    Başka bir kaynaktan alıntılanan metni görüntüler. Kaynağın adını da belirtebilirsiniz.
    Örnek:
    [QUOTE]Alıntılanan metin[/QUOTE]
    [QUOTE=Bir kişi]Söyledikleri bir şey[/QUOTE]
    Çıktı:
    Alıntılanan metin
    Bir kişi' Alıntı:
    Söyledikleri bir şey
  • [SPOILER] - Spoiler içeren metin

    Görüntüleyenin görmesi için tıklaması gereken spoiler içerebilecek metni gizler.
    Örnek:
    [SPOILER]Basit spoiler[/SPOILER]
    [SPOILER=Spoiler Başlığı]Başlıklı spoiler[/SPOILER]
    Çıktı:
    Basit spoiler
    Başlıklı spoiler
  • [ISPOILER] - İçerik sürpriz (spoiler) içeriyor

    Normal içerikler arasında, izleyici tarafından görülmesi için tıklanması gereken spoiler içerebilecek metni gizleyen satır içi metin görüntülemenize izin verir.
    Örnek:
    İçeriği görmek için aşağıdaki [ISPOILER]kelimeye[/ISPOILER] tıklamanız gerekir.
    Çıktı:
    İçeriği görmek için aşağıdaki kelimeye tıklamanız gerekir.
  • [KOD] - Programlama kodu görüntüleme

    Metni, mümkün olan yerlerde söz dizimini vurgulayarak çeşitli programlama dillerinden birinde görüntüler.
    Örnek:
    Genel kod:
    [CODE]Genel
    kod[/CODE]

    Zengin kod:
    [CODE=rich][COLOR=red]Zengin[/COLOR]
    kod[/CODE]

    PHP kodu:
    [CODE=php]echo $hello . ' dünya';[/CODE]

    JS kodu:
    [CODE=javascript]var hello = 'dünya';[/CODE]
    Çıktı:
    Genel kod:
    Kod:
    Genel
    kod

    Zengin kod:
    Rich (BB code):
    Zengin
    kod

    PHP kodu:
    PHP:
    echo $hello . ' dünya';

    JS kodu:
    JavaScript:
    var hello = 'dünya';
  • [ICODE] - Satır içi programlama kodu gösterimi

    Kod sözdiziminin normalin içeriği arasında satır içinde görüntülenmesini sağlar. Sözdizimi vurgulanmayacaktır.
    Örnek:
    Satır içi kod bölümleri [ICODE]kodu satır içinde görüntülemenin uygun bir yoludur[/ICODE].

    Satır içi kod bölümlerinde zengin biçimlendirme [ICODE=rich][COLOR=red]de[/COLOR] [U]desteklenir[/U][/ICODE].
    Çıktı:
    Satır içi kod bölümleri kodu satır içinde görüntülemenin uygun bir yoludur.

    Satır içi kod bölümlerinde zengin biçimlendirme de desteklenir.
  • [GIRINTILI] - Metin girintisi

    Sarmalanan metni girintiler. Bu, daha büyük girintiler için iç içe geçirilebilir.
    Örnek:
    Normal metin
    [INDENT]Girintili metin[/INDENT]
    [INDENT=2]Daha girintili[/INDENT]
    Çıktı:
    Normal metin
    Girintili metin​
    Daha girintili​
  • [TABLE] - Tablolar

    İçeriğinize tablo eklemek için özel etiketler.
    Örnek:
    [TABLE]
    [TR]
    [TH]Başlık 1[/TH]
    [TH]Başlık 2[/TH]
    [/TR]
    [TR]
    [TD]İçerik 1[/TD]
    [TD]İçerik 2[/TD]
    [/TR]
    [/TABLE]
    Çıktı:
    Başlık 1Başlık 2
    İçerik 1İçerik 2
  • [BAŞLIK=seviye] - 1'den 3'e kadar başlık seviyeleri

    Makine okunabilirliğini kolaylaştırmak için metni yapılandırılmış bir başlık olarak işaretler.
    Örnek:
    [HEADING=1]Ana başlık[/HEADING]
    Bu metin, bir makalenin ana bölümlerini ayırmak için kullanılan bir ana başlığın altına gelir.

    [HEADING=2]Alt başlık[/HEADING]
    Bir makalenin ana bölümlerini alt bölümlere ayırmanız gerektiğinde, 2. seviye bir alt başlık kullanın.

    [HEADING=3]Alt başlık[/HEADING]
    Ek alt bölümlere ihtiyaç duyarsanız, 3. seviyeye inebilirsiniz.
    Çıktı:

    Ana başlık​

    Bu metin, bir makalenin ana bölümlerini ayırmak için kullanılan bir ana başlığın altına gelir.

    Alt başlık​

    Bir makalenin ana bölümlerini alt bölümlere ayırmanız gerektiğinde, 2. seviye bir alt başlık kullanın.

    Alt başlık​

    Ek alt bölümlere ihtiyaç duyarsanız, 3. seviyeye inebilirsiniz.
  • Düz Metin

    BB kodu çevirisini sarılı metin üzerinde devre dışı bırakır.
    Örnek:
    [PLAIN]Bu [B]kalın[/B] yazı değildir.[/PLAIN]
    Çıktı:
    Bu [B]kalın[/B] yazı değildir.
  • [/ATTACH] - Ek ekleme

    Belirtilen noktaya bir ek ekler. Ek bir resim ise küçük resim veya tam boyutlu sürümü eklenecektir. Bu genellikle uygun düğmeye tıklanarak eklenir.
    Örnek:
    Küçük resim: [ATTACH]123[/ATTACH]
    Tam boyut: [ATTACH=full]123[/ATTACH]
    Çıktı:
    Eklerin içeriği burada görünecektir.
  • [CLUB] - For club members

    The information inside the code is displayed only to members of the club.
    Örnek:
    [CLUB]Hello World![/CLUB] - Hidden text for club members
    Çıktı:
    - 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
    Örnek:
    [DAYS=5]Hello World![/DAYS] - Only registered users who are registered not earlier than 5 days ago are displayed.
    Çıktı:
    - 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.
    Örnek:
    [GROUPS=2]Hello World![/GROUPS] - Displayed only for group members with ID 2.
    Çıktı:
    Content of this hidden block can only be seen by members of: 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)
    Örnek:
    [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.
    Çıktı:
    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 Kullanıcı Durumu 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.
    Yönetici
    - The hidden text "Hello World!" will be displayed if the user is a staff member.
  • [HIDEUSERAGE=option] - Hide Content by User Age

    This BB code hides content from users who have not reached a specified age.
    Örnek:
    [hideuserage=18]This content is only visible to users who are at least 18 years old.[/hideuserage]
    Çıktı:
  • [LIKES=option] - Number of likes

    Number of likes on the forum, which the user needs to be able to view
    Örnek:
    [LIKES=5]Hello World![/LIKES] - Displayed only registered users whose number of reactions on the forum is greater than or equal to 5.
    Çıktı:
    - 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
    Örnek:
    [POSTS=5]Hello World![/POSTS] - Displays users who have 5 or more posts on the forum.
    Çıktı:
    - 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
    Örnek:
    [REACTS=1]Hello World![/REACTS] - displayed for those who clicked the 'Like' reaction.
    Çıktı:
    - displayed for those who clicked the 'Like' reaction.
  • [REPLY] - Answers the thread

    Hidden text until the user answers the thread.
    Örnek:
    [REPLY]Hello World![/REPLY] - Displayed to users when they reply to the thread.
    Çıktı:
    - Displayed to users when they reply to the thread.
  • [REPLYANDTHANKS] - Answer and click Like

    Hidden text until the user responds to the thread and clicks Like on this message.
    Örnek:
    [REPLYANDTHANKS]Hello World![/REPLYANDTHANKS] - It is displayed to users when they reply to the thread and click "I like".
    Çıktı:
    - It is displayed to users when they reply to the thread and click "I like".
  • [REPLYTHANKS] - Answer or click Like

    Hidden text until the user responds to the thread or clicks Like on this message.
    Örnek:
    [REPLYTHANKS]Hello World![/REPLYTHANKS] - It is displayed to users when they reply to the thread or click "I like".
    Çıktı:
    - It is displayed to users when they reply to the thread or click "I like".
  • [THANKS] - Click "Like"

    This tag hides the text until the user clicks the Like button in the message.
    Örnek:
    [THANKS]Hello World![/THANKS] - This tag hides the text until the user clicks the Like button in the message.
    Çıktı:
    - 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
    Örnek:
    [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.
    Çıktı:
    - 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.
    Örnek:
    [USERS=Alex,John,Bryan]Hello World![/USERS] - Displayed only by user Alex, John, Bryan.
    Çıktı:
    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.
    Örnek:
    [USERSEXC=Alex,John,Bryan]Hello World![/USERSEXC] - Displayed to all users except Alex, John, Bryan.
    Çıktı:
    - 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.
    Örnek:
    [USERIDS=1,2,3]Hello World![/USERIDS] - Appears only for users with ids 1, 2, 3.
    Çıktı:
    [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.
    Örnek:
    [USERSIDEXC=1,2,3]Hello World![/USERSIDEXC] - Appears only for all users except with ids 1, 2, 3.
    Çıktı:
    - Appears only for all users except with ids 1, 2, 3.
Geri
En Üst