DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:type_lookup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

plugin:struct:type_lookup [2016-11-01 10:21]
andi created
plugin:struct:type_lookup [2020-05-14 13:23] (current)
andi
Line 2: Line 2:
 ====== Struct Plugin: Type Lookup ====== ====== Struct Plugin: Type Lookup ======
  
-The ''Lookup'' type works similar to the [[type_dropdown|DropDown]] type. But values for the dropdown are selected from another schema (either lookup or page).+The ''Lookup'' type works similar to the [[type_dropdown|DropDown]] type((Note: In old versions of the struct plugin a thing called "lookup schemas" existed. We now call it global data to avoid confusion with this type)). But values for the dropdown are selected from another schema.
  
 When the type is set to ''Multi'' multiple values can be selected. When the type is set to ''Multi'' multiple values can be selected.
Line 13: Line 13:
  
 ^ Config  ^ Format  ^ Description                                                                                            ^ ^ Config  ^ Format  ^ Description                                                                                            ^
-| schema  | string  | A lookup schema to pull the values from                                                                |+| schema  | string  | A 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                                                | | 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: 2020-05-14 13:23 by andi