Accueil « Index de l'aide « Codes de contrôle «
Formattage de blocs
Cette page présente certains codes de contrôles ainsi que des exemples d'utilisation.
Indentation [indent]...[/indent]
Exemple | Rendu |
But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...
[indent]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/indent]
But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed... | But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...
But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...
But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed... |
Centrage [center]...[/center]
Exemple | Rendu |
[center]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/center] | But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed... |
Alignement à droite [right]...[/right]
Exemple | Rendu |
[right]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/right] | But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed... |
Décoré [decorated]...[/decorated]
Exemple | Rendu |
[decorated]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/decorated]
[decorated]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/decorated]
[decorated]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/decorated] | | But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed... |
| But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed... |
| But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed... |
|
Attention [caution]...[/caution]
Exemple | Rendu |
[caution]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/caution] | But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...
|
Note [note]...[/note]
Exemple | Rendu |
[note]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/note] | But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...
|
Code PHP [php]...[/php]
Exemple | Rendu |
Un extrait de load_skin(), pris dans global.php :
[php]
// maybe we are at the root level
if(file_exists($skin.'.php')) {
include $skin.'_library.php';
include 'shared/codes.php';
$context['path_to_root'] = '';
// or we are one level below
} else {
include '../'.$skin.'_library.php';
include '../shared/codes.php';
$context['path_to_root'] = '../';
}
[/php] |
Un extrait de load_skin(), pris dans global.php :
// maybe we are at the root level if(file_exists($skin.'.php')) { include $skin.'_library.php'; include 'shared/codes.php'; $context['path_to_root'] = '';
// or we are one level below } else { include '../'.$skin.'_library.php'; include '../shared/codes.php'; $context['path_to_root'] = '../'; }
|
Pré-formatté [snippet]...[/snippet]
Exemple | Rendu |
Observons par exemple la requête HTTP suivante, qui a 382 octets :
[snippet]
GET /hello.html HTTP/1.1
Host: www.server.com
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
User-Agent: Mozilla/4.0
Connection: Keep-Alive
[/snippet] | Observons par exemple la requête HTTP suivante, qui a 382 octets :
GET /hello.html HTTP/1.1 Host: www.server.com Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept-Encoding: gzip, deflate Accept-Language: en-us User-Agent: Mozilla/4.0 Connection: Keep-Alive |
Citer [quote]...[/quote]
Exemple | Rendu |
[quote]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/quote] | " But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed... " |
Pliage [folder]...[/folder]
Exemple | Rendu |
[folder]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/folder] | But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...
|
Pliage titré [folder=<title>]...[/folder]
Exemple | Rendu |
[folder=Fable de La Fontaine]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/folder] | But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...
|
Boîte de côté [sidebar]...[/sidebar]
Exemple | Rendu |
[sidebar]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/sidebar] |
|
Boîte de côté avec titre [sidebar=<title>]...[/sidebar]
Exemple | Rendu |
[sidebar=Fable de La Fontaine]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/sidebar] |
|
Défilement [scroller]...[/scroller]
Exemple | Rendu |
[scroller]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/scroller] | |