Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blocks:api:query-parameters [2023-09-20 21:05]
admin Added display query param
blocks:api:query-parameters [2025-01-28 07:50] (current)
admin [Spot Parameters]
Line 27: Line 27:
   * **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** defines the initial value of Spot Parameter Xxxx to be the value supplied.+  * **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=====
Line 66: Line 66:
  
 :!: **IMPORTANT**: This parameter prevents the user from //accidentally// leaving the designated group or creating blocks in other groups. Just like the sandbox parameter, this is not a security feature. By deliberately modifying the URL in the browser, a user can still access other groups. :!: **IMPORTANT**: This parameter prevents the user from //accidentally// leaving the designated group or creating blocks in other groups. Just like the sandbox parameter, this is not a security feature. By deliberately modifying the URL in the browser, a user can still access other groups.
 +
 +====class====
 +
 +Applies a CSS class to the speditor's #main element, where the value is the CSS class name. This can then be used to style editors differently, hide elements, etc, using CSS. More about CSS styling [[blocks:custom_styling|here]].