> For the complete documentation index, see [llms.txt](https://docs.dreamerland.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dreamerland.ai/faq/wildcards.md).

# Wildcards

Wildcard allows you to use the \_\_**name\_\_** syntax in your prompt to get a random line from the wildcards directory you define. We will go through this with an example below:

First, open the prompt window, and you will see a Wildcard option.

<figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FsUDHifLoYZmHbsSsAMX9%2FIMG_0225.jpg?alt=media&amp;token=4b2c3c9a-47c2-4721-bfce-c3135cae40e9" alt="" width="375"><figcaption><p>Wildcard option</p></figcaption></figure>

Click + to add a new wildcard, or click [✏️](https://emojipedia.org/pencil) to edit the existing one

<figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FtThSXHPzQWXBWGC2QeXj%2FScreenshot_20240702_013320~2.jpg?alt=media&amp;token=71f2a3ed-56f5-448c-8158-14f743827a97" alt="" width="375"><figcaption></figcaption></figure>

You can define your wildcard now. Enter the name of your wildcard and the prompt for this wildcard. Click "Save" when you finish editing.

<figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FpjWFYaQlvrUbBEzwE6UD%2FScreenshot_2024-07-01-19-47-30-172_art.png?alt=media&amp;token=314ae398-341c-49d5-944d-97864df920a5" alt="" width="375"><figcaption><p>edit wildcard</p></figcaption></figure>

You can use the wildcard you defined in your prompt now. Click the wildcard name, and the **name** syntax will be automatically inserted into your prompt.

<figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2FZ5lhoggxbAJXKtpIZI4L%2FIMG_0226.jpg?alt=media&amp;token=45c4708f-35ae-4295-92b1-3e97a7f29eea" alt="" width="375"><figcaption><p>prompt</p></figcaption></figure>

Hit the start drawing button to see the result.

<figure><img src="https://2310956826-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftbrc6W2n35oVxftMovDQ%2Fuploads%2Fo6cLg9PWe9A2KlhRiOBR%2FScreenshot_20240702_012558~2.jpg?alt=media&amp;token=fc80a481-fabc-4c27-a612-c7d7a95501d4" alt="" width="375"><figcaption><p>Final result</p></figcaption></figure>

The \_\_**name\_\_** syntax is replaced by the contents of the wildcard file you defined. This forms a complete prompt for you.
