TempLight

Format Guide

Everything you need to use the TempLight format: placeholders, type hints, escaping rules, and complete examples.

  1. Core Format
  2. Placeholder Types
  3. Escaping Brackets
  4. Full Examples

Basic Placeholder

[ name ]

Defines a placeholder labeled "name." Labels are meant to be replaced with user input. Spaces inside the brackets are optional — [name] and [ name ] are equivalent.

Back to top

Placeholder Types

You can guide how each placeholder behaves by adding a type hint after a colon: [ field:type ]. The following types are supported:

text (default)

[ name ]

This is the default when no type is specified. Intended for short, single-line input like names, titles, or brief responses.

date

[ birthdate:date ]

Used for date-specific input. Tools that support this type can render a calendar picker or appropriate date interface.

select

[ size:select(Small, Medium, Large) ]

Defines a dropdown or multiple-choice input with predefined options. Commas separate the choices. At least one option is required — if none are provided, the field should be treated as a text input.

Use quotation marks for options that contain spaces or punctuation:

[ flavor:select("Vanilla Bean", "Dark Chocolate", "Mint Chip") ]

longtext

[ notes:longtext ]

Used for extended, multi-line responses such as explanations, comments, or detailed input. Especially useful in forms or writing tools that anticipate paragraph-style content.

Back to top

Escaping Brackets

[[ static content ]]

Double brackets [[ ... ]] are reserved for non-fillable, literal bracketed text. Any content inside double brackets will render as [ static content ] in the output — the brackets are preserved, but the content is not treated as a placeholder.

Back to top

Full Examples

Letter template

Dear [ name ],

Your appointment is scheduled on [ date:date ] at [ time ].

Please arrive 10 minutes early.

Thanks,

[ sender ]

This can be used in email or messaging templates, faculty communication, AI prompt scaffolds, form letters, or syllabus generation tools.

Meeting notes template

[[ Meeting Notes ]]

Date: [ today:date ]

Attendees: [ attendees ]

Status: [ status:select(Draft, Final, Action Needed) ]

Notes: [ notes:longtext ]

Back to top

Ready to try it? Open the TempLight Tool and paste a template.