Page tree

 

Renders the metadata of userscripts.

Tags
Identifier
userscripts4c-activation-record-macro
Since
1.0.0

The macro retrieves the metadata of the referenced userscript and renders it.

It is useful to access and render this information for the administration team inside the script repository.

Parameters

The macro is configured by the following parameters.

# Name Short Description Data Type Since
1
The namespace of a script makes the name of a userscript unique.
1.0
2
The name of a userscript is unique within its namespace.
1.0
3
The semantic version of the userscript.
1.0
4
CSS class for the generated element.
1.0

Namespace

The namespace of a script makes the name of a userscript unique.

Data Type
Since
1.0

The namespace parameter encodes the namespace of a userscript in the context of the HTTP protocol. It is part of the userscript identifier to uniquely address a userscript instance.

Name

The name of a userscript is unique within its namespace.

Data Type
Since
1.0

The name the name of a userscript in the context of the HTTP protocol. It is part of the userscript identifier to uniquely address a userscript instance.

A HTTP name parameter should not contain dots ('.'). Per convention name parts are separated by dashes ('-').

Version

The semantic version of the userscript.

Data Type
Since
1.0

The version parameter encodes the version of a userscript to configure the macro. It is part of the userscript identifier to uniquely address a userscript instance.

CSS

CSS class for the generated element.

Data Type
Since
1.0

The CSS parameter allows to specify classes for Cascading Stylesheets to be added to the generated HTML element.

Multiple class names are separated by spaces.

Related Macros

NameSinceShort Description
Activation Record Macro
1.0.0
Renders the activation record of userscripts.