misc: doc updates for exposed variables

This commit is contained in:
Brendan Hagan
2022-07-14 17:38:23 -04:00
parent 52a918be39
commit d1d63fb21f
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ Features:
* Center align the loaded image by default in the Image Slice Window.
* Add Buttons to Align the loaded image in the Image Slice Window. (haganbmj/#18)
* Add filter box to Game and Stylesheet selection. (haganbmj/#1)
* Add `extra_data("field name")` script function for accessing Extra Card Fields. (haganbmj/#2)
* Expose `extra_card` and `extra_card_style` script for accessing Extra Card Fields/Styles. (haganbmj/#20)
* Add Clear button to console panel. (haganbmj/#4)
* Store images internally with PNG extension for ease of manual tinkering. (haganbmj/#5)
* Add ability to change scale (relative to template) of internally stored images. (haganbmj/#6, haganbmj/#15)
+3 -1
View File
@@ -9,7 +9,9 @@ Aside from the [[fun:index|built in functions]] the following variables are prov
The current stylesheet
| @card@ [[type:card]] not in @init script@s or when exporting
The current card.
| @card_style@ [[type:indexmap]] of [[type:style]]s where @card@ is available Style properties for the current card, the same as @stylesheet.card_style@.
| @card_style@ [[type:indexmap]] of [[type:style]]s where @card@ is available Style properties for the current card, the same as @stylesheet.card_style@.
| @extra_card@ [[type:indexmap]] of [[type:value]]s field values for the current card as defined by the stylesheet.
| @extra_card_style@ [[type:indexmap]] of [[type:style]] where @card@ is available Style properties for the current card as added by the stylesheet.
| @styling@ [[type:indexmap]] of [[type:value]]s where @card@ is available Styling options for the stylesheet/card.
| @value@ [[type:value]] when evaluating a [[type:field]]'s @script@ or @default@ script Current value in the field.
| @options@ [[type:indexmap]] of [[type:value]]s when exporting Options of the [[type:export template]].