Skip to content

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:

Hello World Template

Output:

Hello World 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:

Invoice Template

Output:

Invoice 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:

Conditionals Template

Output:

Conditionals 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

  1. Download the template file (.docx)
  2. Download the sample JSON data (.json)
  3. Process the template using:
  4. GUI Application: Open Templify GUI, select the template and JSON file
  5. CLI Tool: Run templify process template.docx --data data.json --output output.docx

Modify for Your Needs

Each example template can be customized:

  1. Open the template in Microsoft Word
  2. Modify the placeholders, add new sections, change formatting
  3. Update the JSON data to match your changes
  4. 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:

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.