Open Ichmed opened 3 years ago
Remove widgets from rulebook and turn it into its own submodule and host on github
related to #11
name type? (parametername:type?:error?)*
unique widget name (Exception for duplicates)
sets default parameters and handles display if widget construction is disabled. defaults to display
The name of the parameter
Used for sanitation and default error handling, new types can be registered. defaults to text
any type can be appended with a list of valid choices e.g int[0,1,2] or regexes e.g {"[abc\d]"}
A regex used to format a custom error message, otherwise default will be used
list search Create a list of matching results formatted as links table search exclude:list include:list Create a table containing fields from the model excluding any/limiting to the given lists
list search Create a list of matching results formatted as links
table search exclude:list include:list Create a table containing fields from the model excluding any/limiting to the given lists
$(name "parameter") $(name parametername="value")
Remove widgets from rulebook and turn it into its own submodule and host on github
related to #11
Format Strings
name
unique widget name (Exception for duplicates)
type
sets default parameters and handles display if widget construction is disabled. defaults to display
parameters
name
The name of the parameter
type
Used for sanitation and default error handling, new types can be registered. defaults to text
any type can be appended with a list of valid choices e.g int[0,1,2] or regexes e.g {"[abc\d]"}
error
A regex used to format a custom error message, otherwise default will be used
examples
Calling widgets
$(name "parameter") $(name parametername="value")