Examples Gallery¶
Explore real-world Templify templates with visual examples. Each example includes the template image, sample JSON data, and the resulting output.
Available Examples¶
1. Hello World¶
Description: A simple introduction template demonstrating basic placeholder replacement.
Features: - Simple placeholders - Text replacement
Template:

Output:

Download: (Coming soon) - template.docx - The Word template file - data.json - Sample JSON data
2. Invoice Generator¶
Description: A professional invoice template with line items, calculations, and customer information.
Features: - Nested properties (Customer.Name, Customer.Address) - Table row loops for line items - Number formatting - Conditional sections
Template:

Output:

Download: (Coming soon) - template.docx - The Word template file - data.json - Sample JSON data with multiple line items
3. Conditional Content¶
Description: Demonstrates conditional sections that show/hide based on data values.
Features: - If/else conditionals - Boolean flags - Status-based messaging - Multiple conditional sections
Template:

Output:

Download: (Coming soon) - template.docx - The Word template file - data.json - Sample JSON data with various status values
More Examples Coming Soon!¶
We're working on adding more examples covering:
- Nested Loops - Departments with employees
- Report Card - Student grades with loops and conditionals
- Certificate - Formal document with formatting
- Meeting Notes - Attendees list with roles
- Product Catalog - Categories with product listings
- Contract Template - Terms and conditions with optional clauses
Using These Examples¶
Try Them Yourself¶
- Download the template file (.docx)
- Download the sample JSON data (.json)
- Process the template using:
- GUI Application: Open Templify GUI, select the template and JSON file
- CLI Tool: Run
templify process template.docx --data data.json --output output.docx
Modify for Your Needs¶
Each example template can be customized:
- Open the template in Microsoft Word
- Modify the placeholders, add new sections, change formatting
- Update the JSON data to match your changes
- Process and see your customized output!
Tips for Learning¶
Start Simple¶
Begin with the Hello World example to understand basic placeholders, then move to more complex examples.
Study the JSON Structure¶
Look at how the JSON data is structured and how it maps to the template placeholders. This will help you understand the dot notation (Customer.Name) and arrays.
Experiment¶
- Change values in the JSON to see how the output changes
- Add new placeholders to the template
- Try removing conditional sections
- Add more items to loops
Check the Output¶
Always compare the template to the output to see exactly what Templify does. This helps you understand: - Where data gets inserted - How loops repeat content - When conditionals show/hide sections
Need Help?¶
If you have questions about these examples:
- Getting Started Guide - Basic template creation tutorial
- Template Syntax Reference - Complete syntax guide
- Best Practices - Tips for creating good templates
- FAQ - Common questions and answers
Contribute Your Examples¶
Do you have a great template example? We'd love to include it! Check out our Contributing Guide to learn how to submit your examples.
Examples are automatically generated using the Templify DocumentGenerator tool to ensure they stay up-to-date with the latest features.