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
blocks:api:query-parameters [2025-01-27 10:27] – [Spot Parameters] adminblocks:api:query-parameters [2025-12-17 12:39] (current) – Added transparent admin
Line 23: Line 23:
   * **mobile** specifies that this is a Visitor spot, with the value being the Spot path to a Visitor spot in Blocks. If this is at the top level, it's just the name of the Visitor spot. If the Visitor spot is in a group, indicate the full path including enclosing group names, with each level separated by a period.   * **mobile** specifies that this is a Visitor spot, with the value being the Spot path to a Visitor spot in Blocks. If this is at the top level, it's just the name of the Visitor spot. If the Visitor spot is in a group, indicate the full path including enclosing group names, with each level separated by a period.
   * **class** applies a CSS class to the spot, where the value is the CSS class name. This can then be used to style some display spots differently. More about CSS styling [[blocks:custom_styling|here]].   * **class** applies a CSS class to the spot, where the value is the CSS class name. This can then be used to style some display spots differently. More about CSS styling [[blocks:custom_styling|here]].
 +  * **transparent** avoids enforcing a black background at the base level of the web page, leaving the base transparent.
   * **tags** applies specified tags; value is comma-separated list of tags.   * **tags** applies specified tags; value is comma-separated list of tags.
   * **spot** tells any active Locator to locate the spot specified by the value, which can be a Spot's Location ID, name or full path (with each level separated by a period).   * **spot** tells any active Locator to locate the spot specified by the value, which can be a Spot's Location ID, name or full path (with each level separated by a period).
   * **spot-id** applies a user-defined Spot ID instead of the server-generated number or player MAC address or Serial number. Avoid using a simple number as the ID, as that may collide with Blocks' internal IDs. You can use an arbitrary text as ID.   * **spot-id** applies a user-defined Spot ID instead of the server-generated number or player MAC address or Serial number. Avoid using a simple number as the ID, as that may collide with Blocks' internal IDs. You can use an arbitrary text as ID.
   * **display** adds a user-defined suffix to the spot's ID, letting you run multiple spots using the same browser without having the IDs conflict. Mainly for use from desktop/laptop computers when setting up multiple, concurrent display spots.   * **display** adds a user-defined suffix to the spot's ID, letting you run multiple spots using the same browser without having the IDs conflict. Mainly for use from desktop/laptop computers when setting up multiple, concurrent display spots.
-  * **param-Xxxx** sets Spot Parameter Xxxx to the value specified. Note that the Spot Parameter must exist on the Spot for this to work (e.g., by being defined in the Spot Settings).+  * **param-Xxxx** sets Spot Parameter Xxxx to the value specified. Note that the parameter must be declared for the block shown by this Spot for this to work (i.e., using the "Edit Parameters" command while editing the block).
  
 =====Editor Parameters===== =====Editor Parameters=====