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

Jump to: navigation, search
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 14: Line 14:
</div>
</div>


<div class="mw-translate-fuzzy">
===Fet og kursiv tekst===
===Fet og kursiv tekst===
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 46: Line 48:
</div>
</div>


Note that the order in which the size tag is nested is important when it is paired with the following text alignment tags: center, left, right, and pre. For the size tag to change the font, it must be placed as follows:
Note that the order in which tags are nested is important when text-formatting tags like size, bold, or italic are paired with the following 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:


{{code|<nowiki>[center][size=36pt][b][u]text[/u][/b][/size][/center]</nowiki>}}
{{code|<nowiki>[center][size=36pt][b][u]text[/u][/b][/size][/center]</nowiki>}}
Line 59: Line 61:
* {{llink|Alphabetical list of all bulletin board codes|text=Alphabetical list of all bulletin board codes}}
* {{llink|Alphabetical list of all bulletin board codes|text=Alphabetical list of all bulletin board codes}}
{{ {{Localized|As a regular user}}}}
{{ {{Localized|As a regular user}}}}
<!--T:19-->
Note that the order in which tags are nested is important when text-formatting tags like size, bold, or italic are paired with the following 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:
<!--T:20-->
{{code|<nowiki>[center][size=36pt][b][u]text[/u][/b][/size][/center]</nowiki>}}
<!--T:21-->
Nesting the size tags as per the example below will result in this tag not working:
<!--T:22-->
{{code|<nowiki>[size=36pt][center][b][u]text[/u][/b][/center][/size]</nowiki>}}
<!--T:23-->

Revision as of 06:50, 19 June 2013

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

Formateringskoder eller BB koder er en måte å formatere innlegg i SMF og mange andre steder på nettet. For en forklaring til de forskjellige knappene på innleggsside, se Basic Bulletin Board Codes. Denne artikkelen forklarer de viktige begrep i strukturen.

Nestet BB koder

Det generelle formatet for en BB kode har tre deler, en åpningstagg, innhold og en avsluttende tagg, som vist nedenfor:

[åpne]      tekst       [/avslutte]
[b]        fet tekst        [/b]

Fet og kursiv tekst

Du kan plassere en BB kodetagg inne i en annen så lenge undertaggen er lukket før den overordnede taggen. Dette er den korrekte måten å lage fet og kursiv tekst:

[b][i]fet og kursiv tekst[/i][/b]
[i][b]bold & italic text[/b][/i]

Dette vises lettere når kodene har innrykk:

[b]
     [i]
         fet og kursiv tekst
     [/i]
[/b]

Det neste eksempelet er feil nestet, som er lett vises med innrykket tagger:

[b][i]fet og kursiv tekst[/b][/i]
[b]
     [i]
         fet og kursiv tekst
[/b]
     [/i]

Se også

Note that the order in which tags are nested is important when text-formatting tags like size, bold, or italic are paired with the following 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


Note that the order in which tags are nested is important when text-formatting tags like size, bold, or italic are paired with the following 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]




Advertisement: