doc: add list of commonly used tags in plugin API reference (in function printf_date_tags)

v2.8-utf8proc
Sebastien Helleu 2012-04-04 20:02:27 +02:00
parent 2b26348965
commit 6c261d31e1
4 changed files with 80 additions and 0 deletions

View File

@ -7,6 +7,9 @@ div.sectionbody {
h5 {
font-size: 0.95em;
}
tt {
font-family: monospace;
}
span.command {
background: #EEEEFF;
border: solid 1px #BBBBDD;

View File

@ -6306,6 +6306,31 @@ Arguments:
* 'tags': comma separated list of tags
* 'message': message to display
Tags commonly used (non-exhaustive list):
[width="70%",cols="1m,4",options="header"]
|========================================
| Tag | Description
| no_filter | Line can not be filtered
| no_highlight | No highlight is possible on line
| no_log | Line is not written in log file
| log0 ... log9 | Level of log for line (see `/help logger`)
| notify_none | Buffer with line is not added to hotlist
| notify_message | Buffer with line is added to hotlist with level "message"
| notify_private | Buffer with line is added to hotlist with level "private"
| notify_highlight | Buffer with line is added to hotlist with level "highlight"
| nick_xxx | Message is from nick "xxx"
| prefix_nick_ccc | Prefix is a nick with color "ccc"
| irc_xxx | IRC message "xxx" (can be a command or a 3-digits number)
| irc_numeric | IRC numeric message
| irc_error | Error from IRC server
| irc_action | Action from a nick (command `/me`)
| irc_ctcp | CTCP message
| irc_ctcp_reply | Reply to CTCP message
| irc_smart_filter | IRC message that can be filtered with the "smart filter"
| away_info | Message with away info
|========================================
C example:
[source,C]

View File

@ -6384,6 +6384,31 @@ Paramètres :
* 'tags' : liste d'étiquettes ("tags") séparées par des virgules
* 'message' : message à afficher
Tags couramment utilisés (liste non exhaustive) :
[width="70%",cols="1m,4",options="header"]
|========================================
| Tag | Description
| no_filter | La ligne ne peut pas être filtrée
| no_highlight | Aucun highlight n'est possible sur cette ligne
| no_log | La ligne n'est pas écrite dans le fichier de log
| log0 ... log9 | Niveau de log pour la ligne (voir `/help logger`)
| notify_none | Le tampon avec la ligne ne sera pas ajouté à la "hotlist"
| notify_message | Le tampon avec la ligne sera ajouté à la "hotlist" avec le niveau "message"
| notify_private | Le tampon avec la ligne sera ajouté à la "hotlist" avec le niveau "private"
| notify_highlight | Le tampon avec la ligne sera ajouté à la "hotlist" avec le niveau "highlight"
| nick_xxx | Le message vient du pseudo "xxx"
| prefix_nick_ccc | Le préfixe est un pseudo avec la couleur "ccc"
| irc_xxx | Message IRC "xxx" (peut-être une commande ou un numérique sur 3 chiffres)
| irc_numeric | Message IRC numérique
| irc_error | Erreur du serveur IRC
| irc_action | Action d'un pseudo (commande `/me`)
| irc_ctcp | Message CTCP
| irc_ctcp_reply | Réponse à un message CTCP
| irc_smart_filter | Message IRC qui peut être filtré avec le "smart filter" (filtre intelligent)
| away_info | Message avec une info d'absence
|========================================
Exemple en C :
[source,C]

View File

@ -6313,6 +6313,33 @@ Argomenti:
* 'tags': lista di tag separati da virgole
* 'message': messaggio da visualizzare
// TRANSLATION MISSING
Tags commonly used (non-exhaustive list):
// TRANSLATION MISSING
[width="70%",cols="1m,4",options="header"]
|========================================
| Tag | Description
| no_filter | Line can not be filtered
| no_highlight | No highlight is possible on line
| no_log | Line is not written in log file
| log0 ... log9 | Level of log for line (see `/help logger`)
| notify_none | Buffer with line is not added to hotlist
| notify_message | Buffer with line is added to hotlist with level "message"
| notify_private | Buffer with line is added to hotlist with level "private"
| notify_highlight | Buffer with line is added to hotlist with level "highlight"
| nick_xxx | Message is from nick "xxx"
| prefix_nick_ccc | Prefix is a nick with color "ccc"
| irc_xxx | IRC message "xxx" (can be a command or a 3-digits number)
| irc_numeric | IRC numeric message
| irc_error | Error from IRC server
| irc_action | Action from a nick (command `/me`)
| irc_ctcp | CTCP message
| irc_ctcp_reply | Reply to CTCP message
| irc_smart_filter | IRC message that can be filtered with the "smart filter"
| away_info | Message with away info
|========================================
Esempio in C:
[source,C]