Bulletin Board Code From Online Manual

< Bulletin board code
Revision as of 12:17, 19 November 2013 by Enitram (talk | contribs) (Translation updated)
Jump to: navigation, search
Languages English  · Deutsch · Ελληνικά · español · français · italiano · Nederlands · norsk · polski · русский · srpski (latinica) · svenska · Türkçe

Bulletin Board codes of BBCodes zijn een manier om posten aan te passen in SMF en ook op verschillende andere plaatsen op het internet. Als voorbeeld van de knoppen op de Berichten pagina, zie Basis Bulletin Board Codes (en). Dit artikel legt het belangrijke concept van nesting uit.

Nesting BBCodes

De algemene format van een BBCode tag heeft drie delen: een tag om te openen, de inhoud en de tag om te sluiten. zoals hier onder wordt getoond:

[open]    inhoud     [/close]
[b]        Vette tekst        [/b]

Wanneer Orde Belangrijk is, deel 1

Je kan een BBCode plaatsen in een andere zolang the child tag gesloten is voor de hoofd tag. Bijvoorbeeld, De juiste manier om vette en italic tekst te maken is:

[b][i]bold & italic tekst[/i][/b]
[i][b]bold & italic text[/b][/i]

Dit is gemakkelijker getoond wanneer de tags inspringen:

[b]
         [i]
         bold & italic tekst
         [/i]
[/b]

The next example is incorrectly nested. The last two lines show that the parent tag [b] was closed before the child tag [i].

[b][i]bold & italic text[/b][/i]
[b]
    [i]
        bold & italic text
[/b]
    [/i]

Zie ook

The order in which tags are nested is important when text-formatting tags such as size, bold, or italic are paired with the text-alignment tags center, left, right, and pre. Formatting tags must be placed inside alignment tags. For example, for the size tag to change the font, it must be placed as follows:

[center][size=36pt][b][u]text[/u][/b][/size][/center]

Nesting the size tags as per the example below will result in this tag not working:

[size=36pt][center][b][u]text[/u][/b][/center][/size]

Zie ook



Advertisement: