> [!column|flex no-title]
>> [!menu-dark-red|ttl-c] [[Obsidian TTRPG Tutorials]] / [[Plugin Tutorials]] / [[Obsidian TTRPG Tutorials/Plugin Tutorials/Text Generator/Text Generator|Text Generator]] / [[Obsidian TTRPG Tutorials/Plugin Tutorials/Text Generator/Convert Spell|Convert Spell]]
> [!column|4 no-title]
>> [!menu-green-1|ttl-c] [[Getting Started]]
>
>> [!menu-green-2|ttl-c] [[Plugin Tutorials]]
>
>> [!menu-green-3|ttl-c] [[Community Supported Games]]
>
>> [!menu-green-4|ttl-c] [[Obsidian TTRPG Tutorials/Templates/Templates\|Templates]]
> [!column|3 no-title]
>> [!patreon|ttl-c] [Patreon](https://www.patreon.com/JPlunkett) ([Starter Vault](https://www.patreon.com/posts/obsidian-patreon-96801399))
>
>> [!discord|ttl-c] [Obsidian TTRPG Community Discord](https://discord.gg/CdM9UCJdwU)
>
>> [!discord|ttl-c] [Obsidian Official Discord](https://discord.gg/obsidianmd)
<br>
> [!tip]- Example Output
> **Input**
> Simply copy a spell block into your note.
> You may get different results based on your base data.
> ![[Pasted image 20250212223443.png]]
> **Output**
> Trigger this template and it produces the following.
![[Pasted image 20250212223351.png]]
````yaml
---
PromptInfo:
promptId: ConvertSpell
name: 🧙♂️ Convert Spell 🪄
description: Convert spell to CLI format.
author: JoshP
tags: fantasy, ttrpg
version: 0.0.1
---
content:
{{context}}
prompt:
rewrite the content to put it in the following template format. Respect the formatting of the original context.
---
obsidianUIMode: preview
cssclasses: json5e-spell
tags:
- ttrpg-cli/compendium/src/homebrew
- ttrpg-cli/spell/level/1
- ttrpg-cli/spell/school/evocation
aliases: ["Fire Shuriken"]
---
# Fire Shuriken
_1st-level, Evocation_
- **Casting time:** 1 action
- **Range:** 120 feet
- **Components:** V, S
- **Duration:** Instantaneous
You create a shuriken of magical fire that hits a creature of your choice that you can see within range. This shuriken deals 1d6 points of fire damage to its target.
The target gains the burning condition.
**At Higher Levels.** When you cast this spell using a spell slot of 2nd level or higher, the spell creates one more shuriken for each slot level above 1st.
_Source: Homebrew_
````