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

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:struct:type_lookup [2020-05-14 13:23] andiplugin:struct:type_lookup [2020-07-17 20:21] (current) – [Configuration] winakeytoheaven
Line 4: Line 4:
 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. 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.
  
 You can reference different fields based on the language using the ''$LANG'' variable which might be useful for multilingual wikis using the [[plugin:translation|Translation Plugin]]. You can reference different fields based on the language using the ''$LANG'' variable which might be useful for multilingual wikis using the [[plugin:translation|Translation Plugin]].
Line 13: Line 13:
  
 ^ Config  ^ Format  ^ Description                                                                                            ^ ^ Config  ^ Format  ^ Description                                                                                            ^
-| schema  | string  | A schema to pull the values from                                                                +| schema  | string  | A schema from which to pull the values                                                             
-| 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 the value display. Use the ''$LANG'' placeholder to refer to a language-dependent field                                         |
  
  
  
  
plugin/struct/type_lookup.1589455430.txt.gz · Last modified: 2020-05-14 13:23 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki