Sentence Frame or Message Template¶
A message template — instantiates Compositional Meaning Design
A fixed sentence frame with typed fill-in slots, so many specific messages can be generated from one skeleton and still come out grammatical and on-register.
A Sentence Frame or Message Template is a single fixed linguistic skeleton — a run of constant words with typed blanks — that yields a specific, well-formed message when its slots are filled. Its defining move works at the scale of one utterance: the frame fixes the surrounding words and the role of each slot ({actor}, {item}, {deadline}), so that "Your {item} ships on {date}" produces a grammatical, on-tone sentence for any legal filling. It is the micro-composition counterpart to a page template — it composes fixed text and variable fillers into a single line, tuned to a particular audience and channel; it does not order whole content blocks across a document. Its characteristic worry is agreement: a slot value that is individually fine ("0 items") can break the frame it drops into ("You have 0 items in your carts").
Example¶
A retailer's notification service must send order updates without writing each message by hand. It defines message templates: "Hi {first_name}, your order of {item_count} {item_noun} will arrive by {delivery_date}." The slots are typed — {first_name} is a string, {item_count} an integer, {item_noun} a noun that must agree with the count, {delivery_date} a formatted date. The frame guarantees the constant scaffolding is always grammatical and always in the brand's warm, second-person register. Filled for one customer, it yields "Hi Dana, your order of 1 item will arrive by Friday."
But the frame also exposes the classic composition bug: fill {item_count} with 1 and {item_noun} naively with "items" and you get "1 items" — each part valid, the composition ungrammatical. So the template carries a plural-selection rule on the noun slot, and it is tuned to context: the SMS variant is terser than the email variant, and the localized variants re-order the frame because other languages place the date differently.
How it works¶
- Constant text plus typed slots — each slot has a role and an allowed value type.
- A fill operation — substitutes values into slots to produce one message.
- Agreement rules on interacting slots (number, gender, case) so filler and frame stay grammatical together.
- Register and context tuning — variants of the frame for channel, audience, and locale.
What distinguishes it is that it composes fixed words and fillers into a single grammatical utterance for a named audience — not a sequence of page modules, and not a compound symbol.
Tuning parameters¶
- Slot count — many slots (flexible, more agreement hazards) vs. few (safe, rigid copy).
- Filler constraint — tightly typed slots (safe, restrictive) vs. free-text (expressive, breakage-prone).
- Register lock — how firmly the fixed text pins tone; tighter is more consistent but allows less situational nuance.
- Localization strategy — one frame translated vs. per-locale frames that re-order; the latter is faithful but multiplies upkeep.
- Agreement handling — ignore it (fast, "1 items" bugs) vs. full plural and gender selection (correct, more rules).
When it helps, and when it misleads¶
Its strength is leverage: one frame generates thousands of specific, consistent, on-brand messages, and the fixed scaffolding means the constant parts are always grammatical and on-register. Its failure mode is the interaction bug — pluralization, gender or case agreement, and empty or overflowing slots ("Dear ,") — where an individually valid filler breaks the composed sentence; and over-rigid frames that produce stilted, obviously-templated copy. The classic misuse is concatenating fragments as if language were interchangeable bricks, ignoring agreement, so localized or edge-case fillings read as broken. The standard tooling answer is ICU MessageFormat, whose plural and select constructs choose the right wording from a slot's value precisely so the filler and the frame agree.[n1] The discipline that keeps a frame safe is to type the slots, encode plural and gender selection rather than naive substitution, and read the frame filled with edge-case values (zero, one, very long, empty) as an informal check before it ships.
How it implements the components¶
The Sentence Frame or Message Template realizes the single-utterance composition side of the archetype — the parts of a sentence, their arrangement, and the audience it is built for:
meaning_component— the fixed frame words and each typed slot are the meaning-bearing parts, each with a defined role in the utterance.combination_rule— the frame is the combination rule: how constant text and slot values arrange into one well-formed message, including the agreement constraints between them.interpretation_context— each frame is tuned to a channel, audience, and locale, because the same message must read differently across them.
Its nearest twin is Modular Documentation Template, and the separation is scale: this template fills the blanks in one sentence, while it does not maintain a catalog of whole content modules, the allowed order of those modules on a page, or the worked example pages that model page-level assembly — those are component_catalog, sequence_or_precedence_rule, and worked_example_set, which that mechanism fills.
Related¶
- Instantiates: Compositional Meaning Design — this is the archetype's single-utterance composition artifact.
- Sibling mechanisms: Composable Icon System · Design System Component Rules · Legal Clause Composition Review · Modular Documentation Template · Grammar Rule Set · Interpretation Walkthrough
Editorial Notes¶
Form Classification¶
Form family: Representation, Specification & Plan
Rationale: Sentence Frame Or Message Template operates by externalizes constant text, typed slots, permitted values, and agreement constraints for message generation. That concrete deployed or enacted form is Representation, Specification & Plan under the frozen taxonomy.
Nearest alternative: Interface, Display & Cue — Although Interface, Display & Cue can support this mechanism, the frozen evidence makes its operative form the act that externalizes constant text, typed slots, permitted values, and agreement constraints for message generation; the alternative is therefore secondary rather than defining.
Review outcome: Adjudicated after independent review; high confidence.
Origin Attribution¶
Primary origin: Linguistics & Semiotics
Origin pattern: Cross-disciplinary synthesis
Present-day reach: Universal
Rationale: A grammatical skeleton with typed slots is a constructional and syntactic template for generating well-formed utterances.
Related originating lineages:
- Computer Science & Software Engineering — Parameterized templates operationalize repeated message generation in software.
- Education & Pedagogy — Sentence frames scaffold novice production while preserving room for specific content.
- Rhetoric — Audience, register, and persuasive function determine how the reusable frame is worded.
Review resolution: The blind reviewers agree that linguistics_semiotics is the primary origin and differ only on alternate origin disagreement, origin mode disagreement, domain reach disagreement. I preserve every independently explained alternate from both records rather than imposing a numeric cap. I retain cross_disciplinary_synthesis because the combined record shows material contributions from several lineages. The broader reach of universal records portability separately from historical provenance, and encyclopedia_synthesis=true preserves the affirmative synthesis judgment where either reviewer identified one.
Encyclopedia synthesis: The exact catalogued form synthesizes established practice rather than reproducing a single standard historical label.
Review outcome: Reconciled after independent review; high confidence.
Notes¶
A frame guarantees the constant text is grammatical, but it can never guarantee the filled result is true or appropriate. "Your refund of {amount} has been processed" is a flawless template that says something false the moment the refund fails and the slot is filled anyway. The frame governs form, not fact — which is why a well-formed message template still needs its inputs checked upstream, not just its blanks filled.
[n1] ICU MessageFormat is a message-templating syntax (from the International Components for Unicode project) whose plural, select, and selectordinal forms let a template choose wording based on a slot's value — "1 item" vs. "5 items" — so the filler and the frame agree. It is the standard tooling answer to the composition bug where a valid value breaks a valid frame. ↩