DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:type_dropdown

This is an old revision of the document!


Struct PluginTypes

Struct Plugin: Type Dropdown

The Dropdown type allows you to specify a list of values that can be selected or pull them from a configured lookup schema. When the type is set to Multi multiple values can be selected.

When using a lookup schema you can reference different fields based on the language using the $LANG variable which might be useful for multilingual wikis using the Translation Plugin.

Configuration

The following configuration is available in addition to the basic type configuration:

Config Format Description
values string A comma separated list of values to pick from. Ignored if schema and field below are defined.
schema string A lookup schema to pull the values from
field string The field of the above schema to use as value display. Use $LANG placeholder to refer to a language dependent field
plugin/struct/type_dropdown.1472135697.txt.gz · Last modified: 2016-08-25 16:34 by andi