[Show/Hide Right Column]

Creates a definition list
Print
Tags: plugin html tag

Plugin Definition List

This Wiki Plugin creates a definition list based on the terms and definitions given. Each term is shown on one line and its definition is indented on the next. It is the equivalent of using the HTML <dl> and related tags.

Usage and Parameters

To use this plugin in a wiki page, use the syntax:

Syntax for DL plugin
{DL()}
term 1 : definition 1
term 2 : definition 2
{DL}

Technically, this plugin doesn't require parameters, but certain elements are required between the tags as shown below:

{DL(nothing required here in the parameter section)}input is required here between the tags{DL}

Here's are the requirements for the part between the tags:

Parts Between Tags Accepted values Default Effect Required? Since
term Text (any string). Can be formatted using Wiki Syntax and plugins like PluginCenter. none Displays formatted term being defined. If unformatted, the term will be left-justified in regular font. y
separator : none Separates between the term and its definition y
definition Text (any string). Can be formatted using Wiki Syntax and plugins like PluginCenter none Displays the definition of the term. If unformatted, the definition will start on the next line after the term and will be indented. y

Example

This code,

Definition list example with formatting
{DL()}
__Life__  : ''a principle or force that is considered to underlie the distinctive quality of animate beings'' 
__Love__ : ''affection based on admiration, benevolence, or common interests'' 
__Bagel__ : ''a firm doughnut-shaped roll traditionally made by boiling and then baking'' 
{DL}


arrow-right.png

Would produce:

Life
a principle or force that is considered to underlie the distinctive quality of animate beings
Love
affection based on admiration, benevolence, or common interests
Bagel
a firm doughnut-shaped roll traditionally made by boiling and then baking


Contributors to this page: lindon2331 points  and xavi36278 points  .
Page last modified on Saturday 03 July, 2010 22:08:37 UTC by lindon2331 points .

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):