Definition List Plugin

Informazioni generali

Questo plugin aggiunge a dokuwiki il supporto per le liste di definizioni. Crea, cioè, una struttura come l'object inspector con la chiave da una parta e la definizione dall'altra.

Sito: http://wiki.splitbrain.org/doku.php

Sintassi

A definition list is made up of one or more lines of the format shown below:

  ; term : definition
  ; term
  : definition

:!: Note the two spaces at the beginning of each line.

The lines can be used in any order, the only requirements is that the first line must be one of the two lines commencing with a semi-colon “;” and the list is terminated by leaving a line completely blank.

In a slight change over standard Dokuwiki lists, you use new lines within the list in your raw wiki data. The data on the new line is added to the end of the previous line when the definition list is being processed.

Configurazione

The plugin has three configuration settings. To change these you will need to edit the plugin script file, syntax.php.

  • DL_DT — default value “;” — the character used to indicate a definition list term.
  • DL_DD — default value “:” — the character used to indicate a definition list definition.
  • DL_FANCY — default value “true” — if set to false the plugin will generate pure definition list mark up only. If set to true the plugin will generate extra html to enable improved styling of the list. If used with the styles provided this will result in a two column list, with terms on the left, definitions on the right and each definition lining up with its corresponding term.

Esempi

Valore
Descrizione
Seconda riga descrizione
Valore2
Descrizione 2
dokuwiki/plugins/definition_list.txt · Ultima modifica: 2015/06/08 20:15 da 127.0.0.1
Torna su
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0