# Text Formatting

## Wooble Text

*Wooble Text* is the internal name for a variety of special text formatting effects that produce different wobbling effects on the text output. Wooble Text works in [Text Boxes ](/etg-modding-guide/text-text-boxes-etc/textboxes.md#types-of-text-box)and [Panels](/etg-modding-guide/text-text-boxes-etc/textboxes.md#panels).

<table><thead><tr><th width="136">Formatting</th><th width="397">Explanation</th><th align="center">Example</th></tr></thead><tbody><tr><td><mark style="color:red;">{w}</mark></td><td>Ends a wooble text segment, IE: <mark style="color:red;">{wj}Lorem ipsum{w}</mark>. Has no effect on its own.</td><td align="center"><img src="/files/IF1iVwtK1EkgD9QXdMT9" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">{ws}</mark></td><td>Starts a wooble text segment wherein all text raises and lowers simultaneously. Example: <mark style="color:red;">{ws}Lorem ipsum{w}</mark>.</td><td align="center"><img src="/files/vbMTDgwsjhjFqWPosBte" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">{wq}</mark></td><td>Starts a wooble text segment wherein all text raises and lowers in a smooth wave pattern. Example: <mark style="color:red;">{wq}Lorem ipsum{w}</mark>.</td><td align="center"><img src="/files/DdI42vBqNQRLaEJ9qry7" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">{wr}</mark></td><td>Starts a wooble text segment wherein each letter raises and lowers at its own rate. Example: <mark style="color:red;">{wr}Lorem ipsum{w}</mark>.</td><td align="center"><img src="/files/TREK7ATHFTnqDi1qhD0w" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">{wj}</mark></td><td>Starts a wooble text segment wherein each letter jitters irregularly. Example: <mark style="color:red;">{wj}Lorem ipsum{w}</mark>.</td><td align="center"><img src="/files/ZTCi1fTbtbEgsM20Bq3z" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">{wb}</mark></td><td>Starts a wooble text segment wherein all text raises and lowers in a smooth wave pattern. In addition, text within this wooble segment will flash rainbow colours. Example: <mark style="color:red;">{wb}Lorem ipsum{w}</mark>.</td><td align="center"><img src="/files/hsBe2ROryHffbsFMCGGT" alt="" data-size="original"></td></tr></tbody></table>

<figure><img src="/files/gzOWJaoAGrLlXDkq7QD0" alt=""><figcaption></figcaption></figure>

### Notes

* <mark style="color:red;">{wb}</mark> Wooble Text is bugged, and requires the player to visit the Breach at least once before the rainbow colours will apply. This means that if the player quick-starts a run from the intro cutscene, any <mark style="color:red;">{wb}</mark> wooble text will look identical to <mark style="color:red;">{wq}</mark> wooble text.

## Token Inserts

Token inserts are little sprites that can be inserted into text as part of the string. Different types of currency, pickups, and especially controller buttons are handled here. Token inserts can be used in [Text Boxes ](/etg-modding-guide/text-text-boxes-etc/textboxes.md#types-of-text-box)and [Panels](/etg-modding-guide/text-text-boxes-etc/textboxes.md#panels).

The <mark style="color:purple;">\\</mark> character is used to prevent <mark style="color:red;">"</mark> characters from ending the string prematurely when used in code.

### General Tokens

<table data-full-width="true"><thead><tr><th width="323">Formatting</th><th width="319"></th><th></th></tr></thead><tbody><tr><td><mark style="color:red;">[sprite</mark> <mark style="color:purple;">\"ui_coin\"]</mark></td><td>Inserts the UI sprite for currency. IE: <mark style="color:red;">&#x3C;Pay 100[sprite</mark> <mark style="color:purple;">\"ui_coin\"]></mark></td><td><img src="/files/SZsiKClkQpwdJ4sMKzb8" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">[sprite</mark> <mark style="color:purple;">\"hbux_text_icon\"]</mark></td><td>Inserts the UI sprite for Hegemony Credits. IE: <mark style="color:red;">&#x3C;Pay 100[sprite</mark> <mark style="color:purple;">\"hbux_text_icon\"]></mark></td><td><img src="/files/sifQW9w45dFlRQubDkjP" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">[sprite</mark> <mark style="color:purple;">\"heart_big_idle_001\"]</mark></td><td>Inserts the UI sprite for a full heart. IE: <mark style="color:red;">Pray &#x3C;Lose 1 [sprite</mark> <mark style="color:purple;">\"heart_big_idle_001\"] Container></mark></td><td><img src="/files/ECMI3JZfaKo4pmyogngR" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">[sprite</mark> <mark style="color:purple;">\"ui_key\"]</mark></td><td>Inserts the UI sprite for a key. IE: <mark style="color:red;">Use a Key &#x3C;Lose 1 [sprite</mark> <mark style="color:purple;">\"ui_key\"]></mark></td><td><img src="/files/ER5WXAVesjmgsaUsdxtb" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">[sprite</mark> <mark style="color:purple;">\"ui_blank\"]</mark></td><td>Inserts the UI sprite for a blank. IE: <mark style="color:red;">Use a Blank &#x3C;Lose 1 [sprite</mark> <mark style="color:purple;">\"ui_blank\"]></mark></td><td><img src="/files/DirZJbPCuxzza00XAvWC" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">[sprite</mark> <mark style="color:purple;">\"armor_money_icon_001\"]</mark></td><td>Inserts a unique armour sprite. IE: <mark style="color:red;">Pray &#x3C;Lose 2 [sprite</mark> <mark style="color:purple;">\"armor_money_icon_001\"]></mark></td><td><img src="/files/h02pEKkUXX0AeAVLBFAv" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">[sprite</mark> <mark style="color:purple;">\"poopsack_001\"]</mark></td><td>Inserts the sprite for Junk. IE: <mark style="color:red;">Offer Junk &#x3C;Lose [sprite</mark> <mark style="color:purple;">\"poopsack_001\"]></mark></td><td><img src="/files/1ojRq7b9WVjA13Wnt0av" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">[sprite</mark> <mark style="color:purple;">\"forged_bullet_primer_001\"]</mark></td><td>Inserts the sprite for the Prime Primer. IE: <mark style="color:red;">I need the [sprite</mark> <mark style="color:purple;">\"forged_bullet_primer_001\"]...</mark> </td><td><img src="/files/mPfwirh2Cy3NBiT1BbEe" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">[sprite</mark> <mark style="color:purple;">\"forged_bullet_powder_001\"]</mark></td><td>Inserts the sprite for the Arcane Gunpowder. IE: <mark style="color:red;">I need the</mark> [sprite "forged_bullet_primer_001"]<mark style="color:red;">...</mark> </td><td><img src="/files/bgo3VmaDgXHHdKVU3TSQ" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">[sprite</mark> <mark style="color:purple;">\"forged_bullet_slug_001\"]</mark></td><td>Inserts the sprite for the Planar Lead. IE: <mark style="color:red;">I need the [sprite</mark> <mark style="color:purple;">\"forged_bullet_slug_001\"]...</mark> </td><td><img src="/files/TCMGcGqeepLfxqatmZtZ" alt="" data-size="original"></td></tr><tr><td><mark style="color:red;">[sprite</mark> <mark style="color:purple;">\"forged_bullet_case_001\"]</mark></td><td>Inserts the sprite for the Obsidian Shell Casing. IE: <mark style="color:red;">I need the [sprite</mark> <mark style="color:purple;">\"forged_bullet_case_001\"]...</mark> </td><td><img src="/files/57pYdVJ06pRzpQNWEr1d" alt="" data-size="original"></td></tr></tbody></table>

### Controller Buttons

A wide variety of unique sprites representing Controller Buttons for various systems can also be accessed via the Token Insert system.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mtgmodders.gitbook.io/etg-modding-guide/text-text-boxes-etc/text-formatting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
