Puska.net

Emme ole aivan varmoja, mitä kaikkea mahtavaa tulet tältä sivulta löytämään.

Liity mukaan

BB-koodit

  • [B], [I], [U], [S] - Lihavoitu, kursivoitu, alleviivattu ja yliviivattu

    Makes the wrapped text bold, italic, underlined, or struck-through.
    Example:
    This is [B]bold[/B] text.
    This is [I]italic[/I] text.
    This is [U]underlined[/U] text.
    This is [S]struck-through[/S] text.
    Output:
    This is bold text.
    This is italic text.
    This is underlined text.
    This is struck-through text.
  • [COLOR=color], [FONT=name], [SIZE=size] - Tekstin väri, fontti ja koko

    Changes the color, font, or size of the wrapped text.
    Example:
    This is [COLOR=red]red[/COLOR] and [COLOR=#0000cc]blue[/COLOR] text.
    This is [FONT=Courier New]Courier New[/FONT] text.
    This is [SIZE=1]small[/SIZE] and [SIZE=7]big[/SIZE] text.
    Output:
    This is red and blue text.
    This is Courier New text.
    This is small and big text.
  • [URL], [EMAIL] - Linking

    Creates a link using the wrapped text as the target.
    Example:
    [URL]http://www.example.com[/URL]
    [EMAIL]example@example.com[/EMAIL]
    Output:
  • [URL=linkki], [EMAIL=Sähköpostiosoite] - Linkitys (edistynyt)

    Links the wrapped text to the specified web page or email address.
    Example:
    [URL=https://www.example.com]Siirry example.com[/URL]
    [EMAIL=example@example.com]Lähetä minulle sähköpostia[/EMAIL]
    Output:
  • [USER=ID] - Profiilin linkittäminen

    Linkit käyttäjän profiiliin. Tämä lisätään yleensä automaattisesti, kun mainitaan käyttäjä.
    Example:
    [USER=1]Käyttäjänimi[/USER]
    Output:
  • [IMG] - Image

    Display an image, using the wrapped text as the URL.
    Example:
    [IMG]https://puska.net/data/assets/logo/puskaaa.png[/IMG]
    Output:
    puskaaa.png
  • [MEDIA=sivu] - Upotettu media

    Embeds media from approved sites into your message. It is recommended that you use the media button in the editor tool bar.
    Hyväksytyt sivut: Apple Music, Dailymotion, Facebook, Flickr, Giphy, Imgur, Liveleak, Metacafe, Pinterest, Reddit, SoundCloud, Spotify, Tumblr, Twitch, Twitter, Vimeo, YouTube
    Example:
    [MEDIA=youtube]oHg5SJYRHA0[/MEDIA]
    Output:
    An embedded YouTube player would appear here.
  • [LIST] - listat

    Displays a bulleted or numbered list.
    Example:
    [LIST]
    [*]Piste 1
    [*]Piste 2
    [/LIST]
    [LIST=1]
    [*]Merkintä 1
    [*]Merkintä 2
    [/LIST]
    Output:
    • Piste 1
    • Piste 2
    1. Merkintä 1
    2. Merkintä 2
  • [VASEN], [KESKELLÄ], [OIKEA] - Tekstin kohdistus

    Changes the alignment of the wrapped text.
    Example:
    [LEFT]Left-aligned[/LEFT]
    [CENTER]Center-aligned[/CENTER]
    [RIGHT]Right-aligned[/RIGHT]
    Output:
    Left-aligned​
    Center-aligned​
    Right-aligned​
  • [QUOTE] - Lainatu teksti

    Displays text that has been quoted from another source. You may also attribute the name of the source.
    Example:
    [QUOTE]Quoted text[/QUOTE]
    [QUOTE=A person]Something they said[/QUOTE]
    Output:
    A person sanoi:
    Something they said
  • [SPOILER] - Teksti joka sisältää spoilereita

    Piilottaa tekstin, joka voi sisältää spoilereita, niin että käyttäjän pitää klikata nähdäkseen sen.
    Example:
    [SPOILER]Simppeli spoileri[/SPOILER]
    [SPOILER=Spoilerin Otsikko]Spoileri otsikon kanssa[/SPOILER]
    Output:
    Simppeli spoileri
    Spoileri otsikon kanssa
  • [ISPOILER] - Inline text containing spoilers

    Allows you to display text inline among normal content which hides text that may contain spoilers and must be clicked by the viewer to be seen.
    Example:
    You have to click the following [ISPOILER]word[/ISPOILER] to see the content.
    Output:
    You have to click the following word to see the content.
  • [CODE] - Ohjelmointikoodi näytettäväksi

    Displays text in one of several programming languages, highlighting the syntax where possible.
    Example:
    Yleinen koodi:
    [CODE] Esimerkki koodia [/CODE]

    Rich koodi:
    [CODE=rich][color=red]Rikasta[/COLOR]
    koodia[/CODE]

    PHP-koodi:
    [CODE=php]echo $hello . 'world'; [/CODE]

    JS-koodi:
    [CODE=javascript]var hello = 'world'; [/CODE]
    Output:
    Yleinen koodi:
    Koodi:
     Esimerkki koodia

    Rich koodi:
    Rich (BB code):
    Rikasta
    koodia

    PHP-koodi:
    PHP:
    echo $hello . 'world';

    JS-koodi:
    JavaScript:
    var hello = 'world';
  • [ICODE] - Inline programming code display

    Allows you to display code inline among normal post content. Syntax will not be highlighted.
    Example:
    Inline code blocks [ICODE]are a convenient way[/ICODE] of displaying code inline.
    Output:
    Inline code blocks are a convenient way of displaying code inline.
  • [INDENT] - Tekstin sisennys

    Indents the wrapped text. This can be nested for larger indentings.
    Example:
    Normaali teksti
    [INDENT]Sisennetty teksti[/INDENT]
    [INDENT=2]Enemmän sisennetty[/INDENT]
    Output:
    Normaali teksti
    Sisennetty teksti​
    Enemmän sisennetty​
  • [TABLE] - Tables

    Special markup to display tables in your content.
    Example:
    [TABLE]
    [TR]
    [TH]Header 1[/TH]
    [TH]Header 2[/TH]
    [/TR]
    [TR]
    [TD]Content 1[/TD]
    [TD]Content 2[/TD]
    [/TR]
    [/TABLE]
    Output:
    Header 1Header 2
    Content 1Content 2
  • [HEADING=level] - Headings levels 1 to 3

    Marks text as a structured heading to facilitate machine readability.
    Example:
    [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.
    Output:

    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] - Pelkkä teksti

    Disables BB code translation on the wrapped text.
    Example:
    [PLAIN]This is not [B]bold[/B] text.[/PLAIN]
    Output:
    This is not [B]bold[/B] text.
  • [LIITETIEDOSTO] - Liitetiedoston lisäys

    Inserts an attachment at the specified point. If the attachment is an image, a thumbnail or full size version will be inserted. This will generally be inserted by clicking the appropriate button.
    Example:
    Pikkukuva: [ATTACH]123[/ATTACH]
    Täysikokoinen: [ATTACH=full]123[/ATTACH]
    Output:
    The contents of the attachments would appear here.
Ylös Pohja