TEXT VARIABLES

The text variables system allows you to bake a line of formatted text or any text in general into a simple variable that you can input when editing a card, and then have it automatically re-format when displayed on cards. To access the variables panel, hover your mouse in the top-right, and select “Variables”.

When creating a new variable, perhaps you prefer some structure, for example {faction_undead} as the variable, or a less structured variable like simply factionundead. For the formatting field, you can input something like:

  • <b>UNDEAD </b><size=130%<voffset=0.3em><sprite=”custom_img2”></voffset></size>

Now, when you simply input {faction_undead} when editing a text element, it will format to UNDEAD with the 5th icon in the text icon picker embedded in the text that is slightly larger than normal, and slightly offset vertically. To learn more about text formatting like <size=150%>, see Text Formatting.

Built in variables

These variables appear at the top of the variables window and are hardcoded for special behaviour, so they cannot be edited. If a user-made variable collides with any of the built-in ones, the user-made variable will take priority, and the built-in one will be ignored.

  • {name} formats to the name of the card

  • {project} Formats to the name of the project

  • {deck} Formats to the card’s deck

  • {decknum} Formats to the card’s position in the deck (e.g., 4 for the 4th card)

Previous
Previous

TEXT FORMATTING

Next
Next

CSV