Bulletin board code/es: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
(Updating to match new version of source page)
Line 1: Line 1:
{{Other languages}}
{{Other languages}}
{{TOCright}}
{{TOCright}}
{{DISPLAYTITLE:Bulletin board code}}
 
<div class="mw-translate-fuzzy">
Bulletin Board Codes or BBCodes are a way to format posts in SMF and in many other places online. For an explanation of the buttons on the ''Post'' page, see {{llink|Basic Bulletin Board Codes|text=Basic Bulletin Board Codes}}. This article explains the important concept of nesting.
El código Bulletin board o BBCode se refiere a formatos de publicación en SMF y en muchos otros sitios en línea. Para ver una explicación de los botones en la página de publicación, ve [[Basic Bulletin Board Codes]]. Este artículo explica el concepto importante de anidar.
</div>


==Anidar BBCode==
==Anidar BBCode==


<div class="mw-translate-fuzzy">
The general format of a BBCode tag has three parts: an opening tag, the inside content and a closing tag, as shown below:
El formato general de un BBCode tiene tres partes, una etiqueta de apertura, el contenido interno y una etiqueta de cierre, como se muestra enseguida:
{{code|[open]      text inside     [/close]
{{code|[etiquetaApertura]      texto dentro     [/etiquetaCierre]
[b]         bold text       [/b]}}
[b]       texto en ''negrita''       [/b]}}
</div>


<div class="mw-translate-fuzzy">
===When Order Matters, Part 1===
==Texto en ''negrita'' y cursiva==
</div>


<div class="mw-translate-fuzzy">
You can place one BBCode tag inside another as long as ''the child tag is closed before the parent tag''. For example, the correct way to make bold and italic text is:
Puedes colocar una etiqueta de BBCode dentro de otra siempre y cuando ''la etiqueta hija se cierre antes que la etiqueta padre''. Por ejemplo, la forma correcta para generar texto en ''negrita'' y cursiva es:
{{code|[b][i]bold & italic text[/i][/b]}}
{{code|[b][i]texto en ''negrita'' y cursiva[/i][/b]}}
You can also do it in the following way, which is also valid, with the same tags in reverse order:
</div>


{{code|[i][b]bold & italic text[/b][/i]}}
{{code|[i][b]bold & italic text[/b][/i]}}
Line 40: Line 33:
     [/i]}}
     [/i]}}


<div class="mw-translate-fuzzy">
===When Order Matters, Part 2===
==Ver también==
</div>


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:
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:

Revision as of 00:50, 9 May 2014

Languages English  · Deutsch · Ελληνικά · español · français · italiano · Nederlands · norsk · polski · русский · srpski (latinica) · svenska · Türkçe

Bulletin Board Codes or BBCodes are a way to format posts in SMF and in many other places online. For an explanation of the buttons on the Post page, see Basic Bulletin Board Codes (en). This article explains the important concept of nesting.

Anidar BBCode

The general format of a BBCode tag has three parts: an opening tag, the inside content and a closing tag, as shown below:

[open]      text inside      [/close]
[b]         bold text        [/b]

When Order Matters, Part 1

You can place one BBCode tag inside another as long as the child tag is closed before the parent tag. For example, the correct way to make bold and italic text is:

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

You can also do it in the following way, which is also valid, with the same tags in reverse order:

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

Esto se nota más fácil cuando las etiquetas están indentadas:

[b]
     [i]
         texto en negrita y cursiva
     [/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]

When Order Matters, Part 2

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]

See Also



Advertisement: