DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:type_lookup

Struct PluginTypes

Struct Plugin: Type Lookup

The Lookup type works similar to the DropDown type. But values for the dropdown are selected from another schema (either lookup or page).

When the type is set to Multi multiple values can be selected.

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
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_lookup.txt · Last modified: 2016-11-01 10:21 by andi