You can use the
layerinfo declaration to set
arbitrary meta-data for a layer. However, certain meta-data keys and values
are required for each type of layer.
The syntax of
"layerinfo" <Text> "=" <Text> ";" <Text> ::= <identifier> | <string literal> | <integer literal>
At minimum, all that's required to create a valid layer is one layerinfo declaration with name "type", stating the type of the layer. Depending on the layer type, more declarations may be required. Valid types are those listed in the Layers section.
layerinfo type = theme; layerinfo name = "Polka-dotted yellow sunrise"; layerinfo author_name = "Jon Doe"; layerinfo author_email = "email@example.com"; layerinfo des = "A beautiful polka-dotted yellow sunrise with lots of yellow & orange."; set bgcolor = "#ffff00"; set fgcolor = "#ffc000";
||The layer type identifier.|
||Required for core layers only.|
||Language being configured. i18n and i18nc layers only.|
||The name of the layer to be displayed in the interface.|
||A longer description of the layer.|
||The name of the author.|
||The email address of the author.|
||Source of the layer is available to all users on the host site.|
||Allow users on the host site to use layers from other users in their styles.|
The email address, if given, will likely be displayed on the host site in clear-text. You should probably leave it out if you are concerned about email-address collecting software and spam.